Kubuntu 18.04 can't set default web browser











up vote
9
down vote

favorite












Links in Telegram have been opening random apps (image viewer, Calibre, etc), so I checked System Settings > Applications > Default Applications > Web Browser.



Open URLs "in an application based on the contents of the URL" sounds like the culprit, so I changed to "in the following application (Firefox)".



However after leaving this screen or rebooting (both) the setting reverts:



Image1



I ran system settings from console, but I couldn't see any obvious errors.



Update: I ran a fresh install of Kubuntu 18.04 in a virtual machine and tried this, with the same result. Did all available updates and rebooted, tried it again - same result - even though it was on a fresh, stock system.










share|improve this question
























  • I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
    – Christian Hujer
    Aug 18 at 13:42










  • Out of curiosity, what did you use to record the screen?
    – Christian Hujer
    Aug 18 at 13:55










  • @ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
    – Merritt
    Aug 19 at 14:15















up vote
9
down vote

favorite












Links in Telegram have been opening random apps (image viewer, Calibre, etc), so I checked System Settings > Applications > Default Applications > Web Browser.



Open URLs "in an application based on the contents of the URL" sounds like the culprit, so I changed to "in the following application (Firefox)".



However after leaving this screen or rebooting (both) the setting reverts:



Image1



I ran system settings from console, but I couldn't see any obvious errors.



Update: I ran a fresh install of Kubuntu 18.04 in a virtual machine and tried this, with the same result. Did all available updates and rebooted, tried it again - same result - even though it was on a fresh, stock system.










share|improve this question
























  • I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
    – Christian Hujer
    Aug 18 at 13:42










  • Out of curiosity, what did you use to record the screen?
    – Christian Hujer
    Aug 18 at 13:55










  • @ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
    – Merritt
    Aug 19 at 14:15













up vote
9
down vote

favorite









up vote
9
down vote

favorite











Links in Telegram have been opening random apps (image viewer, Calibre, etc), so I checked System Settings > Applications > Default Applications > Web Browser.



Open URLs "in an application based on the contents of the URL" sounds like the culprit, so I changed to "in the following application (Firefox)".



However after leaving this screen or rebooting (both) the setting reverts:



Image1



I ran system settings from console, but I couldn't see any obvious errors.



Update: I ran a fresh install of Kubuntu 18.04 in a virtual machine and tried this, with the same result. Did all available updates and rebooted, tried it again - same result - even though it was on a fresh, stock system.










share|improve this question















Links in Telegram have been opening random apps (image viewer, Calibre, etc), so I checked System Settings > Applications > Default Applications > Web Browser.



Open URLs "in an application based on the contents of the URL" sounds like the culprit, so I changed to "in the following application (Firefox)".



However after leaving this screen or rebooting (both) the setting reverts:



Image1



I ran system settings from console, but I couldn't see any obvious errors.



Update: I ran a fresh install of Kubuntu 18.04 in a virtual machine and tried this, with the same result. Did all available updates and rebooted, tried it again - same result - even though it was on a fresh, stock system.







kubuntu firefox kde settings browser






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 5 at 13:58

























asked Jun 3 at 23:09









Merritt

465




465












  • I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
    – Christian Hujer
    Aug 18 at 13:42










  • Out of curiosity, what did you use to record the screen?
    – Christian Hujer
    Aug 18 at 13:55










  • @ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
    – Merritt
    Aug 19 at 14:15


















  • I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
    – Christian Hujer
    Aug 18 at 13:42










  • Out of curiosity, what did you use to record the screen?
    – Christian Hujer
    Aug 18 at 13:55










  • @ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
    – Merritt
    Aug 19 at 14:15
















I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
– Christian Hujer
Aug 18 at 13:42




I think this is a bug, and it's new in Kubuntu 18.04. This stuff used to work in Kubuntu 17.10 and 17.04.
– Christian Hujer
Aug 18 at 13:42












Out of curiosity, what did you use to record the screen?
– Christian Hujer
Aug 18 at 13:55




Out of curiosity, what did you use to record the screen?
– Christian Hujer
Aug 18 at 13:55












@ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
– Merritt
Aug 19 at 14:15




@ChristianHujer I believe it was SimpleScreen Recorder maartenbaert.be/simplescreenrecorder
– Merritt
Aug 19 at 14:15










3 Answers
3






active

oldest

votes

















