Gnome 3.22: disable alt+shift keyboard layout switching











up vote
13
down vote

favorite
5












After the latest upgrade on Debian stretch, hitting alt+shift on my keyboard make it change layout, which breaks all my alt+shift+<anything> xbindkeys shortcuts.



I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.



In Settings -> Languages, it is said that this alt+shift behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys can work around this?










share|improve this question


























    up vote
    13
    down vote

    favorite
    5












    After the latest upgrade on Debian stretch, hitting alt+shift on my keyboard make it change layout, which breaks all my alt+shift+<anything> xbindkeys shortcuts.



    I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.



    In Settings -> Languages, it is said that this alt+shift behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys can work around this?










    share|improve this question
























      up vote
      13
      down vote

      favorite
      5









      up vote
      13
      down vote

      favorite
      5






      5





      After the latest upgrade on Debian stretch, hitting alt+shift on my keyboard make it change layout, which breaks all my alt+shift+<anything> xbindkeys shortcuts.



      I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.



      In Settings -> Languages, it is said that this alt+shift behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys can work around this?










      share|improve this question













      After the latest upgrade on Debian stretch, hitting alt+shift on my keyboard make it change layout, which breaks all my alt+shift+<anything> xbindkeys shortcuts.



      I have disabled all shortcuts in Settings -> Keyboard -> Input. Still the same.



      In Settings -> Languages, it is said that this alt+shift behaviour can be tweaked in.. Settings -> Keyboard. But alt+shift seems to be set nowhere there. Is it hardcoded? Is there a way xbindkeys can work around this?







      gnome keyboard-shortcuts gnome3 keyboard-layout






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 28 '16 at 20:58









      iago-lito

      7391824




      7391824






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          26
          down vote



          accepted










          Okay, got it: this line in my /etc/default/keyboard



          XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


          .. should not contain grp:alt_shift_toggle, which is the relevant xkb option according to this post.



          In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:



          $ dconf read /org/gnome/desktop/input-sources/xkb-options
          ['grp:alt_shift_toggle','grp_led:scroll']


          .. should not read grp:alt_shift_toggle on my machine as well. So after I ran:



          dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"


          I got my good'ol behaviour back ;)





          I have filed this as a bug to Gnome.






          share|improve this answer























          • I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
            – hb20007
            Sep 8 at 17:47










          • @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
            – iago-lito
            Sep 8 at 17:53










          • gnome-shell --version gives 3.18.5
            – hb20007
            Sep 8 at 18:46






          • 1




            @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
            – iago-lito
            Sep 8 at 18:50


















          up vote
          0
          down vote













          Also this is another option in graphical mode (gnome 3.22):




          1. Open the gnome 'tweak tool' or type gnome-tweak-tool on a terminal

          2. Go to the 'Typing' tab

          3. Click on 'Switching to another layout'

          4. Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift






          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: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f333368%2fgnome-3-22-disable-altshift-keyboard-layout-switching%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
            26
            down vote



            accepted










            Okay, got it: this line in my /etc/default/keyboard



            XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


            .. should not contain grp:alt_shift_toggle, which is the relevant xkb option according to this post.



            In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:



            $ dconf read /org/gnome/desktop/input-sources/xkb-options
            ['grp:alt_shift_toggle','grp_led:scroll']


            .. should not read grp:alt_shift_toggle on my machine as well. So after I ran:



            dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"


            I got my good'ol behaviour back ;)





            I have filed this as a bug to Gnome.






            share|improve this answer























            • I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
              – hb20007
              Sep 8 at 17:47










            • @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
              – iago-lito
              Sep 8 at 17:53










            • gnome-shell --version gives 3.18.5
              – hb20007
              Sep 8 at 18:46






            • 1




              @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
              – iago-lito
              Sep 8 at 18:50















            up vote
            26
            down vote



            accepted










            Okay, got it: this line in my /etc/default/keyboard



            XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


            .. should not contain grp:alt_shift_toggle, which is the relevant xkb option according to this post.



            In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:



            $ dconf read /org/gnome/desktop/input-sources/xkb-options
            ['grp:alt_shift_toggle','grp_led:scroll']


            .. should not read grp:alt_shift_toggle on my machine as well. So after I ran:



            dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"


            I got my good'ol behaviour back ;)





            I have filed this as a bug to Gnome.






            share|improve this answer























            • I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
              – hb20007
              Sep 8 at 17:47










            • @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
              – iago-lito
              Sep 8 at 17:53










            • gnome-shell --version gives 3.18.5
              – hb20007
              Sep 8 at 18:46






            • 1




              @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
              – iago-lito
              Sep 8 at 18:50













            up vote
            26
            down vote



            accepted







            up vote
            26
            down vote



            accepted






            Okay, got it: this line in my /etc/default/keyboard



            XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


            .. should not contain grp:alt_shift_toggle, which is the relevant xkb option according to this post.



            In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:



            $ dconf read /org/gnome/desktop/input-sources/xkb-options
            ['grp:alt_shift_toggle','grp_led:scroll']


            .. should not read grp:alt_shift_toggle on my machine as well. So after I ran:



            dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"


            I got my good'ol behaviour back ;)





            I have filed this as a bug to Gnome.






            share|improve this answer














            Okay, got it: this line in my /etc/default/keyboard



            XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"


            .. should not contain grp:alt_shift_toggle, which is the relevant xkb option according to this post.



            In addition, Gnome overrides xkb options according to this other post. As a consequence, this output:



            $ dconf read /org/gnome/desktop/input-sources/xkb-options
            ['grp:alt_shift_toggle','grp_led:scroll']


            .. should not read grp:alt_shift_toggle on my machine as well. So after I ran:



            dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"


            I got my good'ol behaviour back ;)





            I have filed this as a bug to Gnome.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 12 at 10:44

























            answered Dec 28 '16 at 22:25









            iago-lito

            7391824




            7391824












            • I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
              – hb20007
              Sep 8 at 17:47










            • @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
              – iago-lito
              Sep 8 at 17:53










            • gnome-shell --version gives 3.18.5
              – hb20007
              Sep 8 at 18:46






            • 1




              @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
              – iago-lito
              Sep 8 at 18:50


















            • I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
              – hb20007
              Sep 8 at 17:47










            • @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
              – iago-lito
              Sep 8 at 17:53










            • gnome-shell --version gives 3.18.5
              – hb20007
              Sep 8 at 18:46






            • 1




              @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
              – iago-lito
              Sep 8 at 18:50
















            I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
            – hb20007
            Sep 8 at 17:47




            I was able to disable the Alt + Shift shortcut for changing keyboard layout by disabling the shortcut in Settings > Keyboard > Shortcuts > Typings > Modifiers-only switch to next source. Yes, the name is quite vague but you can see that it's mapped to Alt + Shift.
            – hb20007
            Sep 8 at 17:47












            @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
            – iago-lito
            Sep 8 at 17:53




            @hb20007 I think this is the naive first try that surprisingly didn't work in my case back then. However, the navigation was a little different from the one you are describing. Which version of gnome are you talking about?
            – iago-lito
            Sep 8 at 17:53












            gnome-shell --version gives 3.18.5
            – hb20007
            Sep 8 at 18:46




            gnome-shell --version gives 3.18.5
            – hb20007
            Sep 8 at 18:46




            1




            1




            @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
            – iago-lito
            Sep 8 at 18:50




            @hb20007 Okay, I get it then. This post is about a problem occuring on 3.22, which is the reason why it works fine in your case :)
            – iago-lito
            Sep 8 at 18:50












            up vote
            0
            down vote













            Also this is another option in graphical mode (gnome 3.22):




            1. Open the gnome 'tweak tool' or type gnome-tweak-tool on a terminal

            2. Go to the 'Typing' tab

            3. Click on 'Switching to another layout'

            4. Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift






            share|improve this answer



























              up vote
              0
              down vote













              Also this is another option in graphical mode (gnome 3.22):




              1. Open the gnome 'tweak tool' or type gnome-tweak-tool on a terminal

              2. Go to the 'Typing' tab

              3. Click on 'Switching to another layout'

              4. Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                Also this is another option in graphical mode (gnome 3.22):




                1. Open the gnome 'tweak tool' or type gnome-tweak-tool on a terminal

                2. Go to the 'Typing' tab

                3. Click on 'Switching to another layout'

                4. Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift






                share|improve this answer














                Also this is another option in graphical mode (gnome 3.22):




                1. Open the gnome 'tweak tool' or type gnome-tweak-tool on a terminal

                2. Go to the 'Typing' tab

                3. Click on 'Switching to another layout'

                4. Choose your favorite shortcut avoiding Ctrl+Shift and Alt+Shift







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday









                mature

                1292




                1292










                answered Nov 12 at 4:17









                S. Pedraza

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f333368%2fgnome-3-22-disable-altshift-keyboard-layout-switching%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

                    サソリ

                    広島県道265号伴広島線

                    Accessing regular linux commands in Huawei's Dopra Linux