Announcement

Collapse
No announcement yet.

Getting links to open in Firefox

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

    Getting links to open in Firefox

    Can anyone point me in ther right direction regarding opening links in Firefox?

    When I click on a link in Kopete, it opens in Konqueror. And when I click on a link in Thunderbird, nothing happens at all. I guess there is a setting somewhere that has to be changed, but have no idea where to find it.
    Regards,
    Oceanwatcher
    Blog: http://www.wisnaes.com/
    Pictures: http://www.oceanwatcher.com/
    Software tips (in Norwegian): http://www.datahverdag.com/

    #2
    Re: Getting links to open in Firefox

    You can try K->System Settings->Default Applications->Web Browser. Probably setting it to your executable will work. I set mine to "application based on content of URL and the ran
    sudo update-alternatives --config x-www-browser
    and pointed it to swiftfox.
    For thunderbird there is a entry in about:config that can be used but I do not remember it right off the top of my head.

    Comment


      #3
      Re: Getting links to open in Firefox

      This might be it, too, or helpful.
      Example is for FX, but you'll get the idea.
      A well-known fix for one class of problems like what you describe (copy/pasted from my notes):

      Reference (right side bar, somewhere):
      Ubuntuzilla: Mozilla Software Installer
      http://ubuntuzilla.wiki.sourceforge.net/

      - - - - -

      [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.
      - - - - -
      For me, it seems it has to take place in the .thunderbird folder.
      Open Konqueror. Open your /home/your_name. On the menu across the top, View – Show hidden files. In that list, find and click on the folder .mozilla-thunderbird.
      Then, inside .mozilla-thunderbird, Open the folder RRRRRRRR.default
      where RRRRRRRR is a string of eight random alphanumeric characters (that may look rather odd to you).

      Find or create the file user.js in RRRRRRRR.default.
      (To create it if it's not there, as was my case: In that folder, Right-click on an empty place, Create New - Text file , and call it user.js)

      Copy these lines into user.js:
      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");

      File-Save, File Quit
      Restart Thunderbird to test it.

      OR:
      Copy these lines into user.js:
      user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox-2");
      user_pref("network.protocol-handler.app.http","/usr/bin/firefox-2");
      user_pref("network.protocol-handler.app.https","/usr/bin/firefox-2");
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        Re: Getting links to open in Firefox

        Thank you for that tip. It made me realise what the problem might be.

        I have set Thunderbird up so it uses the same profile as my Windows version of Thunderbird. Don't know if there is a user.js file in that profile or if making such a file will have any negative effect on the Windows version.

        I will investigate further :-)
        Regards,
        Oceanwatcher
        Blog: http://www.wisnaes.com/
        Pictures: http://www.oceanwatcher.com/
        Software tips (in Norwegian): http://www.datahverdag.com/

        Comment


          #5
          Re: Getting links to open in Firefox

          Originally posted by Qqmike
          This might be it, too, or helpful.
          Example is for FX, but you'll get the idea.
          A well-known fix for one class of problems like what you describe (copy/pasted from my notes):

          Reference (right side bar, somewhere):
          Ubuntuzilla: Mozilla Software Installer
          http://ubuntuzilla.wiki.sourceforge.net/

          - - - - -

          [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.
          - - - - -
          For me, it seems it has to take place in the .thunderbird folder.
          Open Konqueror. Open your /home/your_name. On the menu across the top, View – Show hidden files. In that list, find and click on the folder .mozilla-thunderbird.
          Then, inside .mozilla-thunderbird, Open the folder RRRRRRRR.default
          where RRRRRRRR is a string of eight random alphanumeric characters (that may look rather odd to you).

          Find or create the file user.js in RRRRRRRR.default.
          (To create it if it's not there, as was my case: In that folder, Right-click on an empty place, Create New - Text file , and call it user.js)

          Copy these lines into user.js:
          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");

          File-Save, File Quit
          Restart Thunderbird to test it.

          OR:
          Copy these lines into user.js:
          user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox-2");
          user_pref("network.protocol-handler.app.http","/usr/bin/firefox-2");
          user_pref("network.protocol-handler.app.https","/usr/bin/firefox-2");
          Thanks for this, another member pointed me to this thread and your solution, (firefox-2 version) worked perfectly for me. Thank you very very much.................................

          Comment


            #6
            Re: Getting links to open in Firefox

            Well, my MS Win version of Thunderbird Portable do not have any user.js file, so I took the chance of adding it to the profile there.

            Now links opens as they should in Kubuntu, have not tested it yet in MS Win. Actually, I have not used MS Win for anything yet :-) I know I have to start using it (for video editing I use Avid MediaComposer - nothing like this for Linux yet - and that would be another killer app!!!), but so far I am happy trying to get Kubuntu set up the way I want.
            Regards,
            Oceanwatcher
            Blog: http://www.wisnaes.com/
            Pictures: http://www.oceanwatcher.com/
            Software tips (in Norwegian): http://www.datahverdag.com/

            Comment

            Working...
            X