How to fix keyboard layout change in gnome?

I set shortcut “alt+shift” with gnome tweaks to change layout, I have 2 layouts on the system - Englush US and Russian. But It doesnt work properly. Layout change happens, yes, but for some reason it goes “English US, English UK, Russian”, even that I’ve never set UK layout and it isnt displayed anywhere. Also indicator in the tray shows… “en”, always, even if I’m using russian.

Please help.

1 Like

I had similar problem:

1 Like

Thanks, now it works.
But by any chance do you know how to set shift+alt in this? I’m managing to set alt+shift, but it only works in this order. If I try "['Shift_L<Alt>']" it doesnt work.

Try this (from here Про переключения языка ввода в ubuntu — Desktop — Форум):

gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Shift>Alt_L']"

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.