XMMS Volume Control

XMMS Volume Control contains three patches for XMMS so you can use the volume buttons on your multimedia keyboard.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
4.6/5 1
Steve Kemp
ROOT \ Multimedia \ Audio
I have a keyboard which contains buttons for multimedia functions, such as "play", "stop", etc.

Using Debian GNU/Linux I wanted to map these buttons to control the software I use, thankfully this turned out to be simple. There is a package called 'xbindkeys' which allows you to specify programs to run when particular keys are pressed.

Configuring my keyboard to play music, skip tracks, etc was very simple because XMMS can be controlled from the command line to do a lot of things.

Controlling XMMS

The following are the buttons I have on my keyboard, along with the commands which I have set xbindkeys to execute when I press them:

Action XMMS Command

prev xmms --rew
next xmms --fwd
play xmms --play
pause xmms --pause
stop xmms --stop
volume up ???
volume down ???

As you can see XMMS allows all the buttons to do something useful except change the volume. To do that I must use my mouse, or adjust the speakers.

After looking over the source to XMMS I was impressed at it's cleanliness. Adding the code to recognise two new options and make them work was very simple.

The Patch

I patched three files to make two new command line options:

--vol-up (-l == Louder)
--vol-down (-q == Quieter)

Last updated on October 6th, 2007


#XMMS patch #XMMS volume #volume control #XMMS #volume #control #patch

Add your review!