View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#41
Originally Posted by austin View Post
...I don't know how you can really simplify the config language from something like "key_up = exec osso-xterm" which seems about as simple as you can get for this operation...
This is what I want to do. I want to execute non-dbus apps and shell scripts with hardware keys. However, I can't figure out from your example config files how you actually do this. Can you expand upon the "key_up = exec osso-xterm" example you gave above?

Let's say I want to execute a script, "/usr/bin/script1" by hitting the middle button on the d-pad ("key_press_select"?), and I want to execute another script, "/sbin/script2 -g param1 -k param2 param3" when I hit the fullscreen button ("key_press_fullscreen"?). How would I do this? Which config file would I modify? Is there a way to put these commands into a separate .conf file?

Thanks in advance...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-07-27 at 23:18.