on xenial help sign in
use --global for set env and exec for unity8
e5c7162Michael Terry
data/unity8.conf+2−2
@@ -10,6 +10,6 @@ script
10 # Point all future jobs in this session to our Mir socket instead of
10 # Point all future jobs in this session to our Mir socket instead of
11 # unity-system-compositor's socket.
11 # unity-system-compositor's socket.
12 export MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
12 export MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
13− initctl set-env MIR_SOCKET=$MIR_SERVER_FILE
13+ initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
14− ${BINARY:-unity8} $ARGS
14+ exec ${BINARY:-unity8} $ARGS
15end script
15end script