on xenial help sign in
Stop indicators when Unity 8 stops

This helps when an indicator doesn't expect Unity 8 to die behind its back. For example, indicator-network is unable to know if Unity 8 has died and won't clear its "is SIM PIN (notification) dialog open" state. This fixes ubports/ubuntu-touch#1271.

commitc73f2768d8ac5de445276371160ac4e426d0e205 authorRatchanan Srirattanamet <ratchanan@ubports.com> dateFri 13 Dec 2019, 17:28 (7 years ago) parent5e3b45c
1 file changed+2
data/unity8.conf+2
data/unity8.conf+2
@@ -2,6 +2,7 @@ description "Unity Shell v8"
22author "Ricardo Mendoza <ricmm@ubuntu.com>"
33
44emits indicator-services-start
5+emits indicator-services-end
56
67start on ((xsession SESSION=ubuntu-touch) or (xsession SESSION=unity8-mir) or (xsession SESSION=unity8)) and started dbus
78stop on desktop-end
@@ -94,4 +95,5 @@ post-stop script
9495 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
9596 initctl unset-env --global MIR_SERVER_PROMPT_FILE
9697 initctl emit application-end
98+ initctl emit indicator-services-end
9799end script