Problem

When using Thunderbird i can click on a Link in an email which opens in the wrong Webbrowser. How can i make sure the Link opens into my desired webrowser instead?

Solution

Unfortunately there is not the one and only solution for this. It depends on how old your desktop profile is, how old your thunderbird profile is and how many window framworks you have used in the past. So the best thing is to try any of the following solutions in the given order.

Thunderbird Settings

  1. Open yor thunderbird mail client and choose from the menu (Edit -> Preferences -> Attachments)

  2. Choose the Incoming Tab.

  3. If there is some content click on the Action Field for the HTTP and HTTPS Content Type and choose your desired browser.

    • ThunderSettings.png

mimeTypes.rdf

The mimeTypes.rdf file contains information which are used to open external content. Existing entries can be adjusted (see above) but unfortunately, there is no way to add new file-type associations in the preferences window.

To add an entry for a scheme that does not appear in the list (e.g. "http" or "https"), use the following process:

  1. Open the configuration editor (about:config) which can be accessed through Edit -> Preferences -> Advanced -> Config Editor....

  2. Click on I'll be careful, I promise!.

  3. In the search pane enter network.protocol-handler.warn-external

  4. Change network.protocol-handler.warn-external.<protocol> to true for each of the protocols that you wish to configure by double-clicking on the preference. (e.g. change network.protocol-handler.warn-external.http to true to configure the program for http URLs).

  5. Click on a URL in an email in Thunderbird. Thunderbird will prompt for the application to use to open the link. Select the desired program and check the option to remember the selection.

XDG MIME action

The default browser is chosen based on the information in the XDG MIME database, as specified in the XDG MIME actions spec. Thunderbird looks up the program associated with the URL pseudo-MIME type (e.g. x-scheme-handler/http for HTTP URLs) or the attachment MIME type (e.g. text/html). The XDG MIME database can be queried and modified using the xdg-mime command-line tool as follows:

If xdg-mime is not available, the defaults can be changed by editing ~/.local/share/applications/mimeapps.list as described in the XDG MIME actions spec and using information from /usr/share/applications/mimeinfo.cache for reference. For example, the default program for HTTP URLs can be set as follows:

[Default Applications]
x-scheme-handler/http=firefox-esr.desktop


CategoryTBD

FAQ/ThunderbirdOpensGNOMEBrowser (last edited 2020-09-15 20:07:03 by gfreudig)