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 # FIXME Create an autopilot test that makes sure start+stop and restart
20 # work fine at least 2 times
21 # Save original value of MIR_SOCKET in case we are stopped,
22 # as we modify the variable for future jobs, including ourself.
23 UNITY_MIR_SOCKET=$(initctl get-env --global MIR_SOCKET)
24 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 normal and trusted sockets if still there
38 if [ -S "$MIR_SERVER_FILE" ]; then
42 if [ -S "${MIR_SERVER_FILE}_trusted" ]; then
43 rm "${MIR_SERVER_FILE}_trusted"
46 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
49exec ${BINARY:-unity8} $ARGS
52 initctl emit --no-wait indicator-services-start
54 # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
55 # issues (LP: #1486341). As a bonus, this eliminates most of the
56 # lag seen in the indicator panel pull-down (LP: #1488327) and also
57 # reduces lag seen in apps:
58 initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
60 # For twice the fun and half the latency, try this (Warning: not all
61 # devices are fast enough to keep up smoothly yet)...
62 # initctl set-env MIR_SERVER_NBUFFERS=2
66 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
67 initctl unset-env --global UNITY_MIR_SOCKET
68 initctl unset-env --global MIR_SERVER_PROMPT_FILE
69 initctl emit application-end
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