How can I use my laptop's media buttons [Play/Pause, Next, Previous] to work with Mplayer? The XF86 buttons I think they're called.
Create a named pipe like this:
Then, put the following line in
or you can run
Now use System Setting->Keyboard->Shortcut and add a shortcut with the command parameter as (see
and then assign a key to this shortcut.