I'm looking for a good way to manage keyboard hooks globally. Specifically I'm trying to map my Capslock key to be a "magic" key that triggers Escape when tapped and Control when used in combination. I did this in windows with autohotkey and it worked great.
I haven't had much luck with doing it in autokey. I'm currently trying to use xbindkeys or FVWM as discussed here. It seems like this shouldn't be this hard to pull off.