It's fixed in the upstream, but xdg-utils package wasn't updated for
whole 3 years now (looking at the version). Here's the relevant
commit:

commit 050333e34e2fe7430ad2ead37e5a0420ac0c2a3e
Author: Rex Dieter <rdie...@fedoraproject.org>
Date:   Mon Oct 8 10:26:46 2012 -0500

    * xdg-mime does not search mimeinfo.cache (BR31629)

<...skip...>

diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in
index 2de4657..7669a3b 100644
--- a/scripts/xdg-mime.in
+++ b/scripts/xdg-mime.in
@@ -378,8 +378,8 @@ defapp_generic()

     for x in `echo "$xdg_system_dirs" | sed 's/:/ /g'`; do
        for prefix in "$XDG_MENU_PREFIX" ""; do
-          DEBUG 2 "Checking $x/applications/${prefix}defaults.list"
-          trader_result=`grep "$MIME="
$x/applications/${prefix}defaults.list 2> /dev/null | cut -d '=' -f 2
| cut -d ';' -f 1`
+          DEBUG 2 "Checking $x/applications/${prefix}defaults.list
and $x/applications/${prefix}mimeinfo.cache"
+          trader_result=`grep "$MIME="
$x/applications/${prefix}defaults.list
$x/applications/${prefix}mimeinfo.cache 2> /dev/null | cut -d '=' -f 2
| cut -d ';' -f 1`
           if [ -n "$trader_result" ] ; then
               echo $trader_result
               exit_success

This package needs updating because Google Chrome and Chromium use
xdg-open to open the relevant application for a file or URL scheme and
without this user can't use steam:, magnet: or bitcoin: URLs.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to