I would like to do the following with my CAPS_LOCK key:
- Remap CAPS_LOCK+h to the left arrow key
- Remap CAPS_LOCK+j to the down arrow key, etc
- Allow CAPS_LOCK to STAY as a CAPS_LOCK key if it's just pressed on its own
- Allow this mapping to survive after my laptop wakes up from suspend/hibernate.
I've been looking around everywhere and I'm very confused. Some sites say you shouldn't use
xmodmap since it's old. Some sites say you should twiddle with some file in
/etc/pm/sleep.d, whereas others call for
I'm using Ubuntu 18.04.
I would appreciate any help.