Set chromium as default browser under lubuntu












1















I'm using Lubuntu 15.10 and I have installed Chromium version 45.0.2454.101.



Use "make Chromium the default browser" not works (I not see any error).



The usual solution in Ubuntu is to open "Preferred Applications" - but I don't have that option on Lubuntu.



I have also tried update-alternatives.



There is only one alternative in link group x-www-browser (providing      
/usr/bin/x-www-browser): /usr/bin/chromium-browser
Nothing to configure.


Any other ideas?





Updated with more info



Type asociations looks fine



$ xdg-mime query default text/html
chromium-browser.desktop


Running $ chromium-browser on the console I see the following error each time that I click on "make Chromiun the default browser"



xdg-settings: unknown desktop environment









share|improve this question

























  • Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

    – Carlos Garces
    Nov 3 '15 at 21:42








  • 1





    Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

    – KGIII
    Nov 3 '15 at 22:16











  • Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

    – Carlos Garces
    Nov 4 '15 at 22:49











  • We're going to have to do it the hard way. I'll post an answer in a minute.

    – KGIII
    Nov 4 '15 at 23:04
















1















I'm using Lubuntu 15.10 and I have installed Chromium version 45.0.2454.101.



Use "make Chromium the default browser" not works (I not see any error).



The usual solution in Ubuntu is to open "Preferred Applications" - but I don't have that option on Lubuntu.



I have also tried update-alternatives.



There is only one alternative in link group x-www-browser (providing      
/usr/bin/x-www-browser): /usr/bin/chromium-browser
Nothing to configure.


Any other ideas?





Updated with more info



Type asociations looks fine



$ xdg-mime query default text/html
chromium-browser.desktop


Running $ chromium-browser on the console I see the following error each time that I click on "make Chromiun the default browser"



xdg-settings: unknown desktop environment









share|improve this question

























  • Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

    – Carlos Garces
    Nov 3 '15 at 21:42








  • 1





    Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

    – KGIII
    Nov 3 '15 at 22:16











  • Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

    – Carlos Garces
    Nov 4 '15 at 22:49











  • We're going to have to do it the hard way. I'll post an answer in a minute.

    – KGIII
    Nov 4 '15 at 23:04














1












1








1








I'm using Lubuntu 15.10 and I have installed Chromium version 45.0.2454.101.



Use "make Chromium the default browser" not works (I not see any error).



The usual solution in Ubuntu is to open "Preferred Applications" - but I don't have that option on Lubuntu.



I have also tried update-alternatives.



There is only one alternative in link group x-www-browser (providing      
/usr/bin/x-www-browser): /usr/bin/chromium-browser
Nothing to configure.


Any other ideas?





Updated with more info



Type asociations looks fine



$ xdg-mime query default text/html
chromium-browser.desktop


Running $ chromium-browser on the console I see the following error each time that I click on "make Chromiun the default browser"



xdg-settings: unknown desktop environment









share|improve this question
















I'm using Lubuntu 15.10 and I have installed Chromium version 45.0.2454.101.



Use "make Chromium the default browser" not works (I not see any error).



The usual solution in Ubuntu is to open "Preferred Applications" - but I don't have that option on Lubuntu.



I have also tried update-alternatives.



There is only one alternative in link group x-www-browser (providing      
/usr/bin/x-www-browser): /usr/bin/chromium-browser
Nothing to configure.


Any other ideas?





Updated with more info



Type asociations looks fine



$ xdg-mime query default text/html
chromium-browser.desktop


Running $ chromium-browser on the console I see the following error each time that I click on "make Chromiun the default browser"



xdg-settings: unknown desktop environment






lubuntu chromium






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 6 '15 at 14:23







Carlos Garces

















asked Nov 3 '15 at 21:36









Carlos GarcesCarlos Garces

10815




10815













  • Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

    – Carlos Garces
    Nov 3 '15 at 21:42








  • 1





    Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

    – KGIII
    Nov 3 '15 at 22:16











  • Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

    – Carlos Garces
    Nov 4 '15 at 22:49











  • We're going to have to do it the hard way. I'll post an answer in a minute.

    – KGIII
    Nov 4 '15 at 23:04



















  • Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

    – Carlos Garces
    Nov 3 '15 at 21:42








  • 1





    Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

    – KGIII
    Nov 3 '15 at 22:16











  • Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

    – Carlos Garces
    Nov 4 '15 at 22:49











  • We're going to have to do it the hard way. I'll post an answer in a minute.

    – KGIII
    Nov 4 '15 at 23:04

















Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

– Carlos Garces
Nov 3 '15 at 21:42







Running from the console I can see the error when I try to set it as default "xdg-settings: unknown desktop environment".

