#!/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