I have been using this method to map caps lock to escape in Ubuntu 20.04, and it has worked flawlessly so far.

However, I recently bought a USB switch to switch between controlling two computers with one keyboard and mouse set. And every time I switch the USB output (i.e., from one computer to the other) the caps lock to escape mapping disappears, and I have to remap it.

What will I need to do to make the caps lock to escape mapping stick, even when switching the USB output?

(I tried using Gnome Tweak Tools method too, alas it exhibits the same behavior.)


1 Answer 1


Not really an answer per se, but like Jeff pointed out, this was indeed part of the bug that was fixed in the latest 20.04 update. After the update the caps lock mapping persisted after switching the USB ports.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .