1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE greeter SYSTEM "greeter.dtd"> |
---|
3 | <greeter> |
---|
4 | |
---|
5 | <!-- test the theme with gdmthemeter and with a given resolution |
---|
6 | export XNESTSIZE=1024x768 (not working in debian... for now) |
---|
7 | --> |
---|
8 | |
---|
9 | <!--Background --> |
---|
10 | <item type="pixmap"> |
---|
11 | <normal file="bg.jpg"/> |
---|
12 | <pos x="0" y="0" width="100%" height="100%"/> |
---|
13 | </item> |
---|
14 | |
---|
15 | <!--Login window --> |
---|
16 | <item type="pixmap"> |
---|
17 | <normal file="login.png"/> |
---|
18 | <pos anchor="c" x="50%" y="72%"/> |
---|
19 | </item> |
---|
20 | |
---|
21 | <!--Clock --> |
---|
22 | <item type="label" id="clock"> |
---|
23 | <normal color="#999999" font="Sans 10"/> |
---|
24 | <pos anchor="c" x="87%" y="97.2%" /> |
---|
25 | <text>%c</text> |
---|
26 | </item> |
---|
27 | |
---|
28 | <!--NOT TESTED --> |
---|
29 | <item type="rect"> |
---|
30 | <show type="timed"/> |
---|
31 | <normal color="#ff0000" alpha="0.5"/> |
---|
32 | <pos anchor="c" x="50%" y="35%" width="box" height="box"/> |
---|
33 | <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> |
---|
34 | <item type="label" id="timed-label"> |
---|
35 | <normal color="#ff0000" font="Sans 12"/> |
---|
36 | <pos x="50%" anchor="n"/> |
---|
37 | <!-- Stock label for: User %s will login in %d seconds --> |
---|
38 | <stock type="timed-label"/> |
---|
39 | </item> |
---|
40 | </box> |
---|
41 | </item> |
---|
42 | |
---|
43 | <!--Login --> |
---|
44 | <item type="rect"> |
---|
45 | <normal color="#FFFFFF" alpha="0"/> |
---|
46 | <pos anchor="c" x="50%" y="73.5%" width="box" height="box"/> |
---|
47 | <box orientation="vertical" min-width="380" xpadding="30" ypadding="30" spacing="10"> |
---|
48 | |
---|
49 | <item type="label" id="pam-prompt"> |
---|
50 | <pos anchor="c" x="50%" y="30%"/> |
---|
51 | <normal color="#ffffff" font="Sans 10"/> |
---|
52 | <!-- Stock label for: Username: --> |
---|
53 | <stock type="username-label"/> |
---|
54 | </item> |
---|
55 | |
---|
56 | <item type="rect"> |
---|
57 | <normal color="#333333"/> |
---|
58 | <pos anchor="n" x="50%" height="18" width="40%"/> |
---|
59 | <fixed> |
---|
60 | <item type="entry" id="user-pw-entry"> |
---|
61 | <normal color="#333333" font="Sans 10"/> |
---|
62 | <pos anchor="nw" x="1" y="1" height="-2" width="-2"/> |
---|
63 | </item> |
---|
64 | </fixed> |
---|
65 | </item> |
---|
66 | |
---|
67 | <item type="rect" id="caps-lock-warning"> |
---|
68 | <normal color="#FFFFFF" alpha="0"/> |
---|
69 | <pos anchor="c" x="50%" y="60%" width="box" height="box"/> |
---|
70 | <box orientation="vertical" min-width="380" xpadding="10" ypadding="0" spacing="0"> |
---|
71 | <item type="label"> |
---|
72 | <normal color="#999999" font="Sans 12"/> |
---|
73 | <pos x="50%" anchor="n"/> |
---|
74 | <!-- Stock label for: You've got capslock on! --> |
---|
75 | <stock type="caps-lock-warning"/> |
---|
76 | </item> |
---|
77 | </box> |
---|
78 | </item> |
---|
79 | |
---|
80 | <!-- all possible actions --> |
---|
81 | <item type="rect"> |
---|
82 | <normal color="#999999" alpha="0"/> |
---|
83 | <pos anchor="c" x="50%" y="0%" width="248" height="box" expand="true"/> |
---|
84 | <box xpadding="5" ypadding="5" spacing="5" orientation="horizontal" homogeneous="true"> |
---|
85 | |
---|
86 | <item type="rect" id="options_button" button="true"> |
---|
87 | <normal color="#ffffff" alpha="0"/> |
---|
88 | <pos y="35" anchor="w" width="box" height="box"/> |
---|
89 | <box orientation="horizontal" spacing="5" xpadding="10"> |
---|
90 | <item type="label"> |
---|
91 | <normal color="#999999" font="Sans 9"/> |
---|
92 | <prelight color="#333333" font="Sans 9"/> |
---|
93 | <active color="#000000" font="Sans 9"/> |
---|
94 | <pos y="0%" anchor="w"/> |
---|
95 | <stock type="options"/> |
---|
96 | </item> |
---|
97 | </box> |
---|
98 | </item> |
---|
99 | |
---|
100 | <item type="rect" id="disconnect_button" button="true"> |
---|
101 | <normal color="#ffffff" alpha="0"/> |
---|
102 | <show modes="flexi,remote"/> |
---|
103 | <pos y="35" anchor="w" width="box" height="box"/> |
---|
104 | <box orientation="horizontal" spacing="5" xpadding="10"> |
---|
105 | <item type="label"> |
---|
106 | <normal color="#999999" font="Sans 9"/> |
---|
107 | <prelight color="#333333" font="Sans 9"/> |
---|
108 | <active color="#000000" font="Sans 9"/> |
---|
109 | <pos y="0%" anchor="w"/> |
---|
110 | <stock type="disconnect"/> |
---|
111 | <show modes="remote"/> |
---|
112 | </item> |
---|
113 | </box> |
---|
114 | </item> |
---|
115 | |
---|
116 | <!-- reboot in console --> |
---|
117 | <item type="rect" id="reboot_button" button="true"> |
---|
118 | <normal color="#ffffff" alpha="0"/> |
---|
119 | <show modes="console"/> |
---|
120 | <pos y="35" anchor="w" width="box" height="box"/> |
---|
121 | <box orientation="horizontal" spacing="5" xpadding="10"> |
---|
122 | <item type="label"> |
---|
123 | <normal color="#999999" font="Sans 9"/> |
---|
124 | <prelight color="#333333" font="Sans 9"/> |
---|
125 | <active color="#000000" font="Sans 9"/> |
---|
126 | <pos y="0%" anchor="w"/> |
---|
127 | <show modes="console"/> |
---|
128 | <stock type="reboot"/> |
---|
129 | </item> |
---|
130 | </box> |
---|
131 | </item> |
---|
132 | <!-- shutdown in console --> |
---|
133 | <item type="rect" id="halt_button" button="true"> |
---|
134 | <normal color="#ffffff" alpha="0"/> |
---|
135 | <pos y="35" anchor="w" width="box" height="box"/> |
---|
136 | <box orientation="horizontal" spacing="5" xpadding="10"> |
---|
137 | <item type="label"> |
---|
138 | <normal color="#999999" font="Sans 9"/> |
---|
139 | <prelight color="#333333" font="Sans 9"/> |
---|
140 | <active color="#000000" font="Sans 9"/> |
---|
141 | <pos y="0%" anchor="w"/> --> |
---|
142 | <show modes="console"/> |
---|
143 | <stock type="halt"/> |
---|
144 | </item> |
---|
145 | </box> |
---|
146 | </item> |
---|
147 | </box> |
---|
148 | </item> |
---|
149 | |
---|
150 | </box> |
---|
151 | |
---|
152 | <fixed> |
---|
153 | <item type="label" id="pam-error"> |
---|
154 | <pos anchor="c" x="50%" y="115%"/> |
---|
155 | <normal color="#ff0000" font="Sans 12"/> |
---|
156 | <text></text> |
---|
157 | </item> |
---|
158 | </fixed> |
---|
159 | </item> |
---|
160 | |
---|
161 | </greeter> |
---|
162 | |
---|
163 | |
---|