[ltp] T400s Debian multimedia keys mini howto

Gijs Hillenius linux-thinkpad@linux-thinkpad.org
Mon, 13 Feb 2012 11:39:37 +0100


Just in case anybody else out there finds this useful.

How to get the multimedia keys working on a Thinkpad T400s, running Debian Sid 

apt-get install xbindkeys xbindkeys-config

create .xbindkeysrc containing:
  
 #Mute
 "amixer -q set Master toggle"
     m:0x0 + c:121
     XF86AudioMute 
 
 #LowerVolume
 "amixer -q set Master 2- unmute"
     m:0x0 + c:122
     XF86AudioLowerVolume 
 
 #RaiseVolume
 "amixer -q set Master 2+ unmute"
     m:0x0 + c:123
     XF86AudioRaiseVolume