up vote
4
down vote













Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s



Screenshot of Default Applications dialog in Kubuntu 18.04






share|improve this answer




























    up vote
    0
    down vote













    I experienced the same issue. It looks like a bug.



    What helped me was clicking on "File Associations" after "Apply" and then again on "Default Applications". I noticed that my change was applied. After that I closed the settings window and opened it again. My change was still there.



    PS: I could reproduce the issue even in 16.04 LTS






    share|improve this answer




























      up vote
      0
      down vote













      I encountered a similar issue. For me, it was due to the file ~/.config/mimeapps.list not owned by me.

      And it was the only file in this folder not owned by myself.

      So I changed the file owner:



      cd
      cd .config/
      sudo chown myUserName:myUserGroup mimeapps.list


      And then I could update my default applications.






      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',
        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%2f1043324%2fkubuntu-18-04-cant-set-default-web-browser%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        4
        down vote













        Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s



        Screenshot of Default Applications dialog in Kubuntu 18.04






        share|improve this answer

























          up vote
          4
          down vote













          Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s



          Screenshot of Default Applications dialog in Kubuntu 18.04






          share|improve this answer























            up vote
            4
            down vote










            up vote
            4
            down vote









            Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s



            Screenshot of Default Applications dialog in Kubuntu 18.04






            share|improve this answer












            Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s



            Screenshot of Default Applications dialog in Kubuntu 18.04







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 1 at 21:11









            PLA

            4461412




            4461412
























                up vote
                0
                down vote













                I experienced the same issue. It looks like a bug.



                What helped me was clicking on "File Associations" after "Apply" and then again on "Default Applications". I noticed that my change was applied. After that I closed the settings window and opened it again. My change was still there.



                PS: I could reproduce the issue even in 16.04 LTS






                share|improve this answer

























                  up vote
                  0
                  down vote













                  I experienced the same issue. It looks like a bug.



                  What helped me was clicking on "File Associations" after "Apply" and then again on "Default Applications". I noticed that my change was applied. After that I closed the settings window and opened it again. My change was still there.



                  PS: I could reproduce the issue even in 16.04 LTS






                  share|improve this answer























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    I experienced the same issue. It looks like a bug.



                    What helped me was clicking on "File Associations" after "Apply" and then again on "Default Applications". I noticed that my change was applied. After that I closed the settings window and opened it again. My change was still there.



                    PS: I could reproduce the issue even in 16.04 LTS






                    share|improve this answer












                    I experienced the same issue. It looks like a bug.



                    What helped me was clicking on "File Associations" after "Apply" and then again on "Default Applications". I noticed that my change was applied. After that I closed the settings window and opened it again. My change was still there.



                    PS: I could reproduce the issue even in 16.04 LTS







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 19 at 7:34









                    ka3ak

                    1488




                    1488






















                        up vote
                        0
                        down vote













                        I encountered a similar issue. For me, it was due to the file ~/.config/mimeapps.list not owned by me.

                        And it was the only file in this folder not owned by myself.

                        So I changed the file owner:



                        cd
                        cd .config/
                        sudo chown myUserName:myUserGroup mimeapps.list


                        And then I could update my default applications.






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          I encountered a similar issue. For me, it was due to the file ~/.config/mimeapps.list not owned by me.

                          And it was the only file in this folder not owned by myself.

                          So I changed the file owner:



                          cd
                          cd .config/
                          sudo chown myUserName:myUserGroup mimeapps.list


                          And then I could update my default applications.






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            I encountered a similar issue. For me, it was due to the file ~/.config/mimeapps.list not owned by me.

                            And it was the only file in this folder not owned by myself.

                            So I changed the file owner:



                            cd
                            cd .config/
                            sudo chown myUserName:myUserGroup mimeapps.list


                            And then I could update my default applications.






                            share|improve this answer












                            I encountered a similar issue. For me, it was due to the file ~/.config/mimeapps.list not owned by me.

                            And it was the only file in this folder not owned by myself.

                            So I changed the file owner:



                            cd
                            cd .config/
                            sudo chown myUserName:myUserGroup mimeapps.list


                            And then I could update my default applications.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 11 at 18:32









                            FloT

                            18711




                            18711






























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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%2f1043324%2fkubuntu-18-04-cant-set-default-web-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

                                Category:香港粉麵

                                List *all* the tuples!

                                Channel [V]