[mythtv-users] xmodmap vs lirc question

Evuraan::ഏവൂരാന്‍ evuraan at gmail.com
Mon Jan 7 15:25:31 UTC 2008

I've a Frontend machine with  ATI RW II remote, and I use xmodmap

In lirc, one can map individual remote keys to run a script like:

# power buttom
prog = irexec
button = Power
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh

Which says, when Power key is pressed, be running mythpowerbutton.sh

The question is, how can this be done in xmodmap? Say, keycode 222 is
mapped to "q" in the following xmodmap example, how can it be set to
run, say, /usr/bin/blah ?

keycode 222 = q

Many thanks in advance..!

More information about the mythtv-users mailing list