DEV Community

Bianca Luísa
Bianca Luísa

Posted on

How to fix alsactl store that does not save alsamixer settings

These days I had problems with alsamixer settings on my Ubuntu version 18.04.5, it wasnt being restored when restarting the system. I solved the problem by doing this:

Open the alsamixer

1- sudo alsamixer

Make the changes you want. Save changes with

2- sudo alsactl --file ~/.config/asound.state store

Open bashrc

3- sudo nano ~/.bashrc

Add this line at the end

4- alsactl --file ~/.config/asound.state restore

save and reboot.

Discussion (1)

abhishekgeek profile image
Abhishek Dubey

Every time i am starting my PC, Alsamixer changes don't work until I start the terminal once. It is working fine after i just open the terminal and close it.
Is there any way i don't have to open the terminal to see the changes.
Please tell me if you have any idea.