Launch Firefox using a custom GTK theme

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I found how to launch Firefox using this line of code with custom theme:



bash -c 'GTK_THEME="Arc-Darker-GalliumOS" firefox %u'


The thing is that when I open a link from an application it uses the default theme, which doesn't work well with Firefox.



So I opened up Preferred Applications and set as default web browser this line of code.



When I tested that, instead of opening the URL, it just went to www.%u.com



How can I fix that?










share|improve this question



























    up vote
    1
    down vote

    favorite












    I found how to launch Firefox using this line of code with custom theme:



    bash -c 'GTK_THEME="Arc-Darker-GalliumOS" firefox %u'


    The thing is that when I open a link from an application it uses the default theme, which doesn't work well with Firefox.



    So I opened up Preferred Applications and set as default web browser this line of code.



    When I tested that, instead of opening the URL, it just went to www.%u.com



    How can I fix that?










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I found how to launch Firefox using this line of code with custom theme:



      bash -c 'GTK_THEME="Arc-Darker-GalliumOS" firefox %u'


      The thing is that when I open a link from an application it uses the default theme, which doesn't work well with Firefox.



      So I opened up Preferred Applications and set as default web browser this line of code.



      When I tested that, instead of opening the URL, it just went to www.%u.com



      How can I fix that?










      share|improve this question















      I found how to launch Firefox using this line of code with custom theme:



      bash -c 'GTK_THEME="Arc-Darker-GalliumOS" firefox %u'


      The thing is that when I open a link from an application it uses the default theme, which doesn't work well with Firefox.



      So I opened up Preferred Applications and set as default web browser this line of code.



      When I tested that, instead of opening the URL, it just went to www.%u.com



      How can I fix that?







      firefox themes xfce default-browser






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 22 at 9:35









      David Foerster

      26.4k1362106




      26.4k1362106










      asked Mar 11 at 14:10









      Jimster

      65




      65




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote














          • from bash (terminal emulator)



            GTK_THEME=Arc-Darker-GalliumOS firefox



          • from a shortcut icon (~/.local/share/applications/firefox.desktop)



            Exec=env GTK_THEME=Arc-Darker-GalliumOS firefox %u






          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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1013897%2flaunch-firefox-using-a-custom-gtk-theme%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote














            • from bash (terminal emulator)



              GTK_THEME=Arc-Darker-GalliumOS firefox



            • from a shortcut icon (~/.local/share/applications/firefox.desktop)



              Exec=env GTK_THEME=Arc-Darker-GalliumOS firefox %u






            share|improve this answer


























              up vote
              1
              down vote














              • from bash (terminal emulator)



                GTK_THEME=Arc-Darker-GalliumOS firefox



              • from a shortcut icon (~/.local/share/applications/firefox.desktop)



                Exec=env GTK_THEME=Arc-Darker-GalliumOS firefox %u






              share|improve this answer
























                up vote
                1
                down vote










                up vote
                1
                down vote










                • from bash (terminal emulator)



                  GTK_THEME=Arc-Darker-GalliumOS firefox



                • from a shortcut icon (~/.local/share/applications/firefox.desktop)



                  Exec=env GTK_THEME=Arc-Darker-GalliumOS firefox %u






                share|improve this answer















                • from bash (terminal emulator)



                  GTK_THEME=Arc-Darker-GalliumOS firefox



                • from a shortcut icon (~/.local/share/applications/firefox.desktop)



                  Exec=env GTK_THEME=Arc-Darker-GalliumOS firefox %u







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 22 at 9:34









                David Foerster

                26.4k1362106




                26.4k1362106










                answered Apr 22 at 8:03









                ustick

                908




                908



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013897%2flaunch-firefox-using-a-custom-gtk-theme%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491