Toggle Muter uses a custom hotkey to mute/unmute the current application in focus. Available for Windows as a lightweight system tray application and for Linux as a bash script.
Note
When you launch the application for the first time, a "Windows protected your PC" pop-up window may appear, preventing the "unrecognized app from starting". To start the application, click on More info and then click the Run anyway button.
- Download the script
curl -o toggle-muter-linux_v1.0.2.sh https://raw.githubusercontent.com/drewmarsh/toggle-muter/refs/heads/main/linux/toggle-muter-linux.sh- Grant the script execute permissions
chmod +x toggle-muter-linux_v1.0.2.sh- Install dependencies
sudo apt install xdotool pulseaudio-utils libnotify-bin- Bind it to a hotkey (varies by distro)
- Navigate to
Keyboard→Shortcuts→Add custom shortcut - Name the shortcut and then set the command to the full path of the script (e.g.
/home/[username]/scripts/toggle-muter-linux_[version].sh) - Under
Keyboard shortcuts, click the name of the shortcut that was just added - Under
Keyboard bindings, set the binding to your desired hotkey