This manifests in google-chrome, which thinks it is not the default browser. floppym@naomi ~ % xdg-mime default google-chrome.desktop text/html floppym@naomi ~ % xdg-mime query default text/html I would expect to see "google-chrome.desktop" as the result; instead I get no results.
It looks like defapp_kde() calls ktraderclient5 and pipes the output through a series of commands: > trader_result=`$KTRADER $MIMETYPE "$MIME" $SERVICETYPE Application 2>/dev/null \ > | grep DesktopEntryPath | head -n 1 | cut -d ':' -f 2 | cut -d \' -f 2` These commands seem to be designed to deal with the complex output produced by ktraderclient4. ktraderclient5 has much simpler output: > floppym@naomi ~ % /usr/bin/ktraderclient5 --mimetype text/html --servicetype Application > mimetype is : text/html > servicetype is : Application > got 8 offers. > /usr/share/applications/google-chrome.desktop > /usr/share/applications/google-chrome-unstable.desktop > /usr/share/applications/google-chrome-beta.desktop > /usr/share/applications/chromium-browser-chromium.desktop > /usr/share/applications/firefox.desktop > /usr/share/applications/pgadmin3.desktop > /usr/share/applications/org.kde.kwrite.desktop > /usr/share/applications/gvim.desktop
I am experiencing the exactly behaviour same with Opera.
Thanks. This should be fixed in -r1 now. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b38d66963fc2bc0f0a2c278621d38d275b0082