Is combinining more than one gsettings options for click-action on Ubuntu dock possible?












2















I'm using Ubuntu 18.04. I would like to use two different settings for click-action on the Ubuntu dock.



gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


When using this two commands only the last one is working. These commands are overwriting each other.



Is there a way to have both active at the same time?










share|improve this question





























    2















    I'm using Ubuntu 18.04. I would like to use two different settings for click-action on the Ubuntu dock.



    gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'

    gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


    When using this two commands only the last one is working. These commands are overwriting each other.



    Is there a way to have both active at the same time?










    share|improve this question



























      2












      2








      2


      1






      I'm using Ubuntu 18.04. I would like to use two different settings for click-action on the Ubuntu dock.



      gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'

      gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


      When using this two commands only the last one is working. These commands are overwriting each other.



      Is there a way to have both active at the same time?










      share|improve this question
















      I'm using Ubuntu 18.04. I would like to use two different settings for click-action on the Ubuntu dock.



      gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'

      gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


      When using this two commands only the last one is working. These commands are overwriting each other.



      Is there a way to have both active at the same time?







      18.04 gnome-shell ubuntu-dock gsettings






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 10:59









      pomsky

      31.2k1194127




      31.2k1194127










      asked May 15 '18 at 15:43









      ZimmerBaumZimmerBaum

      353




      353






















          1 Answer
          1






          active

          oldest

          votes


















          2














          No, it's not possible (yet). Dash to Dock developers did implement a 'minimize-or-previews' action in version 63, but this version is not available in the official site yet and Ubuntu dock being a fork of Dash to Dock also doesn't support the action yet.



          But you can set one action to mouse click and another to Shift+mouse-click as an alternative. For example, run



          gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


          to set 'minimize' action to mouse-click. Then run



          gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'previews'


          to set 'previews' action to Shift+mouse-click.






          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%2f1036589%2fis-combinining-more-than-one-gsettings-options-for-click-action-on-ubuntu-dock-p%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            No, it's not possible (yet). Dash to Dock developers did implement a 'minimize-or-previews' action in version 63, but this version is not available in the official site yet and Ubuntu dock being a fork of Dash to Dock also doesn't support the action yet.



            But you can set one action to mouse click and another to Shift+mouse-click as an alternative. For example, run



            gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


            to set 'minimize' action to mouse-click. Then run



            gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'previews'


            to set 'previews' action to Shift+mouse-click.






            share|improve this answer






























              2














              No, it's not possible (yet). Dash to Dock developers did implement a 'minimize-or-previews' action in version 63, but this version is not available in the official site yet and Ubuntu dock being a fork of Dash to Dock also doesn't support the action yet.



              But you can set one action to mouse click and another to Shift+mouse-click as an alternative. For example, run



              gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


              to set 'minimize' action to mouse-click. Then run



              gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'previews'


              to set 'previews' action to Shift+mouse-click.






              share|improve this answer




























                2












                2








                2







                No, it's not possible (yet). Dash to Dock developers did implement a 'minimize-or-previews' action in version 63, but this version is not available in the official site yet and Ubuntu dock being a fork of Dash to Dock also doesn't support the action yet.



                But you can set one action to mouse click and another to Shift+mouse-click as an alternative. For example, run



                gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


                to set 'minimize' action to mouse-click. Then run



                gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'previews'


                to set 'previews' action to Shift+mouse-click.






                share|improve this answer















                No, it's not possible (yet). Dash to Dock developers did implement a 'minimize-or-previews' action in version 63, but this version is not available in the official site yet and Ubuntu dock being a fork of Dash to Dock also doesn't support the action yet.



                But you can set one action to mouse click and another to Shift+mouse-click as an alternative. For example, run



                gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


                to set 'minimize' action to mouse-click. Then run



                gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'previews'


                to set 'previews' action to Shift+mouse-click.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 15 '18 at 15:58

























                answered May 15 '18 at 15:52









                pomskypomsky

                31.2k1194127




                31.2k1194127






























                    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%2f1036589%2fis-combinining-more-than-one-gsettings-options-for-click-action-on-ubuntu-dock-p%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido