From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Wed, 18 Sep 2013 08:51:02 +0200 Message-ID: <20130918065102.GG16911@kuru.dyndns-at-home.com> References: <06D4DDE1-E3D1-470E-A887-66B78BD58302@gmail.com> <87ob7rri02.fsf@nowhere.org> <20130917135651.GC8200@kuru.dyndns-at-home.com> <20130917194250.GA16911@kuru.dyndns-at-home.com> <20130917202134.GB16911@kuru.dyndns-at-home.com> <20130917212557.GC16911@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMBbW-0000Dc-GX for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 02:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMBbR-0003gJ-4M for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 02:51:14 -0400 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:60666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMBbQ-0003gC-S4 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 02:51:09 -0400 Received: by mail-ea0-f173.google.com with SMTP id g10so3214827eak.4 for ; Tue, 17 Sep 2013 23:51:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Matt Price Cc: Emacs Org mode , Glyn Millington , Carsten Dominik Hi, I think I have tracked down the issue. On Tue, Sep 17, 2013 at 06:10:02PM -0400, Matt Price wrote: > On Tue, Sep 17, 2013 at 5:25 PM, Suvayu Ali wrote: > > > > I would like to know if other desktop environments has the same issue: > > kde-open (KDE) and gvfs-open (Gnome, Mate, etc). So to test, just open > > a directory with pdf/odt/html files in dired and run either of them > > asynchronously with &. > > I'm running unity in Ubuntu 13.04, which still is sorta descended from > gnome. Neither xdg-open nor gnome-open seems to work (if I'm doing > this right in dired: navigate to a pdf/html file, type &, enter > xdg-open). > > I have the feeling the problem is in emacs, org-open-file, or their > interaction. It's definitely not in xdg-open/gnome-open themselves, > as they work fine from the command-line with M-! . Unfortunately this is a problem with most of the desktop specific *-open commands. Take a look at this post from emacs-devel (thanks to Glenn for pointing me to it): Essentially, running xdg-open asynchronously will not work for Desktop Environments that use gvfs-open (Gnome, Unity, Mate, etc). From the looks of it, exo-open (XFCE) also suffers from the same problem. That said, it would be nice if Glyn could try it on KDE for the sake of completeness. As per the emacs-devel post, kde-open should work. Conclusion: it would have been nice, but we can't use xdg-open. This feels somewhat like the texi2dvi issue. :-/ Cheers, -- Suvayu Open source is the future. It sets us free.