emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: prad <prad@towardsfreedom.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: setting default pdf viewer
Date: Sun, 11 Mar 2012 20:50:11 -0400	[thread overview]
Message-ID: <20989.1331513411@alphaville> (raw)
In-Reply-To: Message from prad <prad@towardsfreedom.com> of "Sun, 11 Mar 2012 00:01:55 -0800." <87399fmuq4.fsf@psinom.home>

prad <prad@towardsfreedom.com> 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

  parent reply	other threads:[~2012-03-12  0:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11  8:01 setting default pdf viewer prad
2012-03-11  8:17 ` Puneeth Chaganti
2012-03-11 17:15   ` prad
2012-03-11 22:25     ` brian powell
2012-03-12  0:50 ` Nick Dokos [this message]
2012-03-12  1:58   ` prad
2012-03-12  2:50     ` Nick Dokos
2012-03-12  5:06       ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2012-03-13 14:16 Nick Dokos
2012-03-13 15:42 ` Eric Abrahamsen
2012-03-13 15:47   ` Nick Dokos
2012-03-13 21:32 ` Achim Gratz
2012-03-15  2:33 ` François Pinard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20989.1331513411@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=prad@towardsfreedom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).