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 -query
it used to output something like
layout: us, ru, us
I've been following this question's answer and I used this command:
setxkbmap us
and now the
setxkbmap -query
outputs
layout: us
and 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 ru
and 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.
.xkb
file that got updated after my command? – parsecer Apr 20 '20 at 01:37setxkbmap us,ru
: ) – Raffa Apr 20 '20 at 01:42setxkbmap us,ru,us
? – parsecer Apr 20 '20 at 01:45us
is enough. It will work the same way asus,ru,us
both will work the same as far as I know and you can even dous,ru,us,ru,us,ru,us
no difference. And it is temporary until reboot and will go back to before. – Raffa Apr 20 '20 at 01:50