You are not logged in.
I'm trying to rebind Caps lock to both the Escape and Control keys.
The exact behavior I want is:
If Caps-Lock is held while another key is pressed: it behaves like control
If Caps-Lock is pressed alone: it behaves like escape
I've used xmodmap to remap single keys in the past, but this use case seems a little different that single key remapping.
I'm basing this behavior on this blog post, describing how to implement this behavior on OSX using some utilities.
I've used xmodmap and have read about xkb a little, but I'm unsure what combination of utilities I could use to achieve the desired effect on a linux system.
Anyone have any recommendations on a setup that might produce the desired effects using xmodmap, xkb or other tools?
Offline
Install xcape, it's in AUR.
Offline
That's exactly what I was looking for, thanks!
Offline