How to remap shift-esc to ~ on ubuntu

From razwiki
Jump to navigation Jump to search
  • install keyd
  • add the following to /etc/keyd/default.conf
escape = ~
  • restart keyd: sudo systemctl restart keyd

I do this because I have a 5-row keyboard (razer huntsman mini) that has an escape key where ` and ~ usually would be. So my pinkie hits escape when I'm trying to type ~.