Restoring Aumix Settings on Restart

I recently had the problem that the sound settings were not restored on reboot and therefore every time I needed sound I first had to adjust the volume with aumix. Over time this becomes annoying and so I invested a few minutes to get rid of the problem.

It turns out that we have to change just one variable at the top of /etc/init.d/aumix and everything works as expected.

HANDLEALSA="yes"

For those who haven’t come in touch with sound on GNU/Linux, I recommend reading this article which covers ALSA/OSS and sound daemons.