Celeb Glow
general | March 29, 2026

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 -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.

5

1 Answer

setxkbmap -layout ru,us

Then check if the input language matches the one displayed in the gui. If not:

setxkbmap -layout us,ru

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy