0

Suddenly my external USB keyboard uses a different keyboard layout and -settings from the one builtin my laptop. The built-in keyboard uses the expected layout, even when the USB one is connected.

E.g. My builtin keyboard uses AltGr dead-keys, as is defined in "settings » Language and Region » Input source". This setting has only one layout listed. Yet, the USB keyboard does suddenly use dead-keys without alt-gr.

Another change, is that I have mapped CAPS to ESC: The built-in keyboard does this right, the external USB does not.

The keyboard and laptops are not new, it worked fine until yesterday. I did not install any kernel modules, drivers or new kernels knowingly.

Running and walking through sudo dpkg-reconfigure keyboard-configuration does not fix the issue.

  1. Is it possible -at all- to have different connected keyboards to use different layouts in Ubuntu? If so, where is this defined? This might help me troubleshoot further and disable this.
  2. What could have changed in software that causes this? Should I hunt down bugs, dmesg or /var/log/syslog issues that are indicating some problem?
berkes
  • 1,617

1 Answers1

4

I'm having a similar problem on Ubuntu 20.04. It seems that recently a bug was introduced in GNOME that causes this, it's being investigated in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3299.

If you're using GNOME, I'm positive that your issues are caused by this bug as well.

A quick workaround is to restart the shell after plugging in the external keyboard by pressing Alt-F2, r, return.