]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/unity-mir-script-hooks.conf
Remove MirServer class and connect Mir sessions directly to UnitySystemCompositor
[sojka/lightdm.git] / tests / scripts / unity-mir-script-hooks.conf
1 #
2 # Check LightDM runs the script hooks correctly for autologin and the greeter
3 #
4
5 [Seat:*]
6 type=unity
7 display-setup-script=test-script-hook DISPLAY-SETUP
8 display-stopped-script=test-script-hook DISPLAY-STOPPED
9 greeter-setup-script=test-script-hook GREETER-SETUP
10 session-setup-script=test-script-hook SESSION-SETUP
11 session-cleanup-script=test-script-hook SESSION-CLEANUP
12 autologin-user=have-password1
13 user-session=mir
14
15 #?*START-DAEMON
16 #?RUNNER DAEMON-START
17
18 # System compositor starts
19 #?UNITY-SYSTEM-COMPOSITOR START FILE=/run/mir_socket VT=7 XDG_VTNR=7
20 #?*UNITY-SYSTEM-COMPOSITOR READY
21
22 # Script hooks run
23 #?SCRIPT-HOOK DISPLAY-SETUP
24 #?SCRIPT-HOOK SESSION-SETUP USER=have-password1
25
26 # Session starts
27 #?SESSION-MIR-session-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 XDG_SESSION_TYPE=mir XDG_SESSION_DESKTOP=mir USER=have-password1
28 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
29
30 # System compositor switches to session
31 #?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=session-0
32
33 # Logout session
34 #?*SESSION-MIR-session-0 LOGOUT
35
36 # Script hooks runs
37 #?SCRIPT-HOOK SESSION-CLEANUP USER=have-password1
38 #?SCRIPT-HOOK DISPLAY-SETUP
39 #?SCRIPT-HOOK GREETER-SETUP USER=.*
40
41 # Greeter starts
42 #?GREETER-MIR-greeter-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
43 #?LOGIN1 ACTIVATE-SESSION SESSION=c1
44 #?GREETER-MIR-greeter-0 CONNECT-TO-DAEMON
45 #?GREETER-MIR-greeter-0 CONNECTED-TO-DAEMON
46
47 # System compositor switches to greeter
48 #?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=greeter-0
49
50 # Cleanup
51 #?*STOP-DAEMON
52 #?GREETER-MIR-greeter-0 TERMINATE SIGNAL=15
53 #?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
54
55 # Script hooks run
56 #?SCRIPT-HOOK DISPLAY-STOPPED
57
58 # Finish cleanup
59 #?RUNNER DAEMON-EXIT STATUS=0