Clicking link in Thunderbird doesn't open web page in Brave

This has been mentioned twice on this community by other people and no solutions were offered. Clicking a link in Thunderbird works well if Chrome or Firefox is my default browser, but not for Brave. Copying and pasting works.
No error messages.

Description of the issue:
How can this issue be reproduced?

1.Click link in Thunderbird.

Expected result:
Page opens in new tab in Brave
Brave Version( check About Brave):
Version 1.12.114 Chromium: 84.0.4147.135 (Official Build) (64-bit)
Additional Information:

OK, here’s how to do it. Run these in a terminal:
xdg-settings get default-web-browser
xdg-mime query default x-scheme-handler/http
xdg-mime query default x-scheme-handler/https
ls -l /etc/alternatives/x-www-browser
ls -l /etc/alternatives/gnome-www-browser
You should get Brave in all. For the last two I got Chromium for one and Firefox for the other. To fix that run these in a terminal:
sudo update-alternatives --config x-www-browser
sudo update-alternatives --config gnome-www-browser
I changed to Brave in manual mode.
Still, it did not work.
Then I did:
apt install apparmor-notify
I’m on Debian.
Then I opened /etc/apparmor.d/abstractions/ubuntu-browsers in a text editor and as sudo inserted this line second from the top to keep things alphabetical:
/usr/bin/brave-browswer Cx -> sanitized helper,
Note the trailing comma. Then saved and rebooted the machine. I don’t know if a reboot is needed. But that did the trick and everything worked.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.