From 7c3a8d90c21b7f045d2cf4d0d35e9cf95108d89c Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Fri, 19 Jun 2015 11:20:26 -0700 Subject: [PATCH] add an extra sleep between user init and paplay there is a race as we need the pulseaudio session to be run by the time we play as otherwise we activate a daemon that uses the wrong profile and doesn't play properly generally we sould move the heap of stuff out of this script and into a user session instead --- bin/plasma-phone.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/plasma-phone.cmake b/bin/plasma-phone.cmake index 1fdc9593..e059c247 100644 --- a/bin/plasma-phone.cmake +++ b/bin/plasma-phone.cmake @@ -34,6 +34,8 @@ export FORCE_RIL_NUM_MODEMS=1 # upstart user session has useful bits like mtp-server init --user & +sleep 5 + /usr/bin/kbuildsycoca5 /usr/bin/kded5&