Blame pulseaudio-autostart.patch
|
Rex Dieter |
afeafe3 |
diff -up pulseaudio-6.0/src/daemon/start-pulseaudio-x11.in.autostart pulseaudio-6.0/src/daemon/start-pulseaudio-x11.in
|
|
Rex Dieter |
afeafe3 |
--- pulseaudio-6.0/src/daemon/start-pulseaudio-x11.in.autostart 2015-02-12 08:10:35.000000000 -0600
|
|
Rex Dieter |
afeafe3 |
+++ pulseaudio-6.0/src/daemon/start-pulseaudio-x11.in 2015-06-22 11:24:13.561614127 -0500
|
|
Rex Dieter |
afeafe3 |
@@ -17,6 +17,9 @@
|
|
Rex Dieter |
afeafe3 |
|
|
Rex Dieter |
afeafe3 |
set -e
|
|
Rex Dieter |
afeafe3 |
|
|
Rex Dieter |
afeafe3 |
+# probe to test if autospawn works, else resort to starting manually
|
|
Rex Dieter |
0e8555e |
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
|
|
Rex Dieter |
afeafe3 |
+
|
|
Rex Dieter |
afeafe3 |
if [ x"$DISPLAY" != x ] ; then
|
|
Rex Dieter |
afeafe3 |
|
|
Rex Dieter |
afeafe3 |
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
|