Skip to content

Instantly share code, notes, and snippets.

@Kangaroux
Created July 16, 2020 01:24
Show Gist options
  • Save Kangaroux/46bb853f13a637c071b1f890e1217724 to your computer and use it in GitHub Desktop.
Save Kangaroux/46bb853f13a637c071b1f890e1217724 to your computer and use it in GitHub Desktop.
Disable automatic audio device switching for linux, ubuntu (USB, controller, dualshock)
# If you want to stop your system from automatically switching audio devices,
# there is a simple edit to your PulseAudio config to disable that feature.
# Open PulseAudio config
sudo vim /etc/pulse/default.pa
# Comment out the line with "load-module module-switch-on-connect"
# Restart PulseAudio
pulseaudio -k
@ha7ak3
Copy link

ha7ak3 commented Jul 27, 2023

Thanks :)

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