setxkbmap us command messed with language settings: can't use second language
I have two languages installed: English and Russian. I have a keybind that allows me to switch between the two using Alt + Shift combination. When I run
setxkbmap -queryit used to output something like
layout: us, ru, usI've been following this question's answer and I used this command:
setxkbmap usand now the
setxkbmap -queryoutputs
layout: usand although I can switch between ru and en (in the top language panel in DE), I only type in english.
I can also do
setxkbmap ruand then I'll only be able to type in russian.
I'm not sure how to go back to my previous set up - I used the GUI to set it up (Settings and Gnome Tweaks) and from what I can tell the GUI settings stayed the same - I still have the two languages.
51 Answer
setxkbmap -layout ru,usThen check if the input language matches the one displayed in the gui. If not:
setxkbmap -layout us,ru