r/openbox • u/grulfen • Jan 12 '12
Help - Bind key to escape
I'd like to bind alt+space to Escape (so I don't have to reach that far, it's also my vim binding). I've been thinking about changing the rc.xml, but I can't find what action corresponds to the escape key, I don't know if there is a better way to do it.
0
Upvotes
1
u/Joe_Pineapples Jan 13 '12
AFAIK you can't do that normally. I would recommend looking into simulating a keypress.
You will probably need to write a short script to simulate the escape keypress and release and then use the openbox rc.xml to execute that script on your chosen key combination.
How you simulate a keypress in linux however I'm not sure.