Since updating to x11-misc/xdg-utils-1.1.2, whenever i click on a link in some applications, 'links' is started instead of 'chromium'. I've narrowed the problem to xdg-open <weburl> I've had lot of problems few years ago, and i had to patch /usr/bin/xdg-open:search_desktop_file() this way : if [ -x "$command_exec" ] ; then if echo "$arguments" | grep -iq '%[fFuU]' ; then echo START "$command_exec" "$arguments_exec" - eval "$command_exec" "$arguments_exec" + eval "'$command_exec'" "'$arguments_exec'" else echo START "$command_exec" "$arguments_exec" "$arg" - eval "$command_exec" "$arguments_exec" "$arg" + eval "'$command_exec'" "'$arguments_exec'" "'$arg'" fi Then (can't say which version), the problem went away. And today it's back. My new fix (confirmed to work) is still to patch at the end of /usr/bin/xdg-open:search_desktop_file() : - "$command_exec" "$@" - "'$command_exec'" "$@" I'm using lxqt and not kde/gnome, and i kinda remember that was the origin of the problem.
Please report this to upstream and post the link here to let us track the issue: https://bugs.freedesktop.org/enter_bug.cgi?product=Portland&component=xdg-utils
Is this still valid in 1.1.3?
It works with 1.1.3. I guess that's probably xdg-open now explicitely handles lxqt. I can't see any link with the commit you've cited, though