From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: Setting the PDF viewer Date: Sat, 26 Oct 2013 11:57:29 -0400 Message-ID: <526BE669.3080009@gmail.com> References: <526BDC6D.3070209@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va6FA-0007WP-Gw for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:57:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va6F2-0006Ib-35 for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:57:40 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:63560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va6F1-0006IP-UG for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:57:32 -0400 Received: by mail-ie0-f181.google.com with SMTP id ar20so8248438iec.26 for ; Sat, 26 Oct 2013 08:57:31 -0700 (PDT) In-Reply-To: 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: Oleh Cc: org-mode mailing list 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 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 >> >