Something blocks Ctrl+Alt+left/right-arrow keyboard combination











up vote
14
down vote

favorite
2












In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+ or Ctrl+Alt+ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.



See screenshot here.



The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.










share|improve this question




























    up vote
    14
    down vote

    favorite
    2












    In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+ or Ctrl+Alt+ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.



    See screenshot here.



    The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.










    share|improve this question


























      up vote
      14
      down vote

      favorite
      2









      up vote
      14
      down vote

      favorite
      2






      2





      In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+ or Ctrl+Alt+ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.



      See screenshot here.



      The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.










      share|improve this question















      In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+ or Ctrl+Alt+ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.



      See screenshot here.



      The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.







      keyboard shortcut-keys 18.04 gnome-shell






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 1 at 3:07









      pomsky

      27.9k1185112




      27.9k1185112










      asked May 30 at 10:24









      MrMamen

      734




      734






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          8
          down vote



          accepted










          Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running



          gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left


          (and right in place of left).



          Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).



          To unbind these keyboard combinations, run



          gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""


          (similarly for right). Then you'll be able to use these combinations for your custom shortcuts.






          share|improve this answer























          • Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
            – MrMamen
            Jun 1 at 13:08






          • 1




            Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
            – MrMamen
            Jun 1 at 13:14










          • @MrMamen Thanks for the info, I edited the answer.
            – pomsky
            Jun 1 at 13:16


















          up vote
          0
          down vote













          The problem is that the Ubuntu 18.04 Settings GUI doesn't show all the keyboard shortcuts.




          • It doesn't list "Move (Switch) to workspace to the left/right" (even though there is a shortcut assigned).

          • It only shows the first keyboard shortcut if there are multiple shortcuts for a command, like for "Move (Switch) to workspace above/below", which actually has a second keybinding for Ctrl+Alt+up/down.


          enter image description here



          To see all of the window manager keybindings:



          gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort

          org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']
          org.gnome.desktop.wm.keybindings switch-to-workspace-left ['<Control><Alt>Left']
          org.gnome.desktop.wm.keybindings switch-to-workspace-right ['<Control><Alt>Right']
          org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']


          Now, you can see that there are a bunch of Ctrl+Alt+up/down/left/right keybindings that weren't shown in the Settings screen.



          To remove the unwanted keybindings:



          gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
          gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"
          gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
          gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right ""


          Now you can use keybindings in other places.






          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%2f1041914%2fsomething-blocks-ctrlaltleft-right-arrow-keyboard-combination%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            8
            down vote



            accepted










            Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running



            gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left


            (and right in place of left).



            Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).



            To unbind these keyboard combinations, run



            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""


            (similarly for right). Then you'll be able to use these combinations for your custom shortcuts.






            share|improve this answer























            • Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
              – MrMamen
              Jun 1 at 13:08






            • 1




              Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
              – MrMamen
              Jun 1 at 13:14










            • @MrMamen Thanks for the info, I edited the answer.
              – pomsky
              Jun 1 at 13:16















            up vote
            8
            down vote



            accepted










            Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running



            gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left


            (and right in place of left).



            Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).



            To unbind these keyboard combinations, run



            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""


            (similarly for right). Then you'll be able to use these combinations for your custom shortcuts.






            share|improve this answer























            • Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
              – MrMamen
              Jun 1 at 13:08






            • 1




              Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
              – MrMamen
              Jun 1 at 13:14










            • @MrMamen Thanks for the info, I edited the answer.
              – pomsky
              Jun 1 at 13:16













            up vote
            8
            down vote



            accepted







            up vote
            8
            down vote



            accepted






            Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running



            gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left


            (and right in place of left).



            Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).



            To unbind these keyboard combinations, run



            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""


            (similarly for right). Then you'll be able to use these combinations for your custom shortcuts.






            share|improve this answer














            Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running



            gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left


            (and right in place of left).



            Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).



            To unbind these keyboard combinations, run



            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""


            (similarly for right). Then you'll be able to use these combinations for your custom shortcuts.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 1 at 13:15

























            answered May 31 at 19:24









            pomsky

            27.9k1185112




            27.9k1185112












            • Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
              – MrMamen
              Jun 1 at 13:08






            • 1




              Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
              – MrMamen
              Jun 1 at 13:14










            • @MrMamen Thanks for the info, I edited the answer.
              – pomsky
              Jun 1 at 13:16


















            • Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
              – MrMamen
              Jun 1 at 13:08






            • 1




              Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
              – MrMamen
              Jun 1 at 13:14










            • @MrMamen Thanks for the info, I edited the answer.
              – pomsky
              Jun 1 at 13:16
















            Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
            – MrMamen
            Jun 1 at 13:08




            Very interesting that it still shows up when i try "get" on these, even though I have removed them from keyboard settings i GUI. However settting doesn't seem to work: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left zsh: no matches found: ➜ ~ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [''] zsh: no matches found:
            – MrMamen
            Jun 1 at 13:08




            1




            1




            Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
            – MrMamen
            Jun 1 at 13:14




            Worked when using quotes around the brackets, like: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
            – MrMamen
            Jun 1 at 13:14












            @MrMamen Thanks for the info, I edited the answer.
            – pomsky
            Jun 1 at 13:16




            @MrMamen Thanks for the info, I edited the answer.
            – pomsky
            Jun 1 at 13:16












            up vote
            0
            down vote













            The problem is that the Ubuntu 18.04 Settings GUI doesn't show all the keyboard shortcuts.




            • It doesn't list "Move (Switch) to workspace to the left/right" (even though there is a shortcut assigned).

            • It only shows the first keyboard shortcut if there are multiple shortcuts for a command, like for "Move (Switch) to workspace above/below", which actually has a second keybinding for Ctrl+Alt+up/down.


            enter image description here



            To see all of the window manager keybindings:



            gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort

            org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']
            org.gnome.desktop.wm.keybindings switch-to-workspace-left ['<Control><Alt>Left']
            org.gnome.desktop.wm.keybindings switch-to-workspace-right ['<Control><Alt>Right']
            org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']


            Now, you can see that there are a bunch of Ctrl+Alt+up/down/left/right keybindings that weren't shown in the Settings screen.



            To remove the unwanted keybindings:



            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"
            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
            gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right ""


            Now you can use keybindings in other places.






            share|improve this answer



























              up vote
              0
              down vote













              The problem is that the Ubuntu 18.04 Settings GUI doesn't show all the keyboard shortcuts.




              • It doesn't list "Move (Switch) to workspace to the left/right" (even though there is a shortcut assigned).

              • It only shows the first keyboard shortcut if there are multiple shortcuts for a command, like for "Move (Switch) to workspace above/below", which actually has a second keybinding for Ctrl+Alt+up/down.


              enter image description here



              To see all of the window manager keybindings:



              gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort

              org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']
              org.gnome.desktop.wm.keybindings switch-to-workspace-left ['<Control><Alt>Left']
              org.gnome.desktop.wm.keybindings switch-to-workspace-right ['<Control><Alt>Right']
              org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']


              Now, you can see that there are a bunch of Ctrl+Alt+up/down/left/right keybindings that weren't shown in the Settings screen.



              To remove the unwanted keybindings:



              gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
              gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"
              gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
              gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right ""


              Now you can use keybindings in other places.






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                The problem is that the Ubuntu 18.04 Settings GUI doesn't show all the keyboard shortcuts.




                • It doesn't list "Move (Switch) to workspace to the left/right" (even though there is a shortcut assigned).

                • It only shows the first keyboard shortcut if there are multiple shortcuts for a command, like for "Move (Switch) to workspace above/below", which actually has a second keybinding for Ctrl+Alt+up/down.


                enter image description here



                To see all of the window manager keybindings:



                gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort

                org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']
                org.gnome.desktop.wm.keybindings switch-to-workspace-left ['<Control><Alt>Left']
                org.gnome.desktop.wm.keybindings switch-to-workspace-right ['<Control><Alt>Right']
                org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']


                Now, you can see that there are a bunch of Ctrl+Alt+up/down/left/right keybindings that weren't shown in the Settings screen.



                To remove the unwanted keybindings:



                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right ""


                Now you can use keybindings in other places.






                share|improve this answer














                The problem is that the Ubuntu 18.04 Settings GUI doesn't show all the keyboard shortcuts.




                • It doesn't list "Move (Switch) to workspace to the left/right" (even though there is a shortcut assigned).

                • It only shows the first keyboard shortcut if there are multiple shortcuts for a command, like for "Move (Switch) to workspace above/below", which actually has a second keybinding for Ctrl+Alt+up/down.


                enter image description here



                To see all of the window manager keybindings:



                gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort

                org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']
                org.gnome.desktop.wm.keybindings switch-to-workspace-left ['<Control><Alt>Left']
                org.gnome.desktop.wm.keybindings switch-to-workspace-right ['<Control><Alt>Right']
                org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']


                Now, you can see that there are a bunch of Ctrl+Alt+up/down/left/right keybindings that weren't shown in the Settings screen.



                To remove the unwanted keybindings:



                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left ""
                gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right ""


                Now you can use keybindings in other places.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 days ago









                mature

                1,447422




                1,447422










                answered Dec 4 at 19:47









                wisbucky

                73488




                73488






























                    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%2f1041914%2fsomething-blocks-ctrlaltleft-right-arrow-keyboard-combination%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á

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