Skip to content

Tag: linux

auto mute audio when headphones are unplugged

Here is a nifty acpi script to mute audio when you unplug your headphones. Save it as ~/

Then edit /etc/acpi/events/headphone-plug to:

When the acpi events are detected for jack/* the above script will run. It will mute the audio when the headphones are unplugged and unmute it when they are plugged back in.

Comments closed