on xenial help sign in
Disable ofono using pulseaudio
0fda459Michael Terry
data/unity8-greeter-wrapper+6
@@ -43,6 +43,12 @@ fi
43# will start.
43# will start.
44export DESKTOP_SESSION=ubuntu-touch
44export DESKTOP_SESSION=ubuntu-touch
45
45
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+
46# Normal unity8 sessions are entirely driven by Upstart. But greeters
52# Normal unity8 sessions are entirely driven by Upstart. But greeters
47# are special. They need access to the file descriptors that lightdm
53# are special. They need access to the file descriptors that lightdm
48# creates for them and don't want to start all the services that a normal
54# creates for them and don't want to start all the services that a normal