Lubuntu 14.10 - Setting default browser





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







8















How is the default browser set in Lubuntu 14.10?



In the absence of 'System Settings' (which is used in Ubuntu 14.10 etc), how are the default applications set in Lubuntu? I'm running Firefox and Chrome (and may use others), whilst Firefox seems to be set as the default browser, Chrome says it 'cannot determine or set the default browser' and had no method of setting the default as Chrome.










share|improve this question























  • Have you tried un-installing the browser you don't want to use?

    – Elder Geek
    Feb 24 '15 at 16:47






  • 1





    No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

    – ChrisF
    Feb 24 '15 at 16:54


















8















How is the default browser set in Lubuntu 14.10?



In the absence of 'System Settings' (which is used in Ubuntu 14.10 etc), how are the default applications set in Lubuntu? I'm running Firefox and Chrome (and may use others), whilst Firefox seems to be set as the default browser, Chrome says it 'cannot determine or set the default browser' and had no method of setting the default as Chrome.










share|improve this question























  • Have you tried un-installing the browser you don't want to use?

    – Elder Geek
    Feb 24 '15 at 16:47






  • 1





    No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

    – ChrisF
    Feb 24 '15 at 16:54














8












8








8


3






How is the default browser set in Lubuntu 14.10?



In the absence of 'System Settings' (which is used in Ubuntu 14.10 etc), how are the default applications set in Lubuntu? I'm running Firefox and Chrome (and may use others), whilst Firefox seems to be set as the default browser, Chrome says it 'cannot determine or set the default browser' and had no method of setting the default as Chrome.










share|improve this question














How is the default browser set in Lubuntu 14.10?



In the absence of 'System Settings' (which is used in Ubuntu 14.10 etc), how are the default applications set in Lubuntu? I'm running Firefox and Chrome (and may use others), whilst Firefox seems to be set as the default browser, Chrome says it 'cannot determine or set the default browser' and had no method of setting the default as Chrome.







lubuntu google-chrome 14.10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 24 '15 at 16:37









ChrisFChrisF

4114




4114













  • Have you tried un-installing the browser you don't want to use?

    – Elder Geek
    Feb 24 '15 at 16:47






  • 1





    No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

    – ChrisF
    Feb 24 '15 at 16:54



















  • Have you tried un-installing the browser you don't want to use?

    – Elder Geek
    Feb 24 '15 at 16:47






  • 1





    No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

    – ChrisF
    Feb 24 '15 at 16:54

















Have you tried un-installing the browser you don't want to use?

– Elder Geek
Feb 24 '15 at 16:47





Have you tried un-installing the browser you don't want to use?

– Elder Geek
Feb 24 '15 at 16:47




1




1





No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

– ChrisF
Feb 24 '15 at 16:54





No. I appreciate that's would fix the problem, but I'd prefer to have two or more browsers available.

– ChrisF
Feb 24 '15 at 16:54










5 Answers
5






active

oldest

votes


















15














run the following in a terminal:



sudo update-alternatives --config x-www-browser


It will present you a list of available browsers that are installed, and lets you select your default one.






share|improve this answer
























  • Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

    – ChrisF
    Feb 24 '15 at 18:02













  • @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

    – Elder Geek
    Feb 25 '15 at 14:08













  • Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

    – ChrisF
    Feb 26 '15 at 13:54











  • This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

    – Arda
    Oct 25 '15 at 21:39





















1














In Lubuntu there is an application in the menu called default applications for lxsession. It is under Preferences. Once you open it, merely navigate to web browser and choose the browser that you would like to be the default choice. Alternatively, there is a choice in Firefox and there probably is one in chrome as well where you choose it to be the default browser. In Firefox go to Edit->Preferences->General.






share|improve this answer
























  • Thanks Rex, but that didn't work, even after a restart.

    – ChrisF
    Feb 25 '15 at 9:05



















1














Click Start bar -> Preferences -> LXQT Settings -> LXQT Configuration Center -> Sessions Settings and then in 'web-browser' click 'search'.



The default folder should be /usr/bin.

Scroll and find 'google-chrome'



If it's not there, download google chrome from here and install it with 'Discover'.

Then redo the steps above.



Once set, re-login, or restart.






share|improve this answer

































    0














    Setting the default browser depends on the application you wish to launch your browser from, because Linux has several methods of determining default applications, so applications use different methods.



    For example, the Lubuntu/LXDE default terminal, LXTerminal, uses xdg-open to launch a browser when a URL is clicked. Setting your default browser via update-alternatives will in that case have no effect.



    As you mentioned Thunderbird in some of your comments, things seem to be even more complicated when it comes to Thunderbird. (Refer to Bug 724461 as well as this blog post about how Thunderbird chooses a browser.)



    In short, if you tried other methods and things still don't work out, you could run the following commands to update xdg-open's default application for Web URLs to Chrome:



    sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
    sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https


    This approach works for LXTerminal on Lubuntu 14.10 and should also work for Thunderbird.






    share|improve this answer































      0














      Go to preferences -> configure alternatives, in list groups, choose gnome-www-browser and set it to google-chrome-stable with the lowest priority.
      To test how it works, type gnome-www-browser in the console and chrome should pop off.






      share|improve this answer



















      • 1





        i've forgot to mention that it worked on lubuntu 18.10

        – oussoulessou
        Feb 14 at 0:50












      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f589389%2flubuntu-14-10-setting-default-browser%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      15














      run the following in a terminal:



      sudo update-alternatives --config x-www-browser


      It will present you a list of available browsers that are installed, and lets you select your default one.






      share|improve this answer
























      • Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

        – ChrisF
        Feb 24 '15 at 18:02













      • @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

        – Elder Geek
        Feb 25 '15 at 14:08













      • Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

        – ChrisF
        Feb 26 '15 at 13:54











      • This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

        – Arda
        Oct 25 '15 at 21:39


















      15














      run the following in a terminal:



      sudo update-alternatives --config x-www-browser


      It will present you a list of available browsers that are installed, and lets you select your default one.






      share|improve this answer
























      • Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

        – ChrisF
        Feb 24 '15 at 18:02













      • @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

        – Elder Geek
        Feb 25 '15 at 14:08













      • Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

        – ChrisF
        Feb 26 '15 at 13:54











      • This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

        – Arda
        Oct 25 '15 at 21:39
















      15












      15








      15







      run the following in a terminal:



      sudo update-alternatives --config x-www-browser


      It will present you a list of available browsers that are installed, and lets you select your default one.






      share|improve this answer













      run the following in a terminal:



      sudo update-alternatives --config x-www-browser


      It will present you a list of available browsers that are installed, and lets you select your default one.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 24 '15 at 17:28









      KamaradskiKamaradski

      1605




      1605













      • Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

        – ChrisF
        Feb 24 '15 at 18:02













      • @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

        – Elder Geek
        Feb 25 '15 at 14:08













      • Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

        – ChrisF
        Feb 26 '15 at 13:54











      • This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

        – Arda
        Oct 25 '15 at 21:39





















      • Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

        – ChrisF
        Feb 24 '15 at 18:02













      • @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

        – Elder Geek
        Feb 25 '15 at 14:08













      • Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

        – ChrisF
        Feb 26 '15 at 13:54











      • This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

        – Arda
        Oct 25 '15 at 21:39



















      Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

      – ChrisF
      Feb 24 '15 at 18:02







      Thanks Kamaradski, but that doesn't appear to work. Update alternative etc. opened & shows 4 browser (chrome {in automode}, firefox {manual}, chrome {manual}, & opera {manual}). It was set to chrome {auto}, which I changed to chrome {manual}. However, when selecting a link in my email client (thunderbird) it still opens in Firefox, even after a restart.

      – ChrisF
      Feb 24 '15 at 18:02















      @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

      – Elder Geek
      Feb 25 '15 at 14:08







      @ChrisF Both Thunderbird and Firefox are Mozilla products. This is not surprising as firefox is installed. Try uninstalling firefox, run the config, choose your default, test the link and see if that works. If so, you could try reinstalling firefox and testing again. You might consider this useful as well: support.mozilla.org/en-US/kb/…

      – Elder Geek
      Feb 25 '15 at 14:08















      Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

      – ChrisF
      Feb 26 '15 at 13:54





      Thanks Elder Geek, but that doesn't provide a solution. I tried removed Firefox (using Synaptic) but as soon as its reinstalled (both before and after running the update-alternatives config) it still fires up when selecting links in Thunderbird. Your Mozilla link doesn't include Lubuntu. As you suggest, this looks like a Mozilla issue, that Thunderbird is overriding the OS default preferences. I think this means Firefox has to be removed (which is a shame, since I quite like it) and I'll use Opera & Chromium as additional browsers, unless a solution is found.

      – ChrisF
      Feb 26 '15 at 13:54













      This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

      – Arda
      Oct 25 '15 at 21:39







      This worked flawlessly with Lubuntu 14.04 with LXDE daily ppa installed. I didn't even need to restart or logout/login the pc.

      – Arda
      Oct 25 '15 at 21:39















      1














      In Lubuntu there is an application in the menu called default applications for lxsession. It is under Preferences. Once you open it, merely navigate to web browser and choose the browser that you would like to be the default choice. Alternatively, there is a choice in Firefox and there probably is one in chrome as well where you choose it to be the default browser. In Firefox go to Edit->Preferences->General.






      share|improve this answer
























      • Thanks Rex, but that didn't work, even after a restart.

        – ChrisF
        Feb 25 '15 at 9:05
















      1














      In Lubuntu there is an application in the menu called default applications for lxsession. It is under Preferences. Once you open it, merely navigate to web browser and choose the browser that you would like to be the default choice. Alternatively, there is a choice in Firefox and there probably is one in chrome as well where you choose it to be the default browser. In Firefox go to Edit->Preferences->General.






      share|improve this answer
























      • Thanks Rex, but that didn't work, even after a restart.

        – ChrisF
        Feb 25 '15 at 9:05














      1












      1








      1







      In Lubuntu there is an application in the menu called default applications for lxsession. It is under Preferences. Once you open it, merely navigate to web browser and choose the browser that you would like to be the default choice. Alternatively, there is a choice in Firefox and there probably is one in chrome as well where you choose it to be the default browser. In Firefox go to Edit->Preferences->General.






      share|improve this answer













      In Lubuntu there is an application in the menu called default applications for lxsession. It is under Preferences. Once you open it, merely navigate to web browser and choose the browser that you would like to be the default choice. Alternatively, there is a choice in Firefox and there probably is one in chrome as well where you choose it to be the default browser. In Firefox go to Edit->Preferences->General.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 24 '15 at 21:35









      RexRex

      1,2921912




      1,2921912













      • Thanks Rex, but that didn't work, even after a restart.

        – ChrisF
        Feb 25 '15 at 9:05



















      • Thanks Rex, but that didn't work, even after a restart.

        – ChrisF
        Feb 25 '15 at 9:05

















      Thanks Rex, but that didn't work, even after a restart.

      – ChrisF
      Feb 25 '15 at 9:05





      Thanks Rex, but that didn't work, even after a restart.

      – ChrisF
      Feb 25 '15 at 9:05











      1














      Click Start bar -> Preferences -> LXQT Settings -> LXQT Configuration Center -> Sessions Settings and then in 'web-browser' click 'search'.



      The default folder should be /usr/bin.

      Scroll and find 'google-chrome'



      If it's not there, download google chrome from here and install it with 'Discover'.

      Then redo the steps above.



      Once set, re-login, or restart.






      share|improve this answer






























        1














        Click Start bar -> Preferences -> LXQT Settings -> LXQT Configuration Center -> Sessions Settings and then in 'web-browser' click 'search'.



        The default folder should be /usr/bin.

        Scroll and find 'google-chrome'



        If it's not there, download google chrome from here and install it with 'Discover'.

        Then redo the steps above.



        Once set, re-login, or restart.






        share|improve this answer




























          1












          1








          1







          Click Start bar -> Preferences -> LXQT Settings -> LXQT Configuration Center -> Sessions Settings and then in 'web-browser' click 'search'.



          The default folder should be /usr/bin.

          Scroll and find 'google-chrome'



          If it's not there, download google chrome from here and install it with 'Discover'.

          Then redo the steps above.



          Once set, re-login, or restart.






          share|improve this answer















          Click Start bar -> Preferences -> LXQT Settings -> LXQT Configuration Center -> Sessions Settings and then in 'web-browser' click 'search'.



          The default folder should be /usr/bin.

          Scroll and find 'google-chrome'



          If it's not there, download google chrome from here and install it with 'Discover'.

          Then redo the steps above.



          Once set, re-login, or restart.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 20 at 21:48









          mature

          2,2054933




          2,2054933










          answered Feb 20 at 19:32









          H BH B

          112




          112























              0














              Setting the default browser depends on the application you wish to launch your browser from, because Linux has several methods of determining default applications, so applications use different methods.



              For example, the Lubuntu/LXDE default terminal, LXTerminal, uses xdg-open to launch a browser when a URL is clicked. Setting your default browser via update-alternatives will in that case have no effect.



              As you mentioned Thunderbird in some of your comments, things seem to be even more complicated when it comes to Thunderbird. (Refer to Bug 724461 as well as this blog post about how Thunderbird chooses a browser.)



              In short, if you tried other methods and things still don't work out, you could run the following commands to update xdg-open's default application for Web URLs to Chrome:



              sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
              sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https


              This approach works for LXTerminal on Lubuntu 14.10 and should also work for Thunderbird.






              share|improve this answer




























                0














                Setting the default browser depends on the application you wish to launch your browser from, because Linux has several methods of determining default applications, so applications use different methods.



                For example, the Lubuntu/LXDE default terminal, LXTerminal, uses xdg-open to launch a browser when a URL is clicked. Setting your default browser via update-alternatives will in that case have no effect.



                As you mentioned Thunderbird in some of your comments, things seem to be even more complicated when it comes to Thunderbird. (Refer to Bug 724461 as well as this blog post about how Thunderbird chooses a browser.)



                In short, if you tried other methods and things still don't work out, you could run the following commands to update xdg-open's default application for Web URLs to Chrome:



                sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https


                This approach works for LXTerminal on Lubuntu 14.10 and should also work for Thunderbird.






                share|improve this answer


























                  0












                  0








                  0







                  Setting the default browser depends on the application you wish to launch your browser from, because Linux has several methods of determining default applications, so applications use different methods.



                  For example, the Lubuntu/LXDE default terminal, LXTerminal, uses xdg-open to launch a browser when a URL is clicked. Setting your default browser via update-alternatives will in that case have no effect.



                  As you mentioned Thunderbird in some of your comments, things seem to be even more complicated when it comes to Thunderbird. (Refer to Bug 724461 as well as this blog post about how Thunderbird chooses a browser.)



                  In short, if you tried other methods and things still don't work out, you could run the following commands to update xdg-open's default application for Web URLs to Chrome:



                  sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                  sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https


                  This approach works for LXTerminal on Lubuntu 14.10 and should also work for Thunderbird.






                  share|improve this answer













                  Setting the default browser depends on the application you wish to launch your browser from, because Linux has several methods of determining default applications, so applications use different methods.



                  For example, the Lubuntu/LXDE default terminal, LXTerminal, uses xdg-open to launch a browser when a URL is clicked. Setting your default browser via update-alternatives will in that case have no effect.



                  As you mentioned Thunderbird in some of your comments, things seem to be even more complicated when it comes to Thunderbird. (Refer to Bug 724461 as well as this blog post about how Thunderbird chooses a browser.)



                  In short, if you tried other methods and things still don't work out, you could run the following commands to update xdg-open's default application for Web URLs to Chrome:



                  sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                  sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https


                  This approach works for LXTerminal on Lubuntu 14.10 and should also work for Thunderbird.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 1 '16 at 10:48









                  tmhtmh

                  1011




                  1011























                      0














                      Go to preferences -> configure alternatives, in list groups, choose gnome-www-browser and set it to google-chrome-stable with the lowest priority.
                      To test how it works, type gnome-www-browser in the console and chrome should pop off.






                      share|improve this answer



















                      • 1





                        i've forgot to mention that it worked on lubuntu 18.10

                        – oussoulessou
                        Feb 14 at 0:50
















                      0














                      Go to preferences -> configure alternatives, in list groups, choose gnome-www-browser and set it to google-chrome-stable with the lowest priority.
                      To test how it works, type gnome-www-browser in the console and chrome should pop off.






                      share|improve this answer



















                      • 1





                        i've forgot to mention that it worked on lubuntu 18.10

                        – oussoulessou
                        Feb 14 at 0:50














                      0












                      0








                      0







                      Go to preferences -> configure alternatives, in list groups, choose gnome-www-browser and set it to google-chrome-stable with the lowest priority.
                      To test how it works, type gnome-www-browser in the console and chrome should pop off.






                      share|improve this answer













                      Go to preferences -> configure alternatives, in list groups, choose gnome-www-browser and set it to google-chrome-stable with the lowest priority.
                      To test how it works, type gnome-www-browser in the console and chrome should pop off.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Feb 14 at 0:47









                      oussoulessououssoulessou

                      1




                      1








                      • 1





                        i've forgot to mention that it worked on lubuntu 18.10

                        – oussoulessou
                        Feb 14 at 0:50














                      • 1





                        i've forgot to mention that it worked on lubuntu 18.10

                        – oussoulessou
                        Feb 14 at 0:50








                      1




                      1





                      i've forgot to mention that it worked on lubuntu 18.10

                      – oussoulessou
                      Feb 14 at 0:50





                      i've forgot to mention that it worked on lubuntu 18.10

                      – oussoulessou
                      Feb 14 at 0:50


















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f589389%2flubuntu-14-10-setting-default-browser%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      File:DeusFollowingSea.jpg