How do I toggle sound with amixer?

Posted by joschi on Ask Ubuntu See other posts from Ask Ubuntu or by joschi
Published on 2011-10-13T17:48:58Z Indexed on 2012/08/30 21:50 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

Including Natty I was always able to toggle (mute/unmute) the 'Master' sound volume with the

amixer sset Master toggle

command that I linked to an edge binding in CompizConfig-Manager.

Now after installing Oneiric the command only mutes the sound but doesn't unmute it. I even tried it in the Terminal but it also doesn't work. It changes 'Mono: Playback 68 [78%] [-14.25dB] [off]' to '...[on]' but the sound stays muted so that I have to unmute it via the 'sound-indicator' in the panel.

How can I get this working again? What did change since Natty? Does anyone know the command the 'sound-indicator' uses to toggle the sound volume?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about sound