Disable ofono using pulseaudio
commit0fda459b9302c6d023c61ea55274441318422886
authorMichael Terry <michael.terry@canonical.com>
dateThu 8 May 2014, 16:03 (12 years ago)
parent8a832cb
data/unity8-greeter-wrapper+6
@@ -43,6 +43,12 @@ fi
4343# will start.
4444export DESKTOP_SESSION=ubuntu-touch
4545
46+# We disable ofono using pulse. It causes problems with racing with the user's
47+# pulse. We need to come up with a better long-term fix for this, because we
48+# eventually need the greeter to play ringtones for users that aren't logged in.
49+export PA_DISABLED=1
50+gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "{'PA_DISABLED': '1'}"
51+
4652# Normal unity8 sessions are entirely driven by Upstart. But greeters
4753# are special. They need access to the file descriptors that lightdm
4854# creates for them and don't want to start all the services that a normal