* change default pdf reader for link
@ 2009-12-17 11:15 Shawn Koons
2009-12-17 12:09 ` Matt Lundin
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Koons @ 2009-12-17 11:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 358 bytes --]
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?
I have read the Org-Mode manual and googled for an answer but the answer
remains elusive - that, or I cannot read very well.
Thank you.
Shawn
[-- Attachment #1.2: Type: text/html, Size: 386 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: change default pdf reader for link
2009-12-17 11:15 change default pdf reader for link Shawn Koons
@ 2009-12-17 12:09 ` Matt Lundin
0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2009-12-17 12:09 UTC (permalink / raw)
To: Shawn Koons; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-17 12:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 11:15 change default pdf reader for link Shawn Koons
2009-12-17 12:09 ` Matt Lundin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.