Comment 533 for bug 1218322

attila123 (vangel-attila) wrote :

Hi, I found a way to make the Alt + Shift keyboard switching working in Gnome 3 (tested with 3.28.2).
First examine this current setting:

dconf read /org/gnome/desktop/input-sources/xkb-options

(in my case it was empty)
Then set the appropriate options, e.g.:

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

Now I can switch the keyboard layouts with Alt + Shift. (Earlier I might deleted all the Alt + Shift + * keyboard shortcuts, I am not sure...
It is permanent, should work after logout + login and reboot.

To add the keyboard layouts, press Super key (default) and type/search for "Region & Language" and add them under "Input Sources".

Hope it will help many people! :)

(I was inspired by https://unix.stackexchange.com/questions/333368/gnome-3-22-disable-altshift-keyboard-layout-switching but it did the opposite thing.)