Click to See Complete Forum and Search --> : Enlightenment question


t0t3r
04-25-2004, 09:00 AM
I'm runnin Enlightenment 0.16.6 ....

i wanna bind some commands to keys but i simply cant understand the keybindings.cfg that is suposed to do that.

can someone post the code how to bind for example xterm to F12 ...

frogb
04-26-2004, 02:38 PM
For the xterm, scroll down to

__ACLASS __BGN
__NAME KEYBINDINGS
__TYPE __TYPE_GLOBAL

Right after type
__KEY F12
__EVENT __KEY_PRESS
__ACTION __A_EXEC xterm

And if there are other bindings after that, put __NEXT_ACTION between them. Then others can be added by changing F12 and xterm to whatever.

One sugesstion, I thought the file was full of unneeded text so instead, I used a program called epist which runs alongside a wm and has the much simpler syntax:

F12 execute "xterm";

t0t3r
04-27-2004, 01:12 AM
thx for that .... but i just found a prog called e16keyedit wich is almost windoze user friendy ;)