Hello I've setup my system so I can use my multimedia keys but things don't quite work. Here's what I've done with some output.
First I've used xmodmap to bind the keycodes to functions
<[EMAIL PROTECTED] pwd="~"/> xmodmap -pk | grep -i xf86a
174 0x1008ff11 (XF86AudioLowerVolume)
176 0x1008ff13 (XF86AudioRaiseVolume)
Seems ok.
Next I've edited my ~/.ion3/cfg_bindings.lua file:
<[EMAIL PROTECTED] pwd="~"/> cat .ion3/cfg_bindings.lua | grep -i xf86a
kpress("XF86AudioRaiseVolume", "ioncore.exec_on(_,
'xterm')"),
kpress("XF86AudioLowerVolume",
"ioncore.exec_on(_, 'xterm')")
Seems ok, but nothing happens. So I looked at the xev output when I
press the keys:
root 0x9f, subw 0x1a00002, time 13935452, (43,29), root:(44,374),
state 0x10, keycode 174 (keysym 0x1008ff11,
XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0
bytes:
XFilterEvent returns: False
KeyRelease event, serial 25, synthetic NO, window
0x1a00001,
root 0x9f, subw 0x1a00002, time 13935476,
(43,29), root:(44,374),
state 0x10, keycode 176 (keysym 0x1008ff13,
XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
seems ok.
So why would this work ??
