You are not logged in.

#1 2011-10-28 21:51:08

jlacroix
Member
Registered: 2009-08-16
Posts: 576

[SOLVED] Need Help Making Thunderbird Open Links in Chromium

I use both Firefox and Chromium on an Arch install using KDE, and would like to get Thunderbird to open links in Chromium, but right now it opens links in Firefox no matter what I do. I fought with this for at least an hour but nothing I do seems to make Thunderbird recognize my default browser.

I've tried configuring xdg-open, I've edited the user.js file, and I've also played around in the about:config area, but it doesn't seem to help. I even went as far as to uninstall Firefox, and after doing that, Thunderbird won't open links at all. It seems to want Firefox or nothing. Is there an easy solution I might have missed?

Last edited by jlacroix (2011-10-29 00:06:59)

Offline

#2 2011-10-28 23:17:07

wudu
Member
Registered: 2010-03-08
Posts: 83

Re: [SOLVED] Need Help Making Thunderbird Open Links in Chromium

Hi,

in Thunderbird:
Edit -> Preferences -> Attachments

Then change the action for http and https.

Offline

#3 2011-10-28 23:27:02

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: [SOLVED] Need Help Making Thunderbird Open Links in Chromium

Sorry, I forgot to mention I've tried that too. The attachments window is completely empty with no options inside. It's the same way on all my computers, there are no options in there.

Offline

#4 2011-10-29 00:00:24

wudu
Member
Registered: 2010-03-08
Posts: 83

Re: [SOLVED] Need Help Making Thunderbird Open Links in Chromium

Thunderbird saves mimetypes in ~/.thunderbird/profile_name/mimeTypes.rdf
I don't know how this is created because it doesn't exist in a new profile.

Thats the content of my mimeTypes.rdf

<?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/vnd.ms-excel"
                   NC:path="/usr/bin/libreoffice"
                   NC:prettyName="libreoffice" />
  <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:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:https"
                   NC:alwaysAsk="false">
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:https"/>
  </RDF:Description>
  <RDF:Seq RDF:about="urn:schemes:root">
    <RDF:li RDF:resource="urn:scheme:mailbox"/>
    <RDF:li RDF:resource="urn:scheme:http"/>
    <RDF:li RDF:resource="urn:scheme:https"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:scheme:externalApplication:http"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.text"
                   NC:path="/usr/bin/openoffice.org3"
                   NC:prettyName="openoffice.org3" />
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="-1" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.oasis.opendocument.presentation"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:path="/usr/bin/epdfview"
                   NC:prettyName="epdfview" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.oasis.opendocument.presentation"
                   NC:value="application/vnd.oasis.opendocument.presentation"
                   NC:editable="true"
                   NC:fileExtensions="odp"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/msword"
                   NC:description="Word-Dokument"
                   NC:value="application/msword"
                   NC:editable="true">
    <NC:fileExtensions>doc</NC:fileExtensions>
    <NC:fileExtensions>dot</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/msword"
                   NC:path="/usr/bin/libreoffice"
                   NC:prettyName="libreoffice" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-excel"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:externalApplication:https"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.ms-excel"
                   NC:value="application/vnd.ms-excel"
                   NC:editable="true"
                   NC:description="">
    <NC:fileExtensions>xls</NC:fileExtensions>
    <NC:fileExtensions>xlb</NC:fileExtensions>
    <NC:fileExtensions>xlt</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:image/jpeg"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:image/jpeg"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:image/jpeg"
                   NC:path="/usr/bin/gqview"
                   NC:prettyName="gqview" />
  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:application/msword"/>
    <RDF:li RDF:resource="urn:mimetype:{%22application/octet-stream%22}"/>
    <RDF:li RDF:resource="urn:mimetype:image/jpeg"/>
    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.oasis.opendocument.text"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-excel"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Seq>
  <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:mimetype:application/vnd.oasis.opendocument.text"
                   NC:fileExtensions="odt"
                   NC:description="ODT-Dokument"
                   NC:value="application/vnd.oasis.opendocument.text"
                   NC:editable="true">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.oasis.opendocument.text"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
                   NC:alwaysAsk="true"
                   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:mimetype:image/jpeg"
                   NC:value="image/jpeg"
                   NC:editable="true"
                   NC:description="JPEG Image">
    <NC:fileExtensions>jpg</NC:fileExtensions>
    <NC:fileExtensions>jpeg</NC:fileExtensions>
    <NC:fileExtensions>jpe</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:image/jpeg"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.presentation"
                   NC:path="/usr/bin/openoffice.org3"
                   NC:prettyName="openoffice.org3" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/msword"
                   NC:saveToDisk="false"
                   NC:handleInternal="false"
                   NC:alwaysAsk="true"
                   NC:useSystemDefault="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:mailbox"
                   NC:value="mailbox">
    <NC:handlerProp RDF:resource="urn:scheme:handler:mailbox"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:http"
                   NC:alwaysAsk="false">
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/firefox"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/chromium"/>
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:http"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:mailbox"
                   NC:alwaysAsk="false">
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailbox"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.oasis.opendocument.text"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.text"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/pdf"
                   NC:fileExtensions="pdf"
                   NC:description="PDF-Dokument"
                   NC:value="application/pdf"
                   NC:editable="true">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:{%22application/octet-stream%22}"
                   NC:value="{%22application/octet-stream%22}"
                   NC:editable="true"
                   NC:description="PDF-Dokument">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:{%22application/octet-stream%22}"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/firefox"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:scheme:externalApplication:mailbox"
                   NC:prettyName="kate"
                   NC:path="/usr/bin/kate" />
  <RDF:Description RDF:about="urn:mimetype:handler:{%22application/octet-stream%22}"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:{%22application/octet-stream%22}"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetypes">
    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/chromium"
                   NC:prettyName="chromium"
                   NC:path="/usr/bin/chromium" />
</RDF:RDF>

You could try to create that file and fill it with this.

Offline

#5 2011-10-29 00:06:41

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: [SOLVED] Need Help Making Thunderbird Open Links in Chromium

wudu wrote:

Thunderbird saves mimetypes in ~/.thunderbird/profile_name/mimeTypes.rdf
I don't know how this is created because it doesn't exist in a new profile.

Thats the content of my mimeTypes.rdf

<?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/vnd.ms-excel"
                   NC:path="/usr/bin/libreoffice"
                   NC:prettyName="libreoffice" />
  <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:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:https"
                   NC:alwaysAsk="false">
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:https"/>
  </RDF:Description>
  <RDF:Seq RDF:about="urn:schemes:root">
    <RDF:li RDF:resource="urn:scheme:mailbox"/>
    <RDF:li RDF:resource="urn:scheme:http"/>
    <RDF:li RDF:resource="urn:scheme:https"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:scheme:externalApplication:http"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.text"
                   NC:path="/usr/bin/openoffice.org3"
                   NC:prettyName="openoffice.org3" />
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="-1" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.oasis.opendocument.presentation"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:path="/usr/bin/epdfview"
                   NC:prettyName="epdfview" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.oasis.opendocument.presentation"
                   NC:value="application/vnd.oasis.opendocument.presentation"
                   NC:editable="true"
                   NC:fileExtensions="odp"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/msword"
                   NC:description="Word-Dokument"
                   NC:value="application/msword"
                   NC:editable="true">
    <NC:fileExtensions>doc</NC:fileExtensions>
    <NC:fileExtensions>dot</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/msword"
                   NC:path="/usr/bin/libreoffice"
                   NC:prettyName="libreoffice" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-excel"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:externalApplication:https"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.ms-excel"
                   NC:value="application/vnd.ms-excel"
                   NC:editable="true"
                   NC:description="">
    <NC:fileExtensions>xls</NC:fileExtensions>
    <NC:fileExtensions>xlb</NC:fileExtensions>
    <NC:fileExtensions>xlt</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:image/jpeg"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:image/jpeg"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:image/jpeg"
                   NC:path="/usr/bin/gqview"
                   NC:prettyName="gqview" />
  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:application/msword"/>
    <RDF:li RDF:resource="urn:mimetype:{%22application/octet-stream%22}"/>
    <RDF:li RDF:resource="urn:mimetype:image/jpeg"/>
    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.oasis.opendocument.text"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-excel"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.oasis.opendocument.presentation"/>
  </RDF:Seq>
  <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:mimetype:application/vnd.oasis.opendocument.text"
                   NC:fileExtensions="odt"
                   NC:description="ODT-Dokument"
                   NC:value="application/vnd.oasis.opendocument.text"
                   NC:editable="true">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.oasis.opendocument.text"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
                   NC:alwaysAsk="true"
                   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:mimetype:image/jpeg"
                   NC:value="image/jpeg"
                   NC:editable="true"
                   NC:description="JPEG Image">
    <NC:fileExtensions>jpg</NC:fileExtensions>
    <NC:fileExtensions>jpeg</NC:fileExtensions>
    <NC:fileExtensions>jpe</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:image/jpeg"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.presentation"
                   NC:path="/usr/bin/openoffice.org3"
                   NC:prettyName="openoffice.org3" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/msword"
                   NC:saveToDisk="false"
                   NC:handleInternal="false"
                   NC:alwaysAsk="true"
                   NC:useSystemDefault="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:mailbox"
                   NC:value="mailbox">
    <NC:handlerProp RDF:resource="urn:scheme:handler:mailbox"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:http"
                   NC:alwaysAsk="false">
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/firefox"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/chromium"/>
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:http"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:mailbox"
                   NC:alwaysAsk="false">
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailbox"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.oasis.opendocument.text"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.oasis.opendocument.text"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/pdf"
                   NC:fileExtensions="pdf"
                   NC:description="PDF-Dokument"
                   NC:value="application/pdf"
                   NC:editable="true">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:{%22application/octet-stream%22}"
                   NC:value="{%22application/octet-stream%22}"
                   NC:editable="true"
                   NC:description="PDF-Dokument">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:{%22application/octet-stream%22}"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/firefox"
                   NC:prettyName="firefox"
                   NC:path="/usr/bin/firefox" />
  <RDF:Description RDF:about="urn:scheme:externalApplication:mailbox"
                   NC:prettyName="kate"
                   NC:path="/usr/bin/kate" />
  <RDF:Description RDF:about="urn:mimetype:handler:{%22application/octet-stream%22}"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:{%22application/octet-stream%22}"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetypes">
    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/chromium"
                   NC:prettyName="chromium"
                   NC:path="/usr/bin/chromium" />
</RDF:RDF>

You could try to create that file and fill it with this.

Your solution didn't make my links open up in Chromium, but it did enable the option to allow me to configure it to do so. Thank you so much!!!

Offline

Board footer

Powered by FluxBB