I've tried IronAHK and xbindkeys. Xbindkeys was ok I guess and ironAHK didn't compile. Just wondering if there's better. Maybe something to where I could set emacs-like bindings when certain programs come into focus. A mix between devilspie and xbindkeys. So long as it can execute shell commands it's good enough.
closed as not constructive by slhck Apr 27 '13 at 15:07
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
Last time I did a research on that I've stopped on Autokey. It's not an ideal though. E.g. you can "send keys" to programs, but not to x-server: you can't send a "Switch keyboard layout" keys for example (of course you can send them - but it gives no effect...). Also I can't record macro (there is a button - but it looks like it's not yet fully developed).
Still here are some scripts I use (you can bind them to a key). This inserts date:
And this one inserts previous copied item:
Also it's not easy to find manual on the official site. And the copy of manual is here.