PulseAudio Volume Control with Media Keys

view full story

http://crunchbanglinux.org – So I know there are many ways to change the volume when one is running ALSA.  However, I like running PulseAudio, whose volume really shouldn't be changed with an ALSA volume control.  So I decided to find a way to change the volume through the command line.  I researched and found pactl, which lets the person mute, unmute, and change the volume, among a whole lot of other things.  The only problem was that pactl doesn't accept percentage increments like ALSA volume changers do.  That is, it requires an absolute volume between 0 and 65536.  Therefore, I (HowTos)