jump to navigation

Saving Sound Volume Levels Across Reboots March 20, 2007

Posted by Carthik in commands, ubuntu.
trackback

I have a weird problem with a desktop where the volume settings for PCM, Microphone etc are all set to mute when I restart the machine. I then have to use the alsamixer command line tool to set the volumes to desired levels. This annoyed the hell out of me.

Finally I found a solution to this problem. So, if your computer has a volume memory problem, the following might be useful.

To set the volume and other sound settings to your desired level and save the settings, do the following:

  1. Delete the /etc/asound.conf file if it exists – Read Daniel’s Comment Below
  2. Use the alsamixer command to set the various volume levels etc
  3. Save the settings by using the command: $sudo alsactl store

And that is it!

Another tip I read on lifehacker: This works to suppress the volume when you boot up a laptop in a place where it is not supposed to annoy others — think library, seminar, conference…. Take an old, non-usable headphone, and snip off the wire just above the jack that plugs in to the speaker output of the computer. Plug this into your laptop before you boot up to prevent annoying people with the startup sounds as the computer boots up! It is a simple solution to a serious problem.

Comments»

1. Dan Chen - March 20, 2007

I’m certain you don’t want to muck with your alsa-lib configuration file (asoundrcs, of which /etc/asound.conf or ~/.asoundrc* are examples) but instead with your alsa-utils state file (/var/lib/alsa/asound.state on Debian-based distros, or /etc/asound.state from upstream).

2. Ubuntu | Carthik Sharma: Saving Sound Volume Levels Across Reboots - March 21, 2007

[…] Delete the /etc/asound.conf file if it exists – Read Daniel’s Comment Below […]

3. Alfredo - March 21, 2007

You could also disable the start-up sound (I already did) to avoid the problem of annoying people.

And that way you are still in charge of the volume and there is no way you just “forget” to put the headphone jack!

4. Salvando configurações de som no Ubuntu « Ubuntero - March 25, 2007

[…] o sistema o som retornava para a configuração default, mas graças a este post no “Ubuntu Blog” descobri como fazer […]

5. tipshack.freshubuntu.org - March 29, 2007

Reboot. Arrgh! My ears!! Tutorial on how to keep sound levels equal on Edgy.

Simple and well explained tutorial on how to keep the sound levels just right between reboots if you are having that problem.

6. KnifeySpooney - June 21, 2009

Thanks, this was bugging me as well because I would try to play music only to remember that I forgot to unmute the volume (which I didn’t mute!). Now it’s working perfectly. Thank you.

7. DarwinSurvivor - June 25, 2009

Is there any way to have it automatically save the settings at each shutdown without requiring your password each time?

8. sikiş izle - September 26, 2010

ooh neat. thanks!

9. antalya ilaçlama - September 27, 2010

You could also disable the start-up sound (I already did) to avoid the problem of annoying people.

10. porno sikiş - September 27, 2010

Thanks, this was bugging me as well because I would try to play music only to remember that I forgot to unmute the volume (which I didn’t mute!). Now it’s working perfectly. Thank you.

11. sex sikiş - September 28, 2010

Delete the /etc/asound.conf file if it exists

12. escort - December 22, 2010

Is there any way to have it automatically save the settings at each shutdown without requiring your password each time? izmir escort

13. wzory zaproszeń ślubnych - August 8, 2011

My brother recommended I might like this website. He was entirely right. This post actually made my day. You cann’t imagine just how much time I had spent for this info! Thanks!

14. xmas 2012 link..... - November 25, 2011

bit of a shopping guide website below good things to buy and christmas 2011 ideas as well…………………….

shopping ideas for xmas link click here

15. PCM sound level resets in Ubuntu 8.04 - February 9, 2012

[…] and found this blog post […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: