Announcement

Collapse
No announcement yet.

email links in Thunderbird open in wrong browser

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    email links in Thunderbird open in wrong browser

    Running Kubuntu 7.10 / Thunderbird 2.0.0.9 / Firefox 2.0.0.12

    Email links open in Konqueror. I want them to open in Firefox, which is my default browser. I cannot find the problem. When I enter sudo update-alternatives --config x-www-browser in a console, I get -

    There are 2 alternatives which provide `x-www-browser'.

    Selection Alternative
    -----------------------------------------------
    *+ 1 /usr/bin/konqueror
    2 /usr/bin/amaya


    In Thunderbird's config editor, I checked to see that these two lines, inserted earlier in the day, were still there (they are):

    network.protocol-handler.app.http user set string x-www-browser
    network.protocol-handler.app.https user set string x-www-browser


    I was hoping to see firefox in that listing, but it's not appearing. Don't know why.

    I've also rebooted, and updated the slocate database (did updatedb in console)

    Have I missed something?

    I don't know what else to do.

    #2
    Re: email links in Thunderbird open in wrong browser


    [Thunderbird] Links in emails don't open in browser
    Add the following lines to your user.js file inside your .thunderbird profile (if user.js file doesn't exist yet, just create a new file with this content).

    user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox");
    user_pref("network.protocol-handler.app.http","/usr/bin/firefox");
    user_pref("network.protocol-handler.app.https","/usr/bin/firefox");
    Restart Thunderbird for this change to take effect.
    If you want to use some browser other than Firefox, then put in the full path for that browser, instead of /usr/bin/firefox, in the above lines.
    - - - - -
    (from Ubuntuzilla)
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #3
      Re: email links in Thunderbird open in wrong browser

      Thanks for you helpful (and very speedy) response. It didn't work, BUT it put me on right path. Here's the user.js which DID work:

      user_pref("network.protocol-handler.app.ftp","/home/tom/programs/firefox/firefox");
      user_pref("network.protocol-handler.app.http","/home/tom/programs/firefox/firefox");
      user_pref("network.protocol-handler.app.https","/home/tom/programs/firefox/firefox");

      When your js didn't work (and I don't really know js, but do program a bit in ruby), it occurred to me that if that link is supposed to launch firefox maybe it should actually point to where it lives. I installed mine by unpacking it and putting in my user account's /programs folder, rather than /user/bin. At first the code values merely pointed to the firefox folder, as that is what your js appears to be doing. Didn't work. There was only one other thing to try...and it worked.

      Thanks again.

      Comment


        #4
        (SOLVED) Re: email links in Thunderbird open in wrong browser

        Originally posted by tomcloyd
        Running Kubuntu 7.10 / Thunderbird 2.0.0.9 / Firefox 2.0.0.12

        Email links open in Konqueror. I want them to open in Firefox, which is my default browser. I cannot find the problem. When I enter sudo update-alternatives --config x-www-browser in a console, I get -

        There are 2 alternatives which provide `x-www-browser'.

        Selection Alternative
        -----------------------------------------------
        *+ 1 /usr/bin/konqueror
        2 /usr/bin/amaya


        In Thunderbird's config editor, I checked to see that these two lines, inserted earlier in the day, were still there (they are):

        network.protocol-handler.app.http user set string x-www-browser
        network.protocol-handler.app.https user set string x-www-browser


        I was hoping to see firefox in that listing, but it's not appearing. Don't know why.

        I've also rebooted, and updated the slocate database (did updatedb in console)

        Have I missed something?

        I don't know what else to do.

        Comment


          #5
          Re: email links in Thunderbird open in wrong browser

          tomcloud. thanks for the feedback. I never really thought about it, and so have learned something here, too, after chasing down exactly where my Firefox is (my /usr/bin/firefox is actually a link to /usr/lib/firefox/etc where the real action is). So, wherever it is, just have to put its correct path in those 3 user_pref statements.
          Good job.
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment

          Working...
          X