How to remove on press effect from a theme?

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











up vote
0
down vote

favorite












I am modifying the Greybird theme for xfce, and there is something that I want to remove but I can't find where the code for it is located. I already figured out how to change the colors when the window 'tab' is active on panel, and so on, and all of that was so far located in $THEME/gtk-2.0/gtkrc and $THEME/gtk-2.0/apps/xfce-panel.rc. Now there is an effect in Greybird theme, when you press a launcher, or wifi indicator, or window on window list on panel, it kind of sinks in, or moves a little to bottom-right, giving an impression that a button was pressed. I want to remove that effect and I don't know where to look anymore. Can someone experienced in theming tell me where to look?







share|improve this question
























    up vote
    0
    down vote

    favorite












    I am modifying the Greybird theme for xfce, and there is something that I want to remove but I can't find where the code for it is located. I already figured out how to change the colors when the window 'tab' is active on panel, and so on, and all of that was so far located in $THEME/gtk-2.0/gtkrc and $THEME/gtk-2.0/apps/xfce-panel.rc. Now there is an effect in Greybird theme, when you press a launcher, or wifi indicator, or window on window list on panel, it kind of sinks in, or moves a little to bottom-right, giving an impression that a button was pressed. I want to remove that effect and I don't know where to look anymore. Can someone experienced in theming tell me where to look?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am modifying the Greybird theme for xfce, and there is something that I want to remove but I can't find where the code for it is located. I already figured out how to change the colors when the window 'tab' is active on panel, and so on, and all of that was so far located in $THEME/gtk-2.0/gtkrc and $THEME/gtk-2.0/apps/xfce-panel.rc. Now there is an effect in Greybird theme, when you press a launcher, or wifi indicator, or window on window list on panel, it kind of sinks in, or moves a little to bottom-right, giving an impression that a button was pressed. I want to remove that effect and I don't know where to look anymore. Can someone experienced in theming tell me where to look?







      share|improve this question












      I am modifying the Greybird theme for xfce, and there is something that I want to remove but I can't find where the code for it is located. I already figured out how to change the colors when the window 'tab' is active on panel, and so on, and all of that was so far located in $THEME/gtk-2.0/gtkrc and $THEME/gtk-2.0/apps/xfce-panel.rc. Now there is an effect in Greybird theme, when you press a launcher, or wifi indicator, or window on window list on panel, it kind of sinks in, or moves a little to bottom-right, giving an impression that a button was pressed. I want to remove that effect and I don't know where to look anymore. Can someone experienced in theming tell me where to look?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 5 at 21:41









      Nebeski

      1112




      1112




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file:



          GtkButton ::child-displacement-x = 1
          GtkButton ::child-displacement-y = 1


          Setting these two to 0 removes the press effect.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f415094%2fhow-to-remove-on-press-effect-from-a-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



            accepted










            I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file:



            GtkButton ::child-displacement-x = 1
            GtkButton ::child-displacement-y = 1


            Setting these two to 0 removes the press effect.






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file:



              GtkButton ::child-displacement-x = 1
              GtkButton ::child-displacement-y = 1


              Setting these two to 0 removes the press effect.






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file:



                GtkButton ::child-displacement-x = 1
                GtkButton ::child-displacement-y = 1


                Setting these two to 0 removes the press effect.






                share|improve this answer












                I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file:



                GtkButton ::child-displacement-x = 1
                GtkButton ::child-displacement-y = 1


                Setting these two to 0 removes the press effect.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 8 at 0:45









                Nebeski

                1112




                1112






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f415094%2fhow-to-remove-on-press-effect-from-a-theme%23new-answer', 'question_page');

                    );

                    Post as a guest