Comment 23 for bug 136303

Revision history for this message
Richard Gunn (ubuntu-deckard) wrote :

I'm currently using Karmic (upgraded from Intrepid then Jaunty).

Thunderbird 2.0.0.24 / Firefox 3.5.9

Thunderbird WILL launch links with Opera and Midori but not Firefox.

I tested this by adding the following user prefs to Thunderbird:

"network.protocol-handler.app.http" = "/usr/bin/opera"
"network.protocol-handler.app.https" = "/usr/bin/opera"

and then amending to:

"network.protocol-handler.app.http" = "/usr/bin/midori"
"network.protocol-handler.app.https" = "/usr/bin/midori"

After spending a couple of hours looking into this, the root of my problem turned out to be caused by Thunderbird setting the environment variable "LD_PRELOAD=libpulsedsp.so" before calling Firefox, which would then silently fail.

As a workaround, I created a custom Firefox launch script to unset this variable first.

Create a file "/usr/local/bin/firefox-launcher"

-------------------
#!/bin/bash
unset LD_PRELOAD
/usr/bin/firefox $1
-------------------
Make it executable.

Ensure that Thunderbird has the following config settings:
"network.protocol-handler.app.http" = "/usr/local/bin/firefox-launcher"
"network.protocol-handler.app.https" = "/usr/local/bin/firefox-launcher"

Thunderbird should now open links with Firefox.