PulseAudio Mute and Unmute using CLI
The following command will mute and unmute the sound alternatively depending on the current setting:
1 | amixer -q -D pulse sset Master toggle |
The command can be assigned to a keyboard key combination using the Keyboard Settings application. The above assumed that PulseAudio is the primary audio system and that alsamixer is installed as well.
Continue reading →