summaryrefslogtreecommitdiff
path: root/extra/pulseaudio/pulseaudio.xinit
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pulseaudio/pulseaudio.xinit')
-rw-r--r--extra/pulseaudio/pulseaudio.xinit7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/pulseaudio/pulseaudio.xinit b/extra/pulseaudio/pulseaudio.xinit
new file mode 100644
index 000000000..ca510e882
--- /dev/null
+++ b/extra/pulseaudio/pulseaudio.xinit
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$SESSION" in
+ GNOME|KDE*|xfce4) # PulseAudio is started via XDG Autostart
+ ;;
+ *) /usr/bin/start-pulseaudio-x11 ;;
+esac