Hello Matijs,

Am 17.05.2018 um 15:42 schrieb Matijs van Zuijlen:
> Thunderbird keeps setting itself as default browser, causing local html files
> to be opened as attachment to a new email message, and links to be
> opened no-where.
> 
> I'm using Gnome as my desktop environment, and want to have Firefox be
> its default browser.
> 
> Thunderbird is not a browser so shouldn't even try to make itself the
> default.

Thunderbird itself is using the settings
'network.protocol-handler.app.http(s)' for referencing the to be used
browser if one of http protocols is called.

The default is set to 'x-www-browser' (see
/etc/thunderbird/pref/thunderbird.js) which is linked to another link
handled by update-alternates.

> $ which x-www-browser 
> /usr/bin/x-www-browser
> $ ls -la /usr/bin/x-www-browser
> lrwxrwxrwx 1 root root 31 Jun 19  2017 /usr/bin/x-www-browser -> 
> /etc/alternatives/x-www-browser
> $ ls -la /etc/alternatives/x-www-browser
> lrwxrwxrwx 1 root root 16 Mär 30 18:47 /etc/alternatives/x-www-browser -> 
> /usr/bin/firefox

These settings shown above are the default case for a long time, so if
Thunderbird tries to open Thunderbird for html links you have some non
default settings.

The settings for network.protocol-handler.app.http(s) can be modified
within your preferences so first have a look into your profile and check
if there is something changed.

Another possibility to look at is the file
$HOME/.thunderbird/[your_profile]/mimeTypes.rdf

Here also some different browser can be declared. Look for something
like this especially on 'NC:path':

>  10   <RDF:Description RDF:about="urn:handler:local:/usr/bin/x-www-browser"
>  11                    NC:prettyName="iceweasel"
>  12                    NC:path="/usr/bin/x-www-browser" />

You can safely remove such a entry.

-- 
Regards
Carsten Schoenert

Reply via email to