From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
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 81OUJzFiFmCELgAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Jan 2021 07:54:25 +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 oBjoIjFiFmDzQQAA1q6Kng
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Jan 2021 07:54:25 +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 10AFB940548
	for <larch@yhetil.org>; Sun, 31 Jan 2021 07:54:25 +0000 (UTC)
Received: from localhost ([::1]:52054 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1l67Yt-00070m-HP
	for larch@yhetil.org; Sun, 31 Jan 2021 02:54:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39470)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <theophilusx@gmail.com>)
 id 1l67YX-00070P-JI
 for emacs-orgmode@gnu.org; Sun, 31 Jan 2021 02:54:01 -0500
Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:44676)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <theophilusx@gmail.com>)
 id 1l67YV-000190-Um
 for emacs-orgmode@gnu.org; Sun, 31 Jan 2021 02:54:01 -0500
Received: by mail-pl1-x62a.google.com with SMTP id j11so5610973plt.11
 for <emacs-orgmode@gnu.org>; Sat, 30 Jan 2021 23:53:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:subject:date:in-reply-to:message-id
 :mime-version; bh=q23yIQJdlsIe/DNiD9sj3t8PIXSx5HrgxHGdSs06+2c=;
 b=H5llf+obeFKPQvILPoFok3Ay0My59qNpMsEGY9aoEGfnvMDCzSPwuhibvknaBuW7aa
 AwU2YYWiLZhHb2VvHYUScpwl/zbbgdIJM/9zus8bMBJF3CPw+oIfsqzIJfb3z9HkwEvB
 IJ1lvqX+pwvCmzfxps5Fv2/xfIu+LJj2sP4EcPr7ffrwYlPYUPH8U3PIUFButwe5ff+z
 j5vAaPqvrndwyxdB/wgXyblg0B3SHNYjsMTRTc+leVau5Scsz08FKdaU4oFGT4c07WCK
 Tj766EXhJOVcoLvpsKzZZMfJK8pr5l5DRizsxT2L1n0BDAAICuGxhuWUNFKu6eZMKqCc
 cotQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:subject:date
 :in-reply-to:message-id:mime-version;
 bh=q23yIQJdlsIe/DNiD9sj3t8PIXSx5HrgxHGdSs06+2c=;
 b=KC82+36wRBfwsGqo9xdizfz4gVsufuvT0QyqG9RSgEek+HXEWnY+5Y0uGehclV1t35
 VhOg7JEoQUyhkiUNKBb0hnInSVcFS4Gyr0OrxXwR8p/t8QNqm5mu+g0csxE9/xdxyW/D
 BIUB7tIjb6ANXbh+zlwU0znIsnRMEe8a61h0Y1adrXsuzqg800DVXvJ90Y1ZyZ5ghEif
 w6CTVyTY3ffcRjUejqsbJUZUuVr6xAcKx0IVz1XefsI3yhrUabGI3X2Y9ZKXk/AmCdry
 pH/gmJg03YegvOGFVHy8gcCV5UYWuYycIKT5l/LIeWgCR01veKZNIapr9Swgy3AlIWYf
 ygmw==
X-Gm-Message-State: AOAM530smzhhVJxyRYkFLSMPxmO7yBajO+C448+SGfFqcGM3fd1STghH
 k4WQUNjDKEo1KJWJNVdXU1vYjFrusK4aUQ==
X-Google-Smtp-Source: ABdhPJzYxeLYdX8K7jiqUhyMKQHFzHgIb8cxmDRTHcndMaPd4QZX2Eh2Gr80xSarF8Q6mu0PuKgA7A==
X-Received: by 2002:a17:90a:4897:: with SMTP id
 b23mr12178838pjh.193.1612079638084; 
 Sat, 30 Jan 2021 23:53:58 -0800 (PST)
Received: from tim-desktop (106-69-90-18.dyn.iinet.net.au. [106.69.90.18])
 by smtp.gmail.com with ESMTPSA id i9sm13793010pfo.146.2021.01.30.23.53.56
 for <emacs-orgmode@gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 30 Jan 2021 23:53:57 -0800 (PST)
References: <CAFbX=UpDN9XtTr3osTC6B=V0trvatayw5WF0gMjGWAWfQQkAXg@mail.gmail.com>
 <f395c79a-c3e3-52c7-3fbb-608e94868e8e@gmail.com>
 <87y2gfcape.fsf_-_@gnus.org>
 <c108ef5b-a504-4ade-a863-cd2ac82f3ad8@gmail.com> <87a6st7oi1.fsf@gnus.org>
 <108399a5-66ad-eee6-572b-b3f2181e4e6c@gmail.com> <87lfccxs5a.fsf@gnus.org>
 <CAFbX=Ur__E+2gBq41pgdM_tUxktRXr3QJfDQFfwtp4jgLjvX6Q@mail.gmail.com>
 <875z3f2bwx.fsf@gnus.org> <838s8aak8j.fsf@gnu.org>
 <87r1m1vamn.fsf@gnus.org>
User-agent: mu4e 1.5.8; emacs 27.1.91
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: bug#44824: 27.1; Org export as pdf and open file does not open it
Date: Sun, 31 Jan 2021 18:39:40 +1100
In-reply-to: <87r1m1vamn.fsf@gnus.org>
Message-ID: <87wnvtr17x.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::62a;
 envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62a.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -3.05
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=H5llf+ob;
	dmarc=pass (policy=none) header.from=gmail.com;
	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-Migadu-Queue-Id: 10AFB940548
X-Spam-Score: -3.05
X-Migadu-Scanner: scn0.migadu.com
X-TUID: wMuv+OevAuD9


Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> This doesn't work:
>>> M-x shell RET xdg-open /tmp/test.pdf RET
>>
>> How about asking the xdg-open developers to help us figure out the
>> reason?  Or, failing that, debug xdg-open in the problematic
>> situations to find out what fails there and why?  E.g., could it be
>> that it fails because stdin/stdout is a PTY? what happens if you bind
>> process-connection-type to nil when starting the async subprocess?
>
> I'm unable to reproduce the problem at all -- all the various ways of
> calling xdg-open work fine for me (on this Debian bullseye laptop w/
> Gnome Shell).

For me, I get

M-! xdg-open /tmp/test.pdf works
M-x shell <ret> xdg-open /tmp/test.pdf works
M-& xdg-open /tmp/test.pdf fails
M-x eshell <ret> xdg-open /tmp/test.pdf fails

The two which fail do not report any error - just now pdf viewer open.

I also have no problems with org export menu when I choose export to pdf
and open.

This was on a Ubuntu 20.10, latest Emacs 27 (27.5.91), mate DE and
default shell zsh.

--
Tim Cross