Remapping Keyboard Multimedia Buttons to ALSA after removing PulseAudio

Remapping Keyboard Multimedia Buttons to ALSA after removing PulseAudio

This was awesome. I had removed pulse-audio because it wasn’t playing nicely on my 64-bit machine when using Flash, VLC and Clementine and Skype and a whole bunch of other audio sources. I replaced it with ALSA which meant replacing the default volume control app in Linux Mint with QASMixer which meant my multimedia buttons no longer worked.

The alsa commands to use:


# mute/unmute
amixer set Master toggle

# volume up by roughly 10%
amixer set Master 6+

# volume down by roughly 10%
amixer set Master 6-

The adjustment is to the dB level, it isn’t by percentage.