Discussion:
xdg-open question
Felix Natter
2017-05-03 10:04:52 UTC
Permalink
hello,

I am having trouble using xdg-open to open a directory (browser).

$ xdg-open file:/home/felix/
does not work in a fresh (gnome-)terminal, but works fine
when used two or three times.

$ xdg-open /home/felix/
always works

Sometimes the issue is not reproducible at all.

I get the same flakyness when starting xdg-open from a java program
(Freeplane).

I am using GNOME3, and I see the same issue with gvfs-open (which
xdg-open seems to call). Shall I report a bug against gvfs or debug
further?

Many Thanks and Best Regards,
--
Felix Natter
Christophe Fergeau
2017-05-03 14:09:55 UTC
Permalink
Post by Felix Natter
hello,
I am having trouble using xdg-open to open a directory (browser).
$ xdg-open file:/home/felix/
does not work in a fresh (gnome-)terminal, but works fine
when used two or three times.
$ xdg-open /home/felix/
always works
Sometimes the issue is not reproducible at all.
I get the same flakyness when starting xdg-open from a java program
(Freeplane).
I am using GNOME3, and I see the same issue with gvfs-open (which
xdg-open seems to call). Shall I report a bug against gvfs or debug
further?
This looks like https://bugzilla.gnome.org/show_bug.cgi?id=746534 which
was supposedly fixed in gvfs-open, but reappeared in gio open.

Christophe
Felix Natter
2017-05-05 15:57:18 UTC
Permalink
Post by Christophe Fergeau
Post by Felix Natter
hello,
I am having trouble using xdg-open to open a directory (browser).
$ xdg-open file:/home/felix/
does not work in a fresh (gnome-)terminal, but works fine
when used two or three times.
$ xdg-open /home/felix/
always works
Sometimes the issue is not reproducible at all.
I get the same flakyness when starting xdg-open from a java program
(Freeplane).
I am using GNOME3, and I see the same issue with gvfs-open (which
xdg-open seems to call). Shall I report a bug against gvfs or debug
further?
This looks like https://bugzilla.gnome.org/show_bug.cgi?id=746534 which
was supposedly fixed in gvfs-open, but reappeared in gio open.
Thanks!

Best Regards,
--
Felix Natter
Loading...