As many new Ubuntu users, I faced a problem of inability to set keyboard layout switch shortcut to shift + alt.
Following this thread, I installed gnome-tweaks and bumped into this problem: layout switching order was en-en-ru while I had only 2 layouts (en and ru). Also, layout changes were undisplayed in the top right corner panel (it was always showing en).
As a workaround, I tried similar solution using gsettings.
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']"
It did not work at all for some reason. Digging deeper, I found that
gsettings get org.gnome.desktop.input-sources xkb-options
stored empty list, so I tried to set it to ['grp:alt_shift_toggle', 'grp_led:scroll', 'lv3:switch'] - did not help.
Finally, I found this:
gsettings get org.gnome.desktop.input-sources sources
@a(ss) []
I set it to [('xkb', 'us'), ('xkb', 'ru')] - did not help.
Any advice?
Ubuntu 22.04.01 LTS Gnome 42.2 Windowing system Wayland (idk if it is relevant)