Skip to content

Instantly share code, notes, and snippets.

@madmann91
Created February 15, 2021 16:02
Show Gist options
  • Save madmann91/64bfab7163b86b2dcf9f3244846d27f7 to your computer and use it in GitHub Desktop.
Save madmann91/64bfab7163b86b2dcf9f3244846d27f7 to your computer and use it in GitHub Desktop.
Small fixes for audio issues on Linux
#!/bin/sh
# Disables notification sounds from gnome
dconf write /org/gnome/desktop/sound/event-sounds "false"
# Disables PulseAudio's suspend-on-idle to avoid cracks and pops
echo "
.include /etc/pulse/default.pa
.nofail
unload-module module-suspend-on-idle
.fail" > ~/.config/pulse/default.pa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment