Originally Posted by johnson_steve
use xev to get the scancodes of these keys then you can use xbindkeys to make them do whatever you want.
What I do is somewhat similar - I used xev
to figure out the keycodes of those extra keys and buttons first. If a particular key does not produce a keycode, you can use showkey
to obtain its scancode and setkeycodes
to map it to an unused keycode. Once a keycode was obtained, I used ~/.Xmodmap to map the extra keys to function keys, such as F15, F16, etc. That will let you assign those keys to specific tasks using your Desktop Environment's features.
I use a Microsoft Comfort Keyboard 2.0. I can use all the extra keys on it.