Saturday, March 15, 2008

Thinkpad X61 Volume Buttons

I tried in vain to get the brightness adjustment keys to work, but at least the volume up and down buttons were easy to handle. They trigger bona fide X key events, so I added a couple of lines to .xbindkeys:
"amixer -c 0 set PCM 1dB+"
XF86AudioRaiseVolume

"amixer -c 0 set PCM 1dB-"
XF86AudioLowerVolume

No comments: