I am using Ubuntu 20.10. My system language is Esperanto but I use the German keyboard layout and type Esperanto letters using a "dead" key (circumflex). I don't have an Esperanto keyboard configured.
Starting a few weeks ago my keyboard layout switches to the Esperanto layout in a seemingly random way. When I click on the keyboard menu it still shows the German layout as active, and when I click on "show keyboard layout" the German layout is displayed. But typing produces the characters from the Esperanto layout. For instance the key next to RETURN produces a backslash, while in the German layout it should produce a pound/number sign.
I cannot say if this happens truly randomly or by an involuntary action from myself. But it happens many times per day.
I have now added the German (Switzerland) keyboard, and switching to this and back to German (Germany) restores the German layout. But I would still prefer to understand what is happening and how I can avoid it.
Thanks, Gunnar Hjalmarsson, here is my
/etc/default/keyboard
:# KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="epo" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess"
The "epo" layout is, of course, suspicious, maybe I should try to change it to "deu". But under settings / region and language I have no epo keyboard configured, just German (Germany), German (Switzerland), English (US) and Greek. I could remove the last two, which I never use.
When I log in the keyboard layout is set to German, so if the XKBLAYOUT is at fault it is not effective immediately.
refo@sanchopansa09: