From: Matt Lundin <mdl@imapmail.org>
To: Shawn Koons <srkoons@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: change default pdf reader for link
Date: Thu, 17 Dec 2009 07:09:22 -0500 [thread overview]
Message-ID: <m21vitdcp9.fsf@fastmail.fm> (raw)
In-Reply-To: <823b38420912170315t16e831ebpd9d7b8c54655dca4@mail.gmail.com> (Shawn Koons's message of "Thu, 17 Dec 2009 04:15:13 -0700")
Shawn Koons <srkoons@gmail.com> 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
prev parent reply other threads:[~2009-12-17 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 11:15 change default pdf reader for link Shawn Koons
2009-12-17 12:09 ` Matt Lundin [this message]
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=m21vitdcp9.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=srkoons@gmail.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).