aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-08-06 16:32:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-08-06 16:32:20 -0300
commit8fed257aa14efeda770a2e7526c7c29535f42605 (patch)
treea3f59167f94d9ef6b6e3592512783ce8bf111976 /xsessionrc.dot.link
parentf959cf590d33a5c32a3d005b2c1cfd6e37e9d280 (diff)
downloadxsession-8fed257aa14efeda770a2e7526c7c29535f42605.tar.gz
xsession-8fed257aa14efeda770a2e7526c7c29535f42605.tar.bz2
Pulseaudio fixes
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