1description "Unity Shell v8"
2author "Ricardo Mendoza <ricmm@ubuntu.com>"
4emits indicator-services-start
6start on ((xsession SESSION=ubuntu-touch) or (xsession SESSION=unity8-mir)) and started dbus
15 # Tell unity-mir to raise SIGSTOP after we start
16 initctl set-env UNITY_MIR_EMITS_SIGSTOP=1
18 if [ -n "$MIR_SOCKET" ]; then
19 if [ -z "$UNITY_MIR_SOCKET" ]; then
20 # Save original value of MIR_SOCKET in case we are restarted,
21 # as we modify the variable for future jobs, including ourself.
22 UNITY_MIR_SOCKET=$MIR_SOCKET
23 initctl set-env --global UNITY_MIR_SOCKET=$UNITY_MIR_SOCKET
26 # Point unity8 at unity-system-compositor
27 MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
28 initctl set-env MIR_SERVER_FILE=$MIR_SERVER_FILE
29 initctl set-env MIR_SERVER_HOST_SOCKET=$UNITY_MIR_SOCKET
31 # Point all future jobs in this session to our Mir socket instead of
32 # unity-system-compositor's socket.
33 initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
34 gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"
37 # Remove the socket if still there
38 if [ -S "$MIR_SERVER_FILE" ]; then
42 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
44 initctl emit --no-wait indicator-services-start
47exec ${BINARY:-unity8} $ARGS
50 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
51 initctl unset-env --global UNITY_MIR_SOCKET
52 initctl unset-env --global MIR_SERVER_PROMPT_FILE
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list