From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: pdf files with openwith only, and only this. Date: Thu, 04 Jul 2019 12:38:37 +0100 Message-ID: <87a7duxc5e.fsf@yandex.com> References: <87ef36xdxk.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59607) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj04h-0006Y5-1P for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:38:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj04d-0002lX-Sk for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:38:50 -0400 Received: from forward100o.mail.yandex.net ([2a02:6b8:0:1a2d::600]:49849) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hj04Z-0002im-I0 for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:38:45 -0400 In-Reply-To: (Joseph Vidal-Rosset's message of "Thu, 4 Jul 2019 13:23:42 +0200") 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" To: Joseph Vidal-Rosset Cc: "Liste-emacs-orgmode@gnu.org" >>>>> Joseph Vidal-Rosset writes: > Dear Colin (cc. John), Many thanks ! Unfortunately, I have always > the same result. Here is the message: > Viewing with pdf-view-mode pdf-info-encrypted-p: > pdf-info-epdfinfo-program is not executable > is org-ref the culprit? I cc. to John Kitchin. That is odd. I slightly modified my code for your situation of using evince. I actually use xpdf and (add-hook 'org-mode-hook '(lambda () (delete '("\\.pdf\\'" . default) org-file-apps) (add-to-list 'org-file-apps '("\\.pdf\\'" . "xpdf %s")))) works for me. I assumed just changing xpdf to evince would be sufficient. Something more subtle may be happening. Best wishes, Colin Baxter www.Colin-Baxter.com