In alsamixer, there is an option called "Auto-Mute Mode", and it's enabled by default.
But now I want to disable it. I've tried different keys but failed.
Any idea? 0_0
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
I had the same problem, including @limited-atonement one.
root@darkstar:~# amixer | grep -i mute Simple mixer control 'Auto-Mute Mode',0 root@darkstar:~# amixer -c 0 sset 'Auto-Mute Mode' Disabled amixer: Unable to find simple control 'Auto-Mute Mode',0
I solved it by running
<Auto-Mute>control, which show as Enabled
alsactl storeas root to save
Hope this help.
Building on Sam's answer, here is a script that toggles the status of Auto-Mute Mode:
# toggle status of Auto-Mute if amixer -c 0 sget 'Auto-Mute Mode' | grep --quiet -F "Item0: 'Enabled" then amixer -c 0 sset 'Auto-Mute Mode' Disabled else amixer -c 0 sset 'Auto-Mute Mode' Enabled fi
I'm using this so I can easily mute or un-mute my speakers without unplugging my headphones.
amixer -c 0 sget 'Auto-Mute Mode' | fgrep -q "Item0: 'E" && _M=Disabled || _M=Enabled; amixer -c 0 sset 'Auto-Mute Mode' $_M