From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Tue, 17 Sep 2013 18:11:14 -0400 Message-ID: References: <81237114-C902-40D8-95F9-70AA2055C4D3@gmail.com> <20130902094701.GI2828@kuru.dyndns-at-home.com> <1B84ED41-BCE5-46AE-BBFB-92D656CD373E__38750.8492371582$1378116581$gmane$org@gmail.com> <8738pnw4e5.fsf_-_@Rainer.invalid> <4E229EE1-5DE1-48B5-B5C4-DCFB41A1686B@gmail.com> <06D4DDE1-E3D1-470E-A887-66B78BD58302@gmail.com> <87ob7rri02.fsf@nowhere.org> <20130917135651.GC8200@kuru.dyndns-at-home.com> <87fvt3nntc.fsf@nowhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM3UK-0006Q7-Gp for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 18:11:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM3UJ-0001rL-9O for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 18:11:16 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:58812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM3UJ-0001rF-1E for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 18:11:15 -0400 Received: by mail-ea0-f174.google.com with SMTP id z15so3061171ead.33 for ; Tue, 17 Sep 2013 15:11:14 -0700 (PDT) In-Reply-To: <87fvt3nntc.fsf@nowhere.org> 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: Glyn Millington Cc: Org Mode On Tue, Sep 17, 2013 at 5:25 PM, Glyn Millington wrote: > Carsten Dominik writes: > >> On 17.9.2013, at 15:56, Suvayu Ali >> wrote: >> >>> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: >>>> Carsten Dominik writes: >>>> >>>>> On 17.9.2013, at 08:01, Matt Price wrote: >>>>> >>>>>> On Tue, Sep 17, 2013 at 12:42 AM, Matt Price >>>>>> wrote: >>>>>>> On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz >>>>>>> wrote: >>>>>>>> Or you could leave it in and see who complains. The instances >>>>>>>> where xdg-open doesn't work or is not correctly configured will >>>>>>>> probably be in multi-user / corporate environments where it is >>>>>>>> unlikely that the newest Org or Emacs is installed anyway. >>>>>>> Hi, >>>>>>> >>>>>>> I'm running today's org with a recent emacs-snapshot in a >>>>>>> single-user linux environment (ubuntu 13.04). >>>>>>> >>>>>>> xdg-open xxx.html works fine when run from the command line, but >>>>>>> from inside org-mode it seems to fail to run In particular, >>>>>>> html, odt and pdf documents no longer seem to open from the >>>>>>> export menu, even though the log in *Messages* reports that the >>>>>>> relevant command ("xdg-open-my-org-file.html") has been run. >>>>> Is there anyone else who has tried the xgd-open way to follow >>>>> links with Org? >>>>> >>>> Yes, I have the same symptoms as Matt. >>>> >>>> GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.2) >>>> Org-mode 8.1.1 (the latest ELPA package fails in the same way) >>>> >>>> xdg-open works on the command line but not through the org-export >>>> menu - pdfs and html files don't open automatically. There are no >>>> error messages. >>> I see the same problem. But I think this might be an Emacs issue; >>> I can't open a pdf from dired either (with & on a pdf file). >>> However I can open it if I execute a shell command: M-! xdg-open >>> file.pdf RET. >> >> Do I need to conclude that, for the time being, xdg-open has to be >> removed from the default value of org-file-apps? > > That did the trick - pdf files now open as before, as do html exports. Glyn, can you just tell me what you set org-file-apps to? I wasn't able to find a value that worked. Thank you! Matt