aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'xsessionrc.dot.link')
-rwxr-xr-xxsessionrc.dot.link6
1 files changed, 3 insertions, 3 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index c3df8e0..d6abfc2 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -139,11 +139,11 @@ fi
#trap 'kill $(jobs -p)' EXIT
# Pulse audio
-if which start-pulseaudio-x11 > /dev/null 2>&1; then
- start-pulseaudio-x11
-elif which pulseaudio > /dev/null 2>&1; then
+if [ "$OSVERSION" = "9" ] && which pulseaudio > /dev/null 2>&1; then
# Works on stretch backwards, but not on buster onwards
pulseaudio --start
+elif which start-pulseaudio-x11 > /dev/null 2>&1; then
+ start-pulseaudio-x11
fi
# Start spice-vdagent if needed