You are not logged in.
Pages: 1
I'm using Xfce 4.8 and a Windows Media Center remote. I'm able to assign media buttons via settings -> keyboard and keybindings.
Most of the keys are recognized out of the box so I didn't install LIRC.
The keybinding control panel recognizes the play button as "XF86AudioPlay" and I can assign a command to it (i.e. "banshee --play")
However this is the only button which is recognized but will not work no matter what command I assign to it (even simple launch commands like "firefox" or "terminal").
When I assign the commands to other buttons (i.e. "XF86AudioMute" or "XF86AudioLowerVolume") they work though.
The button is recognized but is not working.
Here's the xev output of the button if needed:
KeyPress event, serial 35, synthetic NO, window 0x4000001,
root 0x15d, subw 0x0, time 2040333, (365,-102), root:(1116,328),
state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 172
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
Any ideas?
EDIT: I noticed my keyboard has a "Play/Pause" button as well that is also recognized as "XF86AudioPlay".
So if I press the keyboard button, the action assigned to "XF86AudioPlay" works but not if I press the remote button.
Last edited by M4he (2011-08-11 16:04:19)
Arch - makes me feel right at /home
Offline
It seems to have something to do with the keycode:
The (working) keyboard 'Play' button says:
root 0x15d, subw 0x0, time 1682134, (39,125), root:(790,555),
state 0x10, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
but the remote button has a different keycode and an additional line:
root 0x15d, subw 0x0, time 1678286, (39,125), root:(790,555),
state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 172
it's the only remote button that has the 'XKeysymToKeycode' line. It's also the only button which doesn't work.
Any clues?
Arch - makes me feel right at /home
Offline
Pages: 1