Also set MIR_SOCKET to point at unity8 for DBus-activated processes
commite563cac44121b6397bfe77fe8ef44f5218c47b2a
authorMichael Terry <michael.terry@canonical.com>
dateTue 21 Jan 2014, 11:28 (13 years ago)
parentf812445
data/unity8.conf+1
@@ -24,6 +24,7 @@ pre-start script
2424 # Point all future jobs in this session to our Mir socket instead of
2525 # unity-system-compositor's socket.
2626 initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
27+ gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"
2728 fi
2829end script
2930
debian/control+1
@@ -72,6 +72,7 @@ Package: unity8
7272Architecture: any
7373Provides: indicator-renderer,
7474Depends: gsettings-desktop-schemas,
75+ libglib2.0-bin,
7576 qmenumodel-qml (>= 0.2.7),
7677 qtdeclarative5-dee-plugin,
7778 qtdeclarative5-gsettings1.0,