aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-08-05 21:27:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-08-05 21:27:21 -0300
commitf959cf590d33a5c32a3d005b2c1cfd6e37e9d280 (patch)
treef47234b7d011e8d248d71d90ad66a3b8293ea5c6
parent2d37e8a9b6c0dc0b811ec0ff63bf287bba28f0fe (diff)
downloadxsession-f959cf590d33a5c32a3d005b2c1cfd6e37e9d280.tar.gz
xsession-f959cf590d33a5c32a3d005b2c1cfd6e37e9d280.tar.bz2
Fix pulseaudio startup
-rwxr-xr-xxsessionrc.dot.link5
1 files changed, 4 insertions, 1 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index 6303399..c3df8e0 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -139,7 +139,10 @@ fi
#trap 'kill $(jobs -p)' EXIT
# Pulse audio
-if which pulseaudio > /dev/null 2>&1; then
+if which start-pulseaudio-x11 > /dev/null 2>&1; then
+ start-pulseaudio-x11
+elif which pulseaudio > /dev/null 2>&1; then
+ # Works on stretch backwards, but not on buster onwards
pulseaudio --start
fi