From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: Setting the PDF viewer Date: Sat, 26 Oct 2013 17:26:54 +0200 Message-ID: References: <526BDC6D.3070209@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va5lR-0002xX-8t for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va5lQ-0007aQ-Fy for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:26:57 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:38131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va5lQ-0007aM-9n for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 11:26:56 -0400 Received: by mail-wg0-f52.google.com with SMTP id k14so189930wgh.19 for ; Sat, 26 Oct 2013 08:26:55 -0700 (PDT) In-Reply-To: <526BDC6D.3070209@gmail.com> 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: Scott Randby Cc: org-mode mailing list 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 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 >