Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my audio card has some issues under ubuntu. everytime i fiddle with the volume, it messes up microphone.

i can't set the microphone at all under ubuntu GUI. it tries to assume things from the channels and boost and i end up with clicks instead of voice.

but i also want to keep using the GUI for volume output (as it works and is quite convenient)

so, is there any way to work around this by taking a snapshot of the mic setting in alsamixer after i set them manually, and have them replayed programatically so i can have a icon on my desktop that says 'fix mic' instead of opening a terminal, remembering what i have to change, do it manually...

share|improve this question
up vote 1 down vote accepted

Running alsactl store will save all mixer settings into /etc/asound.state; alsactl restore will restore them. You can use the -f option to use another file; remove all entries that you don't want to change.

Alternatively, you can use the amixer tool to change mixer controls individually.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.