xubuntu: restoring sound settings after reboot

Open baby

xubuntu: restoring sound settings after reboot

Postby intodis » 17 May 2009, 21:49

By default in Jaunty (64 for me) it seems when rebooting the sound controller mutes the master volume every time. Becomes a pain to have to turn up volume manually. So here is a workaround, not a total solution because you will have to repeat these steps to set the default settings if you want to change them later, say you may want mute as the default again.

First, save and close whatever your working on as we need to reboot during this.

Next set your sound volume as desired, from the volume controller next to the clock.

Now create an Auto Start command that will restore settings each time you boot.
Open Applications/Settings/Sessions and Startup, and go to the Application Autostart tab.
Add a new command 'alsactl restore' with name and description such as 'xubuntu boot audio workaround'.

Next in a Terminal.

Code: Select all
me@xub:~$ sudo chmod 777 /var/lib/alsa/asound.state
[sudo] password for me: <enter me's password>
me@xub:~$ alsactl store
me@xub:~$ sudo chmod 644 /var/lib/alsa/asound.state
me@xub:~$ sudo reboot

On reboot the audio should reset to the settings you've stored.
Site Admin
Posts: 204
Joined: 30 Mar 2006, 20:57

Return to Ubuntu/Linux

Who is online

Users browsing this forum: No registered users and 1 guest