Skip to content

Instantly share code, notes, and snippets.

@angeloevangelista
Created August 19, 2020 23:52
Show Gist options
  • Save angeloevangelista/35d2733cd4173fa8070fc540b4af5e09 to your computer and use it in GitHub Desktop.
Save angeloevangelista/35d2733cd4173fa8070fc540b4af5e09 to your computer and use it in GitHub Desktop.
To fix Pulse Audio auto-ajust
sudo cp -vR /usr/share/pulseaudio/alsa-mixer/paths /usr/share/pulseaudio/alsa-mixer/paths_backup
sudo perl -pi -0 -e 's/(\[[A-Za-z ]*Mic Boost\][A-Za-z._=\s-]+volume *= *)merge/\1zero/g;' /usr/share/pulseaudio/alsa-mixer/paths/*
sudo diff -r -C 5 /usr/share/pulseaudio/alsa-mixer/paths_backup /usr/share/pulseaudio/alsa-mixer/paths
@wa1one
Copy link

wa1one commented Oct 10, 2023

It really helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment