Keyboard configuration incosistent and does not work under X
@last-partizan
Submitted by partizan Link to original bug (#788821)
Description
Created attachment 361313 gnome-control-center screenshot
Hello, i'm trying to configure layout switching but with no luck.
I want to use 'grp:shift_caps_switch', so i configured it in gnome-tweak-tool, and it looks like this:
gsettings list-recursively org.gnome.desktop.input-sources org.gnome.desktop.input-sources show-all-sources false org.gnome.desktop.input-sources xkb-options ['grp_led:scroll', 'grp:shift_caps_switch', 'grp:alt_shift_toggle'] org.gnome.desktop.input-sources per-window true org.gnome.desktop.input-sources current uint32 0 org.gnome.desktop.input-sources mru-sources [('xkb', 'us'), ('xkb', 'ru')] org.gnome.desktop.input-sources sources [('xkb', 'us'), ('xkb', 'ru')]
gnome-control-center says 'alternative switch is - caps to first, shift+caps to last layout' (on screenshot)
setxkbmap shows three layouts instead of two, and expected options:
setxkbmap -query rules: evdev model: pc105 layout: us,ru,ru variant: ,, options: grp_led:scroll,grp:shift_caps_switch,grp:alt_shift_toggle
When i press Shift+Caps or Shift+Alt - Scroll Lock blinks, but keyboard layout does not changes. One time during update everything was freezed, i was unable to move windows or switch between them, i pressed Shift+Caps, and Scroll Lock indicated layout was changed, then i press Caps - Scroll Lock changed to off, layout was changed again.
I suppose something that is blocking layout switching was frozen when everything else is freezed.
One more thing: this is on my desktop, where i use Xorg. But on my laptop with Wayland it works as expected.
Attachment 361313, "gnome-control-center screenshot":
Version: 3.28.x