PulseAudio Mute and Unmute using CLI

The following command will mute and unmute the sound alternatively depending on the current setting:

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.

Leave a Reply

Your email address will not be published.