From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: change default pdf reader for link Date: Thu, 17 Dec 2009 07:09:22 -0500 Message-ID: References: <823b38420912170315t16e831ebpd9d7b8c54655dca4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLFAn-0008MU-6H for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 07:09:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLFAi-0008K5-Io for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 07:09:36 -0500 Received: from [199.232.76.173] (port=46146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLFAi-0008Jz-CO for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 07:09:32 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:43541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLFAi-0005Qv-1Z for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 07:09:32 -0500 In-Reply-To: <823b38420912170315t16e831ebpd9d7b8c54655dca4@mail.gmail.com> (Shawn Koons's message of "Thu, 17 Dec 2009 04:15:13 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shawn Koons Cc: emacs-orgmode@gnu.org Shawn Koons writes: > I am on a Ubuntu box. When I link to a pdf file on my computer, it > opens in Xpdf. I would like pdf files to open in Document Viewer. How > can I change the default viewer for pdf links from Xpdf to Document > Viewer? Org uses system defaults for following hyperlinks. Thus, you should be able to change the default by adding the following line to your ~/.mailcap file: application/pdf; /usr/bin/evince %s If you'd prefer not to tinker with system-wide settings, you can specify evince just for org links by customizing the variable org-file-apps. Simply type M-x customize-variable [RET] org-file-apps [RET] Best, Matt