as I can see you discuss two different issues that I faced as well:
- The first is that setting up alt + shift shortcut using gnome-tweaks does not work properly anymore (it was working on Ubuntu 20.4) because it does not modify the language indicator.
- The second is that if you try to set up this shortcut using Ubuntu settings (Keyboard -> Shortcuts -> Switch to the next source / Switch to the previous source), it will take only specific keys and ignores alt and shift. It seems like a bug/useless restriction in the GUI app.
I found the following workaround for the second issue (execute commands as user that is logged to graphical environment):
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"
This breaks the key restrictions in settings and ensures expected behavior including changing the language indicator.
Hello,
as I can see you discuss two different issues that I faced as well:
- The first is that setting up alt + shift shortcut using gnome-tweaks does not work properly anymore (it was working on Ubuntu 20.4) because it does not modify the language indicator.
- The second is that if you try to set up this shortcut using Ubuntu settings (Keyboard -> Shortcuts -> Switch to the next source / Switch to the previous source), it will take only specific keys and ignores alt and shift. It seems like a bug/useless restriction in the GUI app.
I found the following workaround for the second issue (execute commands as user that is logged to graphical environment): desktop. wm.keybindings switch-input-source "['<Shift>Alt_L']" desktop. wm.keybindings switch- input-source- backward "['<Alt>Shift_L']"
gsettings set org.gnome.
gsettings set org.gnome.
This breaks the key restrictions in settings and ensures expected behavior including changing the language indicator.