[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
(ati_remote2).

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

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

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 ?

! QUIT
keycode 222 = q


Many thanks in advance..!


More information about the mythtv-users mailing list