Default Browser when Opening Email Links

Ubuntu Support Template

Ubuntu Version:
24.04

Desktop Environment (if applicable):
Mate

Problem Description:
When I click on a http(s) link in a thunderbird (using 140.8.0ers) mail my system default browser launches (firefox 148.0). However, a basic non customised version of firefox opens - not the customised version I normally use. I had two profiles listed in about:profiles in firefox and have deleted one of them - the only profile listed is now default-release which is my ‘normal’ browser. Is it possible for Thunderbird to open my ‘normal’ customerised version of firefox?

I can imagine that happening only if you have two different installations of Firefox, perhaps one of them is a SNAP or Flatpak.

Please check before any further troubleshooting.

1 Like

I have used all three but at the moment I’m only only snap. There is no .mozilla under /home/user/ (for deb) and nothing in ~/.var relating to mozilla (flatpak). What is interesting is that when I click on a link in a thunderbird mail (and a default firefox is launched) a .mozilla folder is created under /home/user/ that was not there before I clicked on the mail link. Out of interest, I then copied my customised firefox profile files/folders from the snap instance into the new /home/user/.mozilla firefox profile to see what happened when I clicked on a thunderbird mail link. When I do this I get the following window pop up.

All you should have to do is go into System>Preferences>Personal>Preferred Applications> and then you’ll be presented with this:

Under internet you should set Firefox (.deb snap or flatpak depending on which have installed,you may have all) as the preferred browser in the Web Browser category. It should be just as simple as that.

My Preferred Applications windows had no entry for any of the three items and the down arrow was greyed out (very odd!). My solution to both the greyed out down arrow and the opening of my customised firefox, rather than a new instance, was to issue the command:

update-desktop-database ~/.local/share/applications/

This topic was automatically closed after 30 days. New replies are no longer allowed.