@@ -6,10 +6,12 @@ stop on desktop-end
9−script
9+pre-start script
10+ # Point unity8 at unity-system-compositor
11+ initctl set-env MIR_SERVER_HOST_SOCKET=$MIR_SOCKET
10 # Point all future jobs in this session to our Mir socket instead of
12 # Point all future jobs in this session to our Mir socket instead of
11 # unity-system-compositor's socket.
13 # unity-system-compositor's socket.
12− export MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
13− initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
14+ initctl set-env --global MIR_SOCKET=$XDG_RUNTIME_DIR/mir_socket
14− exec ${BINARY:-unity8} $ARGS
17+exec ${BINARY:-unity8} --file=$MIR_SOCKET $ARGS