Hello,
Firefox is my default browser. Geany is installed.
Several apps offer to open a URL, for example, to check for updates.
Instead of opening Firefox and navigating to the page, Geany open instead and displays the html content. If I save the geany content to a file such as web.html and the double-click that file, Firefox opens and displays the correct page.
I have tried removing text/html for the mime-type list in geany.desktop but that has no effect.
Can someone please explain why this is happening and how to fix it?
I’m in plasma so I guess that I dont have gnome settings. In plasma system settings/default applications I have:
Web Browser - Firefox
File manager - Dolphin
Email client - Thunderbird
Terminal emulator - Konsole
I’m wondering if this is a bug because if I double-click on an html file it launches Firefox. The apps that are attempting to invoke a browser seem to be using a memory stream or some other mechanism to pipe some html directly to another app and, for some reason, Fedora is interpreting that stream as being text to edit so it opens geany.
My supposition is probably wrong because I really don’t know much about the inner workings of Fedora, but if it was merely invoking Firefox with a URL on the command line, I wouldn’t be getting what appears to be an entire html file - and - if it was launching a browser with a command line it wouldn’t be launching an editor instead.
The notification about your reply only showed the GNOME Settings line and not the command that followed.
When I was in the System settings GUI I noticed there was another category called File Associations. Under html, it had Geany at the top of the list. I deleted Geany from the list and now everything works as expected.