– Carlos Garces
Nov 3 '15 at 21:42






1




1





Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

– KGIII
Nov 3 '15 at 22:16





Do you see "Default Applications for LXSession" in the menu under preferences? That's where you change that.

– KGIII
Nov 3 '15 at 22:16













Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

– Carlos Garces
Nov 4 '15 at 22:49





Already changed "Default Applications for LXSession", (was x-www-browser)no effect.

– Carlos Garces
Nov 4 '15 at 22:49













We're going to have to do it the hard way. I'll post an answer in a minute.

– KGIII
Nov 4 '15 at 23:04





We're going to have to do it the hard way. I'll post an answer in a minute.

– KGIII
Nov 4 '15 at 23:04










4 Answers
4






active

oldest

votes


















0














This is a known bug for Ubuntu 15.10. See the bug report here.






share|improve this answer































    1














    You can try: Default application for LXSession -> then select the default web browser.



    Also for html files, you can right click on any .html file and set the open with option to chromium. From there on, the default application for all html files would be chromium.






    share|improve this answer

































      1














      I was hoping that we could do this the easy way. It doesn't appear possible but it's still pretty easy. I'll try to shorten it so you can mostly cut and paste.


    • Open the terminal with CTRL+ALT+T.

    • Enter the following: gksudo leafpad ./.config/mimeapps.list

    • Press ENTER.

    • Enter your password.

    • Find this line: text/html=opera-beta.desktop (It will not say Opera for you).

    • Change that line to text/html=chromium-stable (assuming stable build - else beta, I think).

    • Press CTRL+S to save the document and close it.

      Now you might have to reboot or logout for it to take effect. I also have no idea if revisiting the Default Applications will revert it (you can check) but it shouldn't.



      That should do the trick. If not then let me know and I'll go ahead and edit the answer to try one other way - assuming I can find it again. Do, please, let us know if it worked.







    • share|improve this answer
























      • looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

        – Carlos Garces
        Nov 6 '15 at 0:16





















      0














      Simple solution



      Works fine!




      sudo update-alternatives --config x-www-browser
      sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
      sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
      sudo xdg-mime default chromium-browser.desktop text/html






      share|improve this answer























        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%2f693622%2fset-chromium-as-default-browser-under-lubuntu%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        This is a known bug for Ubuntu 15.10. See the bug report here.






        share|improve this answer




























          0














          This is a known bug for Ubuntu 15.10. See the bug report here.






          share|improve this answer


























            0












            0








            0







            This is a known bug for Ubuntu 15.10. See the bug report here.






            share|improve this answer













            This is a known bug for Ubuntu 15.10. See the bug report here.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 8 '15 at 17:15









            saiarcot895saiarcot895

            9,46422333




            9,46422333

























                1














                You can try: Default application for LXSession -> then select the default web browser.



                Also for html files, you can right click on any .html file and set the open with option to chromium. From there on, the default application for all html files would be chromium.






                share|improve this answer






























                  1














                  You can try: Default application for LXSession -> then select the default web browser.



                  Also for html files, you can right click on any .html file and set the open with option to chromium. From there on, the default application for all html files would be chromium.






                  share|improve this answer




























                    1












                    1








                    1







                    You can try: Default application for LXSession -> then select the default web browser.



                    Also for html files, you can right click on any .html file and set the open with option to chromium. From there on, the default application for all html files would be chromium.






                    share|improve this answer















                    You can try: Default application for LXSession -> then select the default web browser.



                    Also for html files, you can right click on any .html file and set the open with option to chromium. From there on, the default application for all html files would be chromium.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 3 '15 at 21:50

























                    answered Nov 3 '15 at 21:44









                    nitish173nitish173

                    113




                    113























                        1














                        I was hoping that we could do this the easy way. It doesn't appear possible but it's still pretty easy. I'll try to shorten it so you can mostly cut and paste.


                      • Open the terminal with CTRL+ALT+T.

                      • Enter the following: gksudo leafpad ./.config/mimeapps.list

                      • Press ENTER.

                      • Enter your password.

                      • Find this line: text/html=opera-beta.desktop (It will not say Opera for you).

                      • Change that line to text/html=chromium-stable (assuming stable build - else beta, I think).

                      • Press CTRL+S to save the document and close it.

                        Now you might have to reboot or logout for it to take effect. I also have no idea if revisiting the Default Applications will revert it (you can check) but it shouldn't.



                        That should do the trick. If not then let me know and I'll go ahead and edit the answer to try one other way - assuming I can find it again. Do, please, let us know if it worked.







                      • share|improve this answer
























                        • looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                          – Carlos Garces
                          Nov 6 '15 at 0:16


















                        1














                        I was hoping that we could do this the easy way. It doesn't appear possible but it's still pretty easy. I'll try to shorten it so you can mostly cut and paste.


                      • Open the terminal with CTRL+ALT+T.

                      • Enter the following: gksudo leafpad ./.config/mimeapps.list

                      • Press ENTER.

                      • Enter your password.

                      • Find this line: text/html=opera-beta.desktop (It will not say Opera for you).

                      • Change that line to text/html=chromium-stable (assuming stable build - else beta, I think).

                      • Press CTRL+S to save the document and close it.

                        Now you might have to reboot or logout for it to take effect. I also have no idea if revisiting the Default Applications will revert it (you can check) but it shouldn't.



                        That should do the trick. If not then let me know and I'll go ahead and edit the answer to try one other way - assuming I can find it again. Do, please, let us know if it worked.







                      • share|improve this answer
























                        • looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                          – Carlos Garces
                          Nov 6 '15 at 0:16
















                        1












                        1








                        1







                        I was hoping that we could do this the easy way. It doesn't appear possible but it's still pretty easy. I'll try to shorten it so you can mostly cut and paste.


                      • Open the terminal with CTRL+ALT+T.

                      • Enter the following: gksudo leafpad ./.config/mimeapps.list

                      • Press ENTER.

                      • Enter your password.

                      • Find this line: text/html=opera-beta.desktop (It will not say Opera for you).

                      • Change that line to text/html=chromium-stable (assuming stable build - else beta, I think).

                      • Press CTRL+S to save the document and close it.

                        Now you might have to reboot or logout for it to take effect. I also have no idea if revisiting the Default Applications will revert it (you can check) but it shouldn't.



                        That should do the trick. If not then let me know and I'll go ahead and edit the answer to try one other way - assuming I can find it again. Do, please, let us know if it worked.







                      • share|improve this answer













                        I was hoping that we could do this the easy way. It doesn't appear possible but it's still pretty easy. I'll try to shorten it so you can mostly cut and paste.


                      • Open the terminal with CTRL+ALT+T.

                      • Enter the following: gksudo leafpad ./.config/mimeapps.list

                      • Press ENTER.

                      • Enter your password.

                      • Find this line: text/html=opera-beta.desktop (It will not say Opera for you).

                      • Change that line to text/html=chromium-stable (assuming stable build - else beta, I think).

                      • Press CTRL+S to save the document and close it.

                        Now you might have to reboot or logout for it to take effect. I also have no idea if revisiting the Default Applications will revert it (you can check) but it shouldn't.



                        That should do the trick. If not then let me know and I'll go ahead and edit the answer to try one other way - assuming I can find it again. Do, please, let us know if it worked.








                      • share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Nov 4 '15 at 23:17









                        KGIIIKGIII

                        1,2511817




                        1,2511817













                        • looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                          – Carlos Garces
                          Nov 6 '15 at 0:16





















                        • looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                          – Carlos Garces
                          Nov 6 '15 at 0:16



















                        looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                        – Carlos Garces
                        Nov 6 '15 at 0:16







                        looks like my mimeapps.list is located at ~/.local/share/applications/mimeapps.list [Added Associations] text/html=chromium-browser.desktop [Default Applications] text/html=chromium-browser.desktop

                        – Carlos Garces
                        Nov 6 '15 at 0:16













                        0














                        Simple solution



                        Works fine!




                        sudo update-alternatives --config x-www-browser
                        sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                        sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
                        sudo xdg-mime default chromium-browser.desktop text/html






                        share|improve this answer




























                          0














                          Simple solution



                          Works fine!




                          sudo update-alternatives --config x-www-browser
                          sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                          sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
                          sudo xdg-mime default chromium-browser.desktop text/html






                          share|improve this answer


























                            0












                            0








                            0







                            Simple solution



                            Works fine!




                            sudo update-alternatives --config x-www-browser
                            sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                            sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
                            sudo xdg-mime default chromium-browser.desktop text/html






                            share|improve this answer













                            Simple solution



                            Works fine!




                            sudo update-alternatives --config x-www-browser
                            sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
                            sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
                            sudo xdg-mime default chromium-browser.desktop text/html







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jan 5 at 22:32









                            Antonio FeitosaAntonio Feitosa

                            59148




                            59148






























                                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%2f693622%2fset-chromium-as-default-browser-under-lubuntu%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

                                How to change which sound is reproduced for terminal bell?

                                Can I use Tabulator js library in my java Spring + Thymeleaf project?

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents