on xenial help sign in
use --global for set env and exec for unity8
commite5c7162135ab5648b9aa8c3d08249725a1b30e3f authorMichael Terry <michael.terry@canonical.com> dateWed 13 Nov 2013, 19:12 (13 years ago) parent9b59de0
1 file changed+2−2
data/unity8.conf+2−2
data/unity8.conf+2−2
@@ -10,6 +10,6 @@ script
1010 # Point all future jobs in this session to our Mir socket instead of
1111 # unity-system-compositor's socket.
1212 export MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
13− initctl set-env MIR_SOCKET=$MIR_SERVER_FILE
14− ${BINARY:-unity8} $ARGS
13+ initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
14+ exec ${BINARY:-unity8} $ARGS
1515end script