xdg-open(gvfs-open) doesnot work from emacs

Bug #1712731 reported by RCV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs25 (Ubuntu)
New
Undecided
Unassigned

Bug Description

xdg-open(gvfs-open) doesnot work when I launch it within emacs. For example in eshell this command:
xdg-open ~/1.pdf
shows only evince icon for a second and doesnot open file 1.pdf.

However it works with
setsid xdg-open ~/1.pdf.

The same happens if i try to open file with start-process and xdg-open.

Emacs 25 on the other computer (scientific linux) doesnot have such problem.

RCV (reichcv)
Changed in emacs25 (Ubuntu):
status: New → Confirmed
description: updated
Changed in emacs25 (Ubuntu):
status: Confirmed → New
Revision history for this message
Glenn Morris (rgm+lp) wrote :

See eg https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25234#8

xdg-open can delegate to a variety of different helpers depending on your environment.
If the one it ends up calling returns immediately rather than waiting, Emacs thinks the associated process is done.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.