Remapping ESC to Tilde

Hey EndeavourOS!

I finally built my 60% keyboard (pictures incomming) and I’m absolutely loving it. Maximum thoccy. HOWEVER - I’ve always used capslock as ESC, and I’m afraid I don’t have a tildekey anymore. Is there a neat trick (I’m in KDE Plasma) to remap esc to be ~ / `

The software that comes with the keyb is okay, but it doesn’t like to remap default keys, only keys on layers (HJKL as arrowkeys for instance)

Hope you guys can help :smile:

(ALSO, I’m really sorry if I’m in the wrong category)

1 Like

Various tools are available:

  • xmodmap
  • xcape
  • interception tools

Install xev to get the information about the key:

xev -event keyboard  | grep -i  keycode

For my UK keyboard gives 9 for esc:

xmodmap -e "keycode 9 = grave asciitilde"

Test from a terminal, works for me.


Will check that out today, thanks!

9 for me too - worked like a charm. Thank you very much!

1 Like