diff options
Diffstat (limited to 'pulseaudio/pulseaudio.xinit')
-rw-r--r-- | pulseaudio/pulseaudio.xinit | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pulseaudio/pulseaudio.xinit b/pulseaudio/pulseaudio.xinit new file mode 100644 index 000000000..b2ce7151e --- /dev/null +++ b/pulseaudio/pulseaudio.xinit @@ -0,0 +1,12 @@ +#!/bin/sh +# to be sourced + +case "$SESSION" in + GNOME|KDE*|xfce4) + # XDG is supported so we don't need to do anything. + # as XDG Autostart will "just work"(tm) + ;; + *) + /usr/bin/start-pulseaudio-x11 + ;; +esac |