I'd like to know if there's some way for me to make my special multimedia keys on my keyboard (play/pause, next, previous, stop, volume up & down, mute) to control my music player daemon (mpd).
I am using gnome on ubuntu feisty and mpc, sonata or gimmix as my main mpd clients.
If I could only bind these keys to the appropiate mpc command, like
mpc toggle # for play/pause
mpc next # for switching to the next song
mpc prev # for switching to the previous song
mpc stop # to stop
# ...and so on
But I do not know how to make gnome bind some key to a specific command. Is there some way to do this? Please, help me.