Linux: Firefox-bin and Thunderbird-bin in KDE

Mozilla Thunderbird and Firefox could be compiled from source on specific linux distros. Speaking of Gentoo, the frequent updates combined with more than 2GBs of build space made me switch to the precompiled binary versions. Unfortunately, this step has broken the automatic opening of links in Firefox and mailto references in Thunderbird. This is how to make it work…

Basically, the are procedures described in pages. However, they do not work at all. The following may help to make it work. Try each solution and see what may be helpful in your case.

Solution #1

Firefox and Thunderbird executable binaries pretend to be located in /usr/bin directory. However, they are located in the /opt/firefox and /opt/thunderbird directories.

Even updated based on the above described, neither of the following has any effect.

gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string '/opt/firefox/firefox'
gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string '/opt/firefox/firefox'
gconftool-2 --set /desktop/gnome/url-handlers/ftp/command -t string '/opt/firefox/firefox'
gconftool-2 --set /desktop/gnome/url-handlers/mailto/command -t string '/opt/thunderbird/thunderbird'

Solution #2


Edit -> Preferences -> Attachments -> Incoming
and set

http: /opt/firefox/firefox
https: /opt/firefox/firefox


Edit -> Preferences -> Applications
and set

mailto: /opt/thunderbird/thunderbird

The described workaround has not been tested in the GNOME environment. Maybe one day, once GNOME3 becomes stable and stops crying “Oops. Something went wrong.” several times a day, I will test it in there. This reminds me of the birth pangs of KDE4 several years ago, lol.

Solution #3

This is a solution, which worked in XFCE4 when trying to switch back to the manually compiled version of Firefox (non-bin version).

Edit the ~/.local/share/applications/mimeapps.list file to see, which apps are curently matched with the specific MIME types. Try to find Firefox keyword in it:

grep Firefox ~/.local/share/applications/mimeapps.list

If the result looks similar as above, try to replace the userapp-Firefox-0FAYSW string with Firefox only. Voila, it works immediately šŸ™‚

This entry was posted in Browser, Linux and tagged , , , , , . Bookmark the permalink.