I'm trying to make VLC use the multimedia keys for a Dell Inspiron 9300 in Ubuntu 10.10 Netbook Edition. Volume up, down and mute is already controlled by GNOME, but VLC does not respond to play/pause, next, prev and stop (XF86AudioPlay, XF86AudioNext, XF86AudioPrev and XF86AudioStop).
I'm reducing my tests to play/pause with a sample video. Using "--global-key-play-pause XF86AudioPlay" or "--global-key-play-pause 102" (the keycode xev returns me when I press the button) does nothing inside VLC. Using --key-play-pause instead of --global-key-play-pause has the same effect. Trying to map a new hotkey inside VLC doesn't work either (when I press the multimedia button nothing happens)
I've also tried disabling the keyboard shortcut, opening System -> Preferences -> Keyboard Shortcuts, the select the "Play (or play/pause) entry and hit backspace to disable it. Same luck
![Sad :(](./images/smilies/icon_sad.gif)
Keys work using another media player, such as Ubuntu's built-in one (Gstreamer, renamed to "Movie Player"), so I guess the problem is between GNOME and VLC not capturing the signals sent. I've seen some fixes, such as rebinding the multimedia keys to hidden "wget" against VLC's http interface, but would love to find a smoother solution.
Thanks!