From 1ab82e6aeeead3694ae9b368d25db0cb65765462 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 14 Feb 2017 00:51:53 +0100 Subject: [PATCH] add load-module module-switch-on-connect to root config --- tools/configure_pulse.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/configure_pulse.sh b/tools/configure_pulse.sh index fbd382fe..f39162bd 100755 --- a/tools/configure_pulse.sh +++ b/tools/configure_pulse.sh @@ -11,6 +11,7 @@ if [ -f "$xdgPath/pulse/default.pa" ]; then read -p "This will replace the current file located at $xdgPath/pulse/default.pa, press enter to continue or control+c to abort. " continue fi echo '.include /etc/pulse/default.pa +load-module module-switch-on-connect load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse.sock' > $xdgPath/pulse/default.pa echo "If you have not yet done so, please run this script as root to write the client.conf file." else