[Portland-bugs] [Bug 98562] cannot set default browser with xdg-settings
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 4 17:30:14 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98562
--- Comment #1 from Martin Schulze <spam.martin.schulze at gmx.de> ---
I am not sure if this should go here as well (please tell me whether I should
open another bug for that).
I am running KDE5 on Arch Linux and cannot xdg-settings set default-web-browser
either.
Running with XDG_UTILS_DEBUG_LEVEL=3 I obtained:
> $ xdg-settings set default-web-browser chromium-browser.desktop
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde: No kde runtime detected
> make_default_generic chromium-browser.desktop text/html
> Updating /home/username/.local/share/applications/mimeapps.list
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde: No kde runtime detected
> make_default_generic userapp-Firefox-65I9HY.desktop text/html
> Updating /home/username/.local/share/applications/mimeapps.list
I dug a bit deeper into this and noticed, that xdg-mime still has some parts
which are not aware of KDE 5. I attached a patch which does some superficial
fixes but it is not working although the output changed:
> $ xdg-settings set default-web-browser chromium.desktop
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde chromium.desktop text/html
> Updating /home/username/.local/share/applications//mimeapps.list
> kbuildsycoca5 running...
> Reusing existing ksycoca
> Recreating ksycoca file ("/home/username/.cache/ksycoca5_de_<redacted>", version 303)
> Still in the time dict (i.e. deleted files) ("apps")
> Menu "applications-kmenuedit.menu" not found.
> Saving
> make_default_generic chromium.desktop text/html
> Updating /home/username/.local/share/applications/mimeapps.list
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde userapp-Firefox-65I9HY.desktop text/html
> Updating /home/username/.local/share/applications//mimeapps.list
> kbuildsycoca5 running...
> Reusing existing ksycoca
> Recreating ksycoca file ("/home/username/.cache/ksycoca5_de_<redacted>", version 303)
> Still in the time dict (i.e. deleted files) ("apps")
> Menu "applications-kmenuedit.menu" not found.
> Saving
> make_default_generic userapp-Firefox-65I9HY.desktop text/html
> Updating /home/username/.local/share/applications/mimeapps.list
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20161104/3df9b57e/attachment.html>
More information about the Portland-bugs
mailing list