Thunderbird preferences

frank mccormick fmccormick at videotron.ca
Fri Jun 9 17:15:32 UTC 2006


frank mccormick wrote:
> Jaime Davila wrote:
>>
>>
>> Peter N. Spotts wrote:
>>>
>>> Use gnome-default-applications-properties to ensure thunderbird is set
>>> as your default email client and whatever your browser is for browser
>>> (firefox?) It looks like TB assumes you already have your browser
>>> activated. So make sure your browser is running before you try to
>>> activate a link in an email. Assuming you use firefox, an alternative is
>>> to use the following script (copy it into a text file and make it
>>> executable) and use it as your "browser" in the
>>> gnome-default-applications... settings.
>>>
>>> #!/bin/sh
>>> # firefox-open.sh
>>> if firefox -remote 'ping()' 2> /dev/null ; then
>>>         exec firefox -remote "openurl($1, new-tab)"
>>> else
>>>         exec firefox "$1"
>>> fi
>>>
> 
> 
> 
>>
>>
>> While I've seen scripts that take care of this type of thing, you can 
>> tell thunderbird directly. One of the advantages of doing it directly 
>> is that it will work regardless of which desktop manager you use (i.e. 
>> if you switch from gnome to kde, or vice versa, or to some other 
>> option available now or in the future).
>>
>>
>> Open that file with your favorite text editor, and add the following 
>> two lines:
>>
>> user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
>> user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
>>
> 
> 
>   Talk about quick answers!! I created that script but then saw these 
> messages about pref.js. OK done and it works great. Thanks to
> everyone.



    Whoops. Spoke too soon. It worked when Firefox was running...but 
doesn't work when it's not running. Unless I find some other solutions I 
will go back to the script.


Frank




More information about the ubuntu-users mailing list