This repository has been archived by the owner on May 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
macOS compatibility interoperability
Mike Hardy edited this page Dec 9, 2018
·
2 revisions
If you use macOS+Mail.app at the same time you use Thunderbird on Linux, this page will describe how to get them to work. It is notoriously difficult to register new protocol handlers in macOS, and we don't have good solutions for that so the strategy we will use to interoperate is to rely on macOS/Mail.app default behavior, then configure our non-macOS systems to respond correctly to macOS/Mail.app links.
- macOS by default will open the correct message in Mail.app if you generate a link in the format:
message://%3cCAOHnz+nZFtb85YCW-CGNOLXUQzrfNWKZ-xnNr2s3RsSSKkCQXA@mail.gmail.com%3e
- Note the
message://%3c ..... %3e
style - the....
is where the actual message id goes - This format is "Thunderlink default 4" in thunderlink versions >= 1.2.3
- Note the
If you generate a clickable link in that style you can paste it in somewhere:
-
<A HREF="message://%3cCAOHnz+nZFtb85YCW-CGNOLXUQzrfNWKZ-xnNr2s3RsSSKkCQXA@mail.gmail.com%3e">my subject here</A>
- This format is "Thunderlink default 6" in thunderlink versions >= 1.2.3
- Install a shell script that translates the message link to a thunderlink and opens thunderbird
- You may download this script to ~/bin directly if you like (
mkdir ~/bin
if needed,chmod 755 ~/bin/open-message-uri.sh
after download)
- You may download this script to ~/bin directly if you like (
- Create a MIME handler desktop entry for the Ubuntu desktop environment, that calls the script
- You may download this script directly to ~/.local/share/applications/thunderbird-message-tl.desktop
- Register the desktop entry in the list of MIME handlers
- Create the local MIME handler list first just in case:
touch ~/.local/share/applications/mimeapps.list
- Add the entry:
echo x-scheme-handler/message=thunderbird-message-tl.desktop >> ~/.local/share/applications/mimeapps.list
- Create the local MIME handler list first just in case: