xdg-open has been deprecated in favor of gio in GNOME.
09:10:12 /home/.../src/comparator:timing
↳ hub browse
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.
09:10:16 /home/.../src/comparator:timing
↳ [3248:3312:0509/091016.632518:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
Created new window in existing browser session.
09:10:19 /home/.../src/comparator:timing
↳ pacman -Q hub
hub 2.2.9-1
09:10:23 /home/.../src/comparator:timing
↳ pacman -Q gnome-desktop
gnome-desktop 1:3.24.1-1
09:10:29 /home/.../src/comparator:timing
↳ uname -a
Linux moe 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux
That’s wrong! The message
This tool has been deprecated, use 'gio open' instead.
comes from gvfs-open. xdg-open is the standard wrapper around all the *open binaries and should be used everywhere because it is able to find the correct one.
The fact that xdg-open calls gvfs-open (which then shows the message) before gio open is a bug caused by that deprecation and is fixed in xdg-utils 1.1.2.
xdg-open is the standard. Even if gio is installed, it’s not necessarily the correct launcher for the currently running desktop environment. Please don’t switch away from xdg-open.
I'm totally happy to close this issue and abandon the pull request -- arch has fixed this bug and it no longer warns that the tool has been deprecated.
Sorry for the confusion!
thanks for contributing!
hmm, gfvs-open should be patched to say its name in that error message. “this tool” obviously causes trouble
Hey @flying-sheep, please excuse the newbie question, but how might I get xdg-utils-1.1.2 or later onto CentOS 7.6.1810? I'm only seeing xdg-utils-1.1.0-0.17.20120809git.el7.noarch.rpm right now: http://mirror.centos.org/centos/7/os/x86_64/Packages/
No idea, CentOS seems to only have the older version. You could file a bug: https://bugs.centos.org/
Most helpful comment
That’s wrong! The message
comes from
gvfs-open.xdg-openis the standard wrapper around all the*openbinaries and should be used everywhere because it is able to find the correct one.The fact that
xdg-opencallsgvfs-open(which then shows the message) beforegio openis a bug caused by that deprecation and is fixed in xdg-utils 1.1.2.xdg-openis the standard. Even if gio is installed, it’s not necessarily the correct launcher for the currently running desktop environment. Please don’t switch away fromxdg-open.