Keyboard

Most modern keyboards are equipped with a number of multimedia keys. Here we give some tip on how to configure you Linux to these keys.

Find out the keycodes
First you need to find out the keycodes of the new keys, the xev can help with this:

Now press the keys that you want to know the keycodes (with the mouse pointing to the white window), you will get some output like this:

The code, in this case, is keycode 174.

If this not works for you look here for ps/2 keyboards or here for usb.

Setting up Xmodmap
Check if you have xmodmap installed on your system!

Once all the multimedia keys are being recognized by xev, they need to be mapped to keysyms. You can do it for each user ($HOME/.Xmodmap).

A list of possible keysyms can be found in /usr/share/X11/XKeysymDB (on Gentoo), /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB (the location of XKeysymDB may differ across distributions).

Fluxbox
Open up your ~/.fluxbox/keys with your favourite editor. To control for example the basic XMMS functionality you append my example to your file:

For certain cards it might work if for mute you put PCM, instead of Master. It might give designed effect (volume up button when pressed will unmute the card):

Install and use
To configure just run: keytoutch.