You are not logged in.
Hi,
I runned into a small issue and struggle how to solve it.
My DE is cinnamon and I've installed Firefox and Chromium. The default browser is set to Firefox.
If I pull a URL out of Firefox on my desktop and double click that file, then it opens the link in Chromium.
The contents looks like:
[Desktop Entry]
Encoding=UTF-8
Name=Link to Arch Linux
Type=Link
URL=https://www.archlinux.org/
Icon=text-htmlAll of these commands return "firefox.desktop":
xdg-settings get default-web-browser
xdg-settings get default-url-scheme-handler http
xdg-settings get default-url-scheme-handler https
xdg-mime query default x-scheme-handler/http
xdg-mime query default x-scheme-handler/httpsIf I open the URL with "xdg-open" or click on a link in the terminal, then Firefox is invoked as it should be.
How is it determined which program is used to call the URL out of a .desktop-file? I have no clue. ;-)
Thanks in advance.
Offline
I have no knowledge of how cinnamon does things but normally in ~/.config/mimetypes,list. Can be edited to define default applications, may have to restart session to take effect, good luck.
p.s. adding exec=Firefox. URL to .desktop file may also suffice.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
I think I've found it now.
"text/html" was set to "wine-extension-htm.desktop" in "~/.local/share/applications/mimeinfo.cache". (strace was my friend)
I still don't know how this resolves to Chromium, but with your hint in mind I have set "text/html" to "firefox.desktop" in the "~/.config/mimeapps.list" and removed the mimeinfo.cache file.
Now it works as expected. :-)
Thank you.
Offline