[LAU] Controlling pulseaudio volume via XF86AudioLower/RaiseVolume buttons

Andrew C countfuzzball at gmail.com
Sun Oct 23 01:48:41 UTC 2011


Hey all,

I'm running Ubuntu 11.04 and have switched away from the Gnome 2 DE in
favour of lwm and other assorted lightweight window managers etc.

One thing I'm trying to get working again is the XF86AudioLowerVolume
and XF86AudioRaiseVolume (as detected by xev) hotkeys  on my keyboard
to lower and raise the volume of the default pulseaudio sink by, lets
say, +/-5% (incidentally, I'm having issue with the Monitor brightness
increase key working, but not the down key. Probably better for me to
ask somewhere else about that though).

Should scripting and a suitable keygrabber (lets say, xbindkeys) work
for this kind of stuff, or is there hardcoded gnome2/pulseaudio stuff
going on?

Thanks,

Andrew.


More information about the Linux-audio-user mailing list