Ubuntu 17.10 and later: can't change the input switching shortcut to alt+shift












68














When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't.



I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some stupid reason it does not allow (actually nothing happens its not like I get an error or the combo is used elsewhere). How could I bypass this bug?










share|improve this question





























    68














    When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't.



    I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some stupid reason it does not allow (actually nothing happens its not like I get an error or the combo is used elsewhere). How could I bypass this bug?










    share|improve this question



























      68












      68








      68


      21





      When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't.



      I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some stupid reason it does not allow (actually nothing happens its not like I get an error or the combo is used elsewhere). How could I bypass this bug?










      share|improve this question















      When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't.



      I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some stupid reason it does not allow (actually nothing happens its not like I get an error or the combo is used elsewhere). How could I bypass this bug?







      shortcut-keys 17.10 keyboard-layout gnome-shell settings






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 13 '18 at 8:54









      pomsky

      28.6k1188113




      28.6k1188113










      asked Oct 21 '17 at 20:40









      papajo

      7822721




      7822721






















          2 Answers
          2






          active

          oldest

          votes


















          108














          You may use (GNOME) Tweaks to achieve your goal. First install it by running



          sudo apt install gnome-tweaks


          (on Ubuntu 18.04 and later) or



          sudo apt install gnome-tweak-tool


          Launch Tweaks and go to Keyboard & Mouse section. Click on the "Additional Layout Options".



          enter image description here



          A new window should pop up. Look for "Switching to another layout" and expand it. Then check the "Alt+Shift" option.



          enter image description here






          share|improve this answer



















          • 7




            What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
            – papajo
            Oct 22 '17 at 12:58








          • 2




            Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
            – N0rbert
            Oct 22 '17 at 16:07










          • @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
            – pomsky
            Nov 1 '17 at 9:18






          • 1




            @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
            – pomsky
            Nov 20 '17 at 18:53






          • 1




            What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
            – vivanov
            Aug 23 '18 at 19:35



















          33














          You can achieve this using gsettings (command-line configuration tool).





          1. Set forward switch to Shift+Alt(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"



          2. Set backward switch to Alt+Shift(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"



          To see the current setting value use get command:



          gsettings get org.gnome.desktop.wm.keybindings switch-input-source
          gsettings get org.gnome.desktop.wm.keybindings switch-input-source-backward


          Examples of other key bindings:



          <Primary>space, Alt_R, <Shift>Control_R, <Shift><Super>space


          Changes will take effect immediately.






          share|improve this answer



















          • 7




            This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
            – laugh
            Apr 18 '18 at 9:55












          • YOU ARE A HERO!
            – php_nub_qq
            Jul 30 '18 at 7:51










          • This must be the accepted answer :)
            – luben
            Sep 18 '18 at 15:12










          protected by Community Aug 21 '18 at 7:21



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?














          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          108














          You may use (GNOME) Tweaks to achieve your goal. First install it by running



          sudo apt install gnome-tweaks


          (on Ubuntu 18.04 and later) or



          sudo apt install gnome-tweak-tool


          Launch Tweaks and go to Keyboard & Mouse section. Click on the "Additional Layout Options".



          enter image description here



          A new window should pop up. Look for "Switching to another layout" and expand it. Then check the "Alt+Shift" option.



          enter image description here






          share|improve this answer



















          • 7




            What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
            – papajo
            Oct 22 '17 at 12:58








          • 2




            Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
            – N0rbert
            Oct 22 '17 at 16:07










          • @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
            – pomsky
            Nov 1 '17 at 9:18






          • 1




            @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
            – pomsky
            Nov 20 '17 at 18:53






          • 1




            What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
            – vivanov
            Aug 23 '18 at 19:35
















          108














          You may use (GNOME) Tweaks to achieve your goal. First install it by running



          sudo apt install gnome-tweaks


          (on Ubuntu 18.04 and later) or



          sudo apt install gnome-tweak-tool


          Launch Tweaks and go to Keyboard & Mouse section. Click on the "Additional Layout Options".



          enter image description here



          A new window should pop up. Look for "Switching to another layout" and expand it. Then check the "Alt+Shift" option.



          enter image description here






          share|improve this answer



















          • 7




            What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
            – papajo
            Oct 22 '17 at 12:58








          • 2




            Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
            – N0rbert
            Oct 22 '17 at 16:07










          • @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
            – pomsky
            Nov 1 '17 at 9:18






          • 1




            @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
            – pomsky
            Nov 20 '17 at 18:53






          • 1




            What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
            – vivanov
            Aug 23 '18 at 19:35














          108












          108








          108






          You may use (GNOME) Tweaks to achieve your goal. First install it by running



          sudo apt install gnome-tweaks


          (on Ubuntu 18.04 and later) or



          sudo apt install gnome-tweak-tool


          Launch Tweaks and go to Keyboard & Mouse section. Click on the "Additional Layout Options".



          enter image description here



          A new window should pop up. Look for "Switching to another layout" and expand it. Then check the "Alt+Shift" option.



          enter image description here






          share|improve this answer














          You may use (GNOME) Tweaks to achieve your goal. First install it by running



          sudo apt install gnome-tweaks


          (on Ubuntu 18.04 and later) or



          sudo apt install gnome-tweak-tool


          Launch Tweaks and go to Keyboard & Mouse section. Click on the "Additional Layout Options".



          enter image description here



          A new window should pop up. Look for "Switching to another layout" and expand it. Then check the "Alt+Shift" option.



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 25 '18 at 8:14

























          answered Oct 22 '17 at 8:24









          pomsky

          28.6k1188113




          28.6k1188113








          • 7




            What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
            – papajo
            Oct 22 '17 at 12:58








          • 2




            Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
            – N0rbert
            Oct 22 '17 at 16:07










          • @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
            – pomsky
            Nov 1 '17 at 9:18






          • 1




            @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
            – pomsky
            Nov 20 '17 at 18:53






          • 1




            What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
            – vivanov
            Aug 23 '18 at 19:35














          • 7




            What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
            – papajo
            Oct 22 '17 at 12:58








          • 2




            Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
            – N0rbert
            Oct 22 '17 at 16:07










          • @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
            – pomsky
            Nov 1 '17 at 9:18






          • 1




            @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
            – pomsky
            Nov 20 '17 at 18:53






          • 1




            What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
            – vivanov
            Aug 23 '18 at 19:35








          7




          7




          What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
          – papajo
          Oct 22 '17 at 12:58






          What a mess.. and I am lucky since there are only hardcoded options and the one I want is in there.. :P I already miss unity ... Thanks m8! Also such a cute puppy! ^^
          – papajo
          Oct 22 '17 at 12:58






          2




          2




          Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
          – N0rbert
          Oct 22 '17 at 16:07




          Also it is well known bug 1218322. Only gnome-tweak-tool solve this problem.
          – N0rbert
          Oct 22 '17 at 16:07












          @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
          – pomsky
          Nov 1 '17 at 9:18




          @N0rbert Are you sure Tweaks is the only way? Not possible with dconf/gsettings?
          – pomsky
          Nov 1 '17 at 9:18




          1




          1




          @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
          – pomsky
          Nov 20 '17 at 18:53




          @user502144 You're not doing anything wrong, that's a GNOME issue, it triggers on-press instead of on-release. See this for a not-so-elegant workaround: askubuntu.com/a/973906/480481
          – pomsky
          Nov 20 '17 at 18:53




          1




          1




          What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
          – vivanov
          Aug 23 '18 at 19:35




          What I wanted was exactly the opposite - to free this key combination as it was messing up with my PHPStorm IDE's shortcuts, and the gnome tweak tool was the only way to do it (for me at least). This shortcut was enforced after an update which asked me if I wanted to enable this key combination... I don't remember clearly the type of the update. Even though I would like to have alt + shift for language switching, it does not behave exactly as the windows version and interferes with other short keys which use alt + shift, like for instance "alt + shift + up" in PHPStorm.
          – vivanov
          Aug 23 '18 at 19:35













          33














          You can achieve this using gsettings (command-line configuration tool).





          1. Set forward switch to Shift+Alt(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"



          2. Set backward switch to Alt+Shift(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"



          To see the current setting value use get command:



          gsettings get org.gnome.desktop.wm.keybindings switch-input-source
          gsettings get org.gnome.desktop.wm.keybindings switch-input-source-backward


          Examples of other key bindings:



          <Primary>space, Alt_R, <Shift>Control_R, <Shift><Super>space


          Changes will take effect immediately.






          share|improve this answer



















          • 7




            This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
            – laugh
            Apr 18 '18 at 9:55












          • YOU ARE A HERO!
            – php_nub_qq
            Jul 30 '18 at 7:51










          • This must be the accepted answer :)
            – luben
            Sep 18 '18 at 15:12
















          33














          You can achieve this using gsettings (command-line configuration tool).





          1. Set forward switch to Shift+Alt(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"



          2. Set backward switch to Alt+Shift(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"



          To see the current setting value use get command:



          gsettings get org.gnome.desktop.wm.keybindings switch-input-source
          gsettings get org.gnome.desktop.wm.keybindings switch-input-source-backward


          Examples of other key bindings:



          <Primary>space, Alt_R, <Shift>Control_R, <Shift><Super>space


          Changes will take effect immediately.






          share|improve this answer



















          • 7




            This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
            – laugh
            Apr 18 '18 at 9:55












          • YOU ARE A HERO!
            – php_nub_qq
            Jul 30 '18 at 7:51










          • This must be the accepted answer :)
            – luben
            Sep 18 '18 at 15:12














          33












          33








          33






          You can achieve this using gsettings (command-line configuration tool).





          1. Set forward switch to Shift+Alt(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"



          2. Set backward switch to Alt+Shift(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"



          To see the current setting value use get command:



          gsettings get org.gnome.desktop.wm.keybindings switch-input-source
          gsettings get org.gnome.desktop.wm.keybindings switch-input-source-backward


          Examples of other key bindings:



          <Primary>space, Alt_R, <Shift>Control_R, <Shift><Super>space


          Changes will take effect immediately.






          share|improve this answer














          You can achieve this using gsettings (command-line configuration tool).





          1. Set forward switch to Shift+Alt(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"



          2. Set backward switch to Alt+Shift(left)



            gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"



          To see the current setting value use get command:



          gsettings get org.gnome.desktop.wm.keybindings switch-input-source
          gsettings get org.gnome.desktop.wm.keybindings switch-input-source-backward


          Examples of other key bindings:



          <Primary>space, Alt_R, <Shift>Control_R, <Shift><Super>space


          Changes will take effect immediately.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 15 '18 at 15:07









          pomsky

          28.6k1188113




          28.6k1188113










          answered Dec 15 '17 at 18:13









          Evgeny Kharitonov

          49635




          49635








          • 7




            This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
            – laugh
            Apr 18 '18 at 9:55












          • YOU ARE A HERO!
            – php_nub_qq
            Jul 30 '18 at 7:51










          • This must be the accepted answer :)
            – luben
            Sep 18 '18 at 15:12














          • 7




            This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
            – laugh
            Apr 18 '18 at 9:55












          • YOU ARE A HERO!
            – php_nub_qq
            Jul 30 '18 at 7:51










          • This must be the accepted answer :)
            – luben
            Sep 18 '18 at 15:12








          7




          7




          This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
          – laugh
          Apr 18 '18 at 9:55






          This is a nice way to achieve the desired change, but the instructions create a mapping that is unnatural for Windows users: you have to first press shift and then press Alt. To use the natural Windows sequence, change "['<Shift>Alt_L']" to "['<Alt>Shift_L']" and similarly for the backwards. Works just as it should.
          – laugh
          Apr 18 '18 at 9:55














          YOU ARE A HERO!
          – php_nub_qq
          Jul 30 '18 at 7:51




          YOU ARE A HERO!
          – php_nub_qq
          Jul 30 '18 at 7:51












          This must be the accepted answer :)
          – luben
          Sep 18 '18 at 15:12




          This must be the accepted answer :)
          – luben
          Sep 18 '18 at 15:12





          protected by Community Aug 21 '18 at 7:21



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?



          Popular posts from this blog

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

          Mangá

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