I can't change my keyboard layout in Mate settings. Not sure what's wrong here.
I did run
dpkg-reconfigure keyboard-configuration, but it did not fix the problem.
Then I try using the system, and every time a window opens, the layout switches to qwerty. I go to settings and see everything is correct. But when I try switching the layout, I see it cycle through the old sequence.
So I ran
dpkg-reconfigure, rebooted, and now the setting file is this:
$ cat /etc/default/keyboard # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="dvorak-alt-intl"
Which is correct, but for some reason, MATE panel thinks layouts are old, and it switches it to qwerty US English every time I switch to another input box or a window. (Switch key is "caps lock", so it's not my fault either that it switches every time.)
How can I reset the settings to the old one? How can I purge the user settings for keyboard?
edit: tried removing and re-adding the English layout. It partially did work, now English layout is only one, and it does not switch on its own.
The strange thing is that I can't switch layout until I have an active cursor in a text box. In a browser I can't swich layout when no input box is focused.