Skip to content

auto mute audio when headphones are unplugged

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

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 are closed, but trackbacks and pingbacks are open.