On 10/26/2013 11:26 AM, Oleh wrote:
> The variable to set is `org-file-apps'.
> Here's what I have currently:
>
> (setq org-file-apps '((auto-mode . emacs)
>                     ("\\.x?html?\\'" . "firefox %s")
>                     ("\\.pdf\\'" . "evince \"%s\"")
>                       ("\\.pdf::\\([0-9]+\\)\\'" . "evince \"%s\" -p %1")
>                       ("\\.pdf.xoj" . "xournal %s")))
>
> Just change evince to your favorite viewer.
> And make sure that you're calling `org-return' to open (it's bound to C-m).
>
> Oleh
>

This is exactly what I need and it has the added benefit of showing me
how to open XOJ files in Xournal via an external link in an Org
file. Many thanks.

Scott

> On Sat, Oct 26, 2013 at 5:14 PM, Scott Randby <sran...@gmail.com> wrote:
>> If I have a file:./paper.pdf link in an Org document, the PDF opens
>> using GV when I click on the link. I like GV, but it doesn't support
>> links. How do I change the PDF viewer for file:./paper.pdf external
>> links?
>>
>> Scott Randby
>>
>

Reply via email to