1

I've been using the X11 setup, but recently switched to 24.04 with the Wayland server.

How do I swap the keys (in the upper left) for Escape and Backtick (`) (which is Tilde if shifted? Here's what I used to do in my .xmodmap

keycode 49 = Escape
keycode 9 = grave asciitilde

Thanks, there seems to be many complicated approaches, so I'm looking for the simplest, well supported solution.

1 Answers1

1

There seem to be several software packages that claim to support this, but the one that worked for me was "Input Remapper".

I had to essentially run:

sudo apt install input-remapper
input-remapper-gtk  # interactive
sudo systemctl start input-remapper

The UI is a bit confusing, but once I found the right "key names" I was able to get it working. e.g. "grave" not "backtick" not "`". This also works at the console as well as in X11. It should work in Xorg servers too, but I didn't test that.

muru
  • 207,228