diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in index 74cadfa..f9165ea 100644 --- a/scripts/xdg-mime.in +++ b/scripts/xdg-mime.in @@ -380,7 +380,7 @@ defapp_generic() fi done - for x in `echo "$xdg_system_dirs" | sed 's/:/ /g'`; do + for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do for prefix in "$XDG_MENU_PREFIX" ""; do 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 | head -n 1 | cut -d '=' -f 2 | cut -d ';' -f 1`