Once upon a time, I bought an Eagle Micro-Keyboard, and set up fluxbox to use the multimedia keys. This involved setting up an xmodmaprc file:
!JDA 2003/10/08 setting up the multimedia keys for this tiny little keybd
keycode 163 = XF86Back
keycode 151 = XF86Forward
keycode 164 = XF86HomePage
keycode 162 = XF86Mail
keycode 152 = XF86AudioMute
keycode 176 = XF86AudioLowerVolume
keycode 218 = XF86AudioRaiseVolume
keycode 144 = XF86AudioPrev
keycode 146 = XF86Stop
keycode 174 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 227 = XF86WakeUp
keycode 223 = XF86Sleep
keycode 222 = XF86PowerDown
Also, the 'keys' file, which goes in ~/.fluxbox/keys:
mod1 Tab :NextWindow
mod1 Shift Tab :PrevWindow
mod1 F1 :Workspace1
mod1 F2 :Workspace2
mod1 F3 :Workspace3
mod1 F4 :Workspace4
None XF86HomePage :ExecCommand /usr/bin/mozilla &
#
#the above line causes mozilla to be started up whenever I hit the WWW key
#
None XF86Mail :ExecCommand aterm -vb -title mail.angelar.com -e ssh jeremy@mail.angelar.com
# I ssh into another machine to check my email. This starts up an ssh session in a new aterm window
None XF86AudioRaiseVolume :ExecCommand /usr/bin/aumix -v +1
None XF86AudioLowerVolume :ExecCommand /usr/bin/aumix -v -1
None XF86AudioMute :ExecCommand /usr/bin/aumix -v M
#
# Unfortunately, hitting the Mute button twice does NOT unmute volume. After it's been muted, you have to manually increase the volume again.
#
#Note that I haven't figured out functions for most of the other keys yet. I'm sure that'll change as time goes on. I'll probably set one of them up to launch America's Army or something ;)