Thunderbird won't open http: links in firefox
Jim Cunning
jcunning at cunning.ods.org
Thu Sep 30 16:50:58 UTC 2010
On 09/29/2010 09:33 PM, Karl Klinger wrote:
> On 2010-09-29 20:06, Jim Cunning wrote:
>
>> Karl Klinger wrote:
>>
>>> On 2010-09-27 15:59, Jim Cunning wrote:
>>>
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> I am having trouble getting thunderbird to open firefox when I click
>>>> on http: links in mail messages.
>>>>
>>>> 1. I've set the following in prefs.js:
>>>> user_pref("network.protocol-handler.app.https",
>>>> "/usr/bin/firefox");
>>>> user_pref("network.protocol-handler.app.http",
>>>> "/usr/bin/firefox");
>>>> 2. I've set firefox as my default browser in Menu->System
>>>> Settings->Default Applications
>>>> 3. I have installed firefox-gnome-support.
>>>>
>>>> When I click on an http: or https: link, thunderbird displays the
>>>> "finger pointing" cursor and outlines the link, but does nothing
>>>> else. When I right click on the link in the message, I get a pop-up
>>>> with choices for "Select All", "Convert to->", Copy Link Location",
>>>> "Save Link Target", and "Report E-mail Scam". There is no choice like
>>>> "Open with..."
>>>>
>>>> What do I need to add or select in KDE, firefox, or thunderbird to get
>>>> this to work?
>>>>
>>>>
>>> In the thunderbird menu:
>>> Edit -> Preferences
>>>
>>> Choose the Attachments tab in the Preferences dialog. In the Action
>>> drop down lists for http and https chose "Use Firefox (default)".
>>>
>>> I recently had this stop working for unknown reasons. I changed the
>>> choice to "Always ask" and then back again, and now it works again.
>>>
>>> Karl
>>>
>>>
>> Thanks, Karl, but unfortunately there is nothing listed in the Action
>> drop down list, and there appears to be no way to add a new action.
>> Perhaps that the root problem, so how does one go about creating a new
>> action in the Thunderbird preferences?
>>
>>
> First of all, to make sure we're on the same wavelength, I'm using the
> 3.0.8 version of Thunderbird.
>
> What appears in the list seems to be controlled by this file in the home
> directory:
>
> .mozilla-thunderbird/xxxxxxxx.default/mimeTypes.rdf
>
> where xxxxxxxx is a random string. When I renamed this file I came up
> with an empty list.
>
> This is the contents of my file:
>
> <?xml version="1.0"?>
> <RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
> xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> <RDF:Description
> RDF:about="urn:mimetype:externalApplication:application/pdf"
> NC:path="/usr/lib/Adobe/Reader8/bin/acroread"
> NC:prettyName="acroread" />
> <RDF:Description RDF:about="urn:scheme:handler:http"
> NC:useSystemDefault="true"
> NC:alwaysAsk="false" />
> <RDF:Description RDF:about="urn:mimetype:application/pdf"
> NC:value="application/pdf"
> NC:editable="true"
> NC:fileExtensions="pdf"
> NC:description="PDF document">
> <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
> </RDF:Description>
> <RDF:Description RDF:about="urn:scheme:handler:https"
> NC:useSystemDefault="true"
> NC:alwaysAsk="false" />
> <RDF:Description RDF:about="urn:mimetypes">
> <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
> </RDF:Description>
> <RDF:Seq RDF:about="urn:mimetypes:root">
> <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
> </RDF:Seq>
> <RDF:Description RDF:about="urn:schemes">
> <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
> </RDF:Description>
> <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
> NC:alwaysAsk="false"
> NC:saveToDisk="false"
> NC:useSystemDefault="false"
> NC:handleInternal="false">
> <NC:externalApplication
> RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
> </RDF:Description>
> <RDF:Description RDF:about="urn:scheme:https"
> NC:value="https">
> <NC:handlerProp RDF:resource="urn:scheme:handler:https"/>
> </RDF:Description>
> <RDF:Description RDF:about="urn:scheme:http"
> NC:value="http">
> <NC:handlerProp RDF:resource="urn:scheme:handler:http"/>
> </RDF:Description>
> <RDF:Description RDF:about="urn:root"
> NC:en-US_defaultHandlersVersion="-1" />
> <RDF:Seq RDF:about="urn:schemes:root">
> <RDF:li RDF:resource="urn:scheme:http"/>
> <RDF:li RDF:resource="urn:scheme:https"/>
> </RDF:Seq>
> </RDF:RDF>
>
> You could try pasting this into your file and see if it works.
>
> Karl
>
>
>
Karl,
My mimeTypes.rdf contained only the following lines (after a bunch of
xml comments):
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/NC-rdf#">
<RDF:Description about="urn:mimetypes">
<NC:MIME-types>
<RDF:Seq about="urn:mimetypes:root">
</RDF:Seq>
</NC:MIME-types>
</RDF:Description>
</RDF:RDF>
There also was an identical version of the file in a subdirectory named
"US" in the xxxxxxxx.default directory. I even completely removed the
.mozilla-thunderbird directory in my home directory, removed and
reinstalled the packages thunderbird, enigmail and lightning-extension.
I am running kubuntu 9.10 on amd64, and the version of thunderbird that
gets installed is 2.0.0.24.
When I replaced my versions of mimeTypes.rdf with yours (in both
places), the Actions list is no longer empty, but only lists "Open with
okular" for PDF documents. Even though http and https are listed in the
mimeTypes.rdf file, no corresponding action appears.
More information about the kubuntu-users
mailing list