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):
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.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1956916

Title:
  Using certain xkb-options, e.g. Alt+Shift, for switching input sources
  not reflected by the input source indicator in a wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1956916/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to