
Thunderbird (115.6.1, snap) opens all links in default browser without link in URL bar
I've been having weird MIME issues with the x-scheme-handler/https for a while on my computer. I mostly mitigated this with 2 shell scripts which point both gio open and xdg-open to x-www-browser, which correctly opens firefox with the link in the URL bar with most applications (the others do not). Sadly Thunderbird is pretty resilient and I have been unable to find what they use to open URLs in source.
I'm using Ubuntu 22.04.3 LTS with Firefox Developer Edition 122.0b9
Here are the snippets for my own MIME fixes
xdg-open:
- !/bin/bash
x-www-browser "$@"
gio:
- !/bin/bash
if [ "$1" == "open" ] && [[ "$2" =~ ^https:// ]]; then
x-www-browser "$2"
else
echo "$@" /usr/bin/gio "$@"
fi
thanks!
Chosen solution
The issue was in my firefox.desktop configuration in /usr/share/firefox.desktop. I didn't have the %U at the end of the Exec parameter. Adding this fixed the issue.
Read this answer in context 👍 0All Replies (2)
Thunderbird always calls the default browser set for your system.
Chosen Solution
The issue was in my firefox.desktop configuration in /usr/share/firefox.desktop. I didn't have the %U at the end of the Exec parameter. Adding this fixed the issue.