If I click a link in an email in Thunderbird it displays the "You have chosen to open ... which is a html page, what would you like to do..." dialog. I want it to open the link in a browser but if for example i select konqueror then thunderbrd downloads the file to eg /tmp/blah.html and this is what konqueror opens as file://tmp/blah.html Reproducible: Always Steps to Reproduce: 1. Open thunderbird 2. Click 'Thunderbird Help' 3.
You want to add, for example: user_pref("network.protocol-handler.app.http", "/usr/kde/3.2/bin/konqueror"); to ~/.thunderbird/default.pqx/user.js
more info at http://www.mozilla.org/projects/thunderbird/linuxurls.html seems like upstream is already working on this.
Once a link is downloaded, you get the "Open With" dialog. If I point this to to '/usr/bin/firefox' it appears as '/usr/libexec/mozilla-lancher' in the dialog. Thunderbird seems to follow the symlink automatically, which presents a slight problem... The mozilla-launcher script itself checks how it was called (i.e. argument 0) to determine which browser exactly is being started, which means that when exectuted directly (i.e. not thorugh a named symlink) it can't determine which binary to execute. Instead it outputs the message /usr/libexec/mozilla-launcher: unknown browser I guess one actually has to make thunderbird not automatically follow the symlink, but I have no idea how to do this... Otherwise, is ther a way to set a default browser for the mozilla-launcher script
Actually, having patched the mozilla-launcher script to revert to an environment specified 'default browser' it becomes obvious that this (the mozilla-launcher script) is not the only problem. Pardon me. When the script is forced to run /usr/bin/firefox then thunderbird downloads the link, saves it to /tmp, and runs firefox using the URL file:///tmp/xyz pointing to whatever it has just downloaded.
Not a Gentoo-specific bug, if this is still an issue, it's an upstream one.