From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: setting default pdf viewer Date: Sun, 11 Mar 2012 20:50:11 -0400 Message-ID: <20989.1331513411@alphaville> References: <87399fmuq4.fsf@psinom.home> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6tT4-00031K-7W for emacs-orgmode@gnu.org; Sun, 11 Mar 2012 20:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6tT1-0005O7-Uk for emacs-orgmode@gnu.org; Sun, 11 Mar 2012 20:50:29 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:15897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6tT1-0005Mz-QD for emacs-orgmode@gnu.org; Sun, 11 Mar 2012 20:50:27 -0400 In-Reply-To: Message from prad of "Sun, 11 Mar 2012 00:01:55 -0800." <87399fmuq4.fsf@psinom.home> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: prad Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org prad wrote: > how do i set evince as the default. > > right now xpdf is, but if i remove it, following a link to a pdf file > produces nothing. > > i'm using gnome and evince is the default there (eg through nautilus), > so somehow it seems that orgmode has decided to make xpdf the default > instead. > But why is org using xpdf, if the system default is evince? What OS are you running? At least on unix/linux-y systems, you shouldn't have to customize org-file-apps: just check ~/.mailcap (and/or /etc/mailcap). IMO, changing mailcap has the advantage that *all* mailcap-enabled applications will do the right thing, whereas customizing org-file-apps just fixes org (I'm assuming of course that you always want evince, not sometimes one and sometimes the other.) Nick