After a recent update of my system xdg-open randomly does not open paths.
It always prints "This tool has been deprecated. See 'gio help open' for more info."
xdg-open on gnome3 tries the following tools in order:
gio open <path>
seems one or both of those aren't working properly for you?
I get this problem suddenly on Arch with GNOME 3.24.1 and xdg-utils 1.1.1-5.
You added commit https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=0d6eebb27c562e8644ccf616ebdbddf82d0d2dd8 last year to fix this but I guess the problem for us is that this fix is not in the latest xdg-utils 1.1.1 release from https://portland.freedesktop.org/download/
I.e. the latest release version of xdg-open does not use gio open.
Any plans to produce a new release?
I can confirm what Mark and Manuel have reported and would like to underscore the importance of this issue. I'm using GNOME 3.24.1-1 and it seems that the 1.1.1-5 release of xdg-utils is not compatible with the changes.
The following warning occurs when attempting to use xdg-open on GNOME 3.24:
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.
xdg-open fails to complete the action which breaks many applications, specifically that based on the Qt framework.
This Reddit post has more information if you're interested: https://redd.it/689ev7
As Mark mentioned, a new release would resolve this issue excellently.
1. If gvfs-open doesn't work, that's a gvfs-open bug (are there any bugs filed or documented on this yet?)
2. the xdg-utils "fix" is only really a workaround, to prefer gio instead, of course.
That said, I've historically never had any luck getting freedesktop.org admins to publish releases I make (but I'll try again), in the meantime, feel free to grab the latest (newly tagged 1.1.2) from
yay, I found it, plopped the new tarball in the usual download place now.
Thank you for an expedient resolution. The new release is already in the Arch testing repository. Keep up the good work!