Indexof

Lite v2.0Ubuntu › Fix Thunderbird Not Opening Links in Ubuntu: A Complete Guide › Last update: About

Fix Thunderbird Not Opening Links in Ubuntu: A Complete Guide

Restoring Hyperlink Functionality in Thunderbird for Ubuntu

Mozilla Thunderbird users on Ubuntu occasionally encounter a frustrating hurdle: clicking a link within an email does absolutely nothing. This disconnection between the email client and the web browser usually stems from a breakdown in the Desktop Environment's Mime-Type associations or an internal configuration conflict within Thunderbird’s preference editor. Since Ubuntu utilizes various desktop environments (GNOME, KDE, XFCE) and packaging formats (Snap, Deb, Flatpak), the fix requires a systematic check of both application-level settings and system-level defaults to ensure the URL handler is correctly identified.

Table of Content

Purpose

The primary purpose of this tutorial is to re-establish the communication bridge between Thunderbird and the Ubuntu default web browser (typically Firefox or Chrome). In the Linux ecosystem, applications rely on a "handler" to manage specific protocols like http:// and https://. When this handler is missing or misconfigured within the mimeTypes.rdf or handlers.json files in your Thunderbird profile, the application ignores click events on links to prevent security errors or simply because it doesn't know where to "send" the data.

Use Case

You should follow this guide if:

  • Browser Update: You recently changed your default browser (e.g., switched from Firefox to Brave).
  • Snap vs. Deb Conflicts: You are using the Snap version of Thunderbird, which operates in a "sandbox" and may lose access to the system's browser path.
  • OS Upgrade: After upgrading Ubuntu versions, the global xdg-open settings have been reset.
  • Dead Clicks: Links are underlined and blue, but clicking them generates no activity in the background.

Step-by-Step

1. Check Ubuntu Default Applications

Before diving into Thunderbird's internal settings, ensure Ubuntu knows which browser to use.

  • Open Settings from the activities overview.
  • Navigate to Default Applications.
  • Verify that "Web" is set to your preferred browser.
  • Run the command xdg-settings get default-web-browser in the terminal to verify the system-level config.

2. Reset Thunderbird Content Type Actions

Thunderbird maintains its own list of how to handle different file and link types.

  1. Open Thunderbird and go to Settings (the gear icon).
  2. In the General tab, scroll down to the Files & Attachments section.
  3. Look for https and http in the Content Type column.
  4. If they are set to "Always ask" or an incorrect application, change the Action to "Use [Your Browser] (default)".

3. Modify the Config Editor (network.protocol-handler)

If the standard settings fail, you must manually force Thunderbird to use the system's external handler.

  • Scroll to the bottom of Thunderbird Settings and click Config Editor....
  • Search for network.protocol-handler.expose-all.
  • Ensure this is set to true.
  • Search for network.protocol-handler.warn-external.http and network.protocol-handler.warn-external.https.
  • Set both to true. This forces Thunderbird to ask you which app to use the next time you click a link, allowing you to pick the correct browser path.

4. Addressing Snap Sandbox Issues

If you installed Thunderbird via Snap, it might lack the permission to talk to other apps.

  • Open a terminal and run: snap connections thunderbird.
  • Look for the system-files or personal-files interface.
  • If links still don't work, try installing the xdg-desktop-portal: sudo apt install xdg-desktop-portal-gnome (for GNOME users).

Best Results

Method Effectiveness Recommendation
Default Apps Reset High Perform first; solves 80% of Ubuntu link issues.
Handlers.json Delete Very High Delete this file in your profile folder to reset all actions.
Terminal Symlink Moderate Use only if using custom browser installations (/opt).

FAQ

Why do links work in Firefox but not Thunderbird?

Thunderbird is a standalone application with its own internal registry. Just because Firefox is the system browser doesn't mean Thunderbird's internal handlers.json has updated its path to that browser's executable.

What if the link is a 'mailto:' link?

This is handled by a different protocol. Ensure that mailto is set to Thunderbird in the Ubuntu "Default Applications" settings, or it may attempt to open a web-mail interface in your browser instead.

Will re-installing Thunderbird fix this?

Usually, no. The issue resides in the User Profile settings (located in ~/.thunderbird). Re-installing the app keeps the profile intact, so the misconfiguration remains. Resetting the handlers is a better approach.

Disclaimer

Modifying the Config Editor (Advanced Preferences) can affect application stability if unrelated settings are changed. Ensure you back up your Thunderbird profile folder before deleting system files like handlers.json. This guide is tailored for Ubuntu 22.04 LTS and later versions as of March 2026.

Tags: Thunderbird, UbuntuFix, LinuxDesktop, EmailTroubleshooting

Profile: Troubleshoot and fix issues where Mozilla Thunderbird fails to open hyperlinks in your default browser on Ubuntu. Learn configuration and system-level fixes. - Indexof

About

Troubleshoot and fix issues where Mozilla Thunderbird fails to open hyperlinks in your default browser on Ubuntu. Learn configuration and system-level fixes. #ubuntu #fixthunderbirdnotopeninglinksinubuntu


Edited by: Jose Uy, Nam Fong & Alisa Makinen

Close [x]
Loading special offers...

Suggestion