Add mid: scheme handler to thunderbird.desktop

Bug #1960614 reported by Max
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Fix Released
Wishlist
Olivier Tilloy

Bug Description

Since thunderbird-91 version (actually even earlier, but only ESR releases are packaged in Ubuntu) it is possible to open particular messages from command line using Message-ID:

    thunderbird mid:<email address hidden>

See e.g. https://bugzilla.mozilla.org/264270

However to open links from other application "mid:" scheme should be advertised in the thunderbird.desktop file:

    MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/mid;

Please, adjust this field in the desktop file. To check that the change has effect the following command may be used:

    xdg-open mid:<email address hidden>

Notice that it is not upstream issue. Thunderbird developers left desktop integration up to maintainers of Linux distributions.

Long time ago it was possible to create such links to particular messages using thunderlink extension but migration from XUL to WebExtension add-ons broke it. Support of mid: scheme restores linking of mail messages from other applications.

There is a related issue: request to add message/rfc822 MIME type in lp:1861262

Revision history for this message
Max (m-gorodok) wrote :

Workaround: add to the ~/.config/mimeapps.list file

[Added Associations]
x-scheme-handler/mid=thunderbird.desktop;

[Default Applications]
x-scheme-handler/mid=thunderbird.desktop;

Max (m-gorodok)
tags: added: desktop-file focal jammy
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in thunderbird (Ubuntu):
status: New → Fix Committed
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunderbird - 1:91.6.1+build1-0ubuntu1

---------------
thunderbird (1:91.6.1+build1-0ubuntu1) jammy; urgency=medium

  * New upstream stable release (91.6.1build1)

 -- Olivier Tilloy <email address hidden> Mon, 14 Feb 2022 20:35:29 +0100

Changed in thunderbird (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Max (m-gorodok) wrote :

Thank you, Olivier. I am happy to see that it works out of the box in 20.04 focal LTS. The fix was released a month ago, but since I anyway had custom association configured in ~/.config/mimeapps.list, I forgot to check it earlier.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.