From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4N4KMcS7YF+wGAAA0tVLHw (envelope-from ) for ; Tue, 15 Sep 2020 13:04:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QNNXK8S7YF82HAAA1q6Kng (envelope-from ) for ; Tue, 15 Sep 2020 13:04:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40DE59400EF for ; Tue, 15 Sep 2020 13:04:04 +0000 (UTC) Received: from localhost ([::1]:42300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIAcr-0001yG-VU for larch@yhetil.org; Tue, 15 Sep 2020 09:04:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIAS3-0006be-20 for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 08:52:51 -0400 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:60612 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIAS1-0004iD-Co for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 08:52:50 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kIARy-0001gP-CG for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 14:52:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Colin Baxter Subject: Re: Bug: =C-c C-e l o= does not open the pdf anymore [9.3.7 (9.3.7-55-gba2405-elpa @ /home/fsantos/.emacs.d/elpa/org-20200907/)] Date: Tue, 15 Sep 2020 13:52:39 +0100 Message-ID: <87imcfgq20.fsf@yandex.com> References: <1353307994.1156413.1600060136105.JavaMail.zimbra@u-bordeaux.fr> <87imcgq1lt.fsf@yandex.com> <87wo0vlnx5.fsf@kyleam.com> <87k0wvcse3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:YWxMuukS5oBAlm8ZBJLdahharXQ= X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 01:12:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.41 X-TUID: 0w3cQY4ur/bC >>>>> Thomas Stenhaug writes: > I recently had the same problem, on Arch Linux with Emacs 27.1. If > you run xdg-open from an eshell, the problem should be the same. > It should also go away if you replace "xdg-open" with "setsid > xdg-open". > I ended up doing > (push '("\\.pdf\\'" . "evince %s") org-file-apps) > to solve it for my case. It would have been preferable to change > how the default app is being resolved from "xdg-open" to "setsid > xdg-open", but I haven't been able to. I firgot to add that I found it necessary to get rid of the default org-file-apps for pdf files, which I think is (was?) docview. So I use: #+begin_src elsp (add-hook 'org-mode-hook (lambda () (delete '("\\.pdf\\'" . default) org-file-apps) (add-to-list 'org-file-apps '("\\.pdf\\'" . "xpdf %s")))) #+end_src I don't like evince, sorry. Best wishes, Colin.