ftp://ftp.uni-heidelberg.de/pub/X11/contrib/applications/xscreensaver-2.07.tar.gz
[xscreensaver] / driver / XScreenSaver.ad.in
1 ! app-defaults file for XScreenSaver by Jamie Zawinski.
2 ! See "man xscreensaver" for more info.  The latest version is always
3 ! available at http://people.netscape.com/jwz/xscreensaver/
4
5 *timeout:               10
6 *cycle:                 10
7 *lockTimeout:           0
8 *passwdTimeout:         30
9 *nice:                  10
10 *lock:                  False
11 *verbose:               False
12 *fade:                  True
13 *unfade:                False
14 *fadeSeconds:           3
15 *fadeTicks:             20
16
17 *captureStderr:         True
18 *captureStdout:         True
19 *textForeground:        Yellow
20 *textBackground:        Black
21 *overlayStderr:         True
22 *font:                  *-medium-r-*-140-*-m-*
23
24 ! Turning on "installColormap" interacts erratically with twm and tvtwm,
25 ! but seems to work fine with mwm and olwm.  Try it and see.  If your
26 ! screen turns some color other than black, the window manager is buggy,
27 ! and you need to set this resource to False (or get a WM that works.)
28 !
29 *installColormap:       True
30
31
32 ! Any program which can draw on the root window will work as a screensaver.
33 ! The following resource enumerates them.
34 !
35 ! Programs are separated by newlines (specified in resource files with \n).
36 ! Lines may be continued with a lone \ at the end of the line.
37 !
38 ! Each line is an `sh' command.
39 !
40 ! But, if the first word on the line is the name of a visual followed by a
41 ! colon, then that visual will be used for the program, if it is available.
42 ! If no such visual is available, then the program will be skipped.  In
43 ! this way, you can specify that you want certain programs to run only
44 ! on color screens, and others only on mono screens, by making use of the
45 ! magic visual names "color" and "mono".  Likewise, if some hacks prefer
46 ! colormaps, but others prefer 24-bit windows, that also can be arranged
47 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
48 !
49 ! All programs must be launched in such a way that they draw on the root
50 ! window; they should not be spawned in the background with "&".  If shell
51 ! metacharacters are used, they must be understandable to `sh', not `csh'
52 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
53 !
54 *programs:      qix -root                                               \n\
55                 qix -root -solid -delay 0 -segments 100                 \n\
56                 qix -root -linear -count 10 -size 100 -segments 200     \n\
57                 attraction -root -mode balls                            \n\
58                 attraction -root -mode lines -points 3 -segments 200    \n\
59                 attraction -root -mode splines -segments 300            \n\
60                 attraction -root -mode lines -radius 300                  \
61                         -orbit -vmult 0.5                               \n\
62                 pyro -root                                              \n\
63                 helix -root                                             \n\
64                 pedal -root                                             \n\
65                 rorschach -root -offset 7                               \n\
66                 hopalong -root                                          \n\
67                 greynetic -root                                         \n\
68                 xroger -root                                            \n\
69                 imsmap -root                                            \n\
70                 slidescreen -root                                       \n\
71                 decayscreen -root                                       \n\
72                 hypercube -root                                         \n\
73                 halo -root                                              \n\
74                 maze -root                                              \n\
75                 noseguy -root                                           \n\
76                 flame -root                                             \n\
77                 lmorph -root                                            \n\
78                 deco -root                                              \n\
79                 moire -root                                             \n\
80                 kaleidescope -root                                      \n\
81                 lightning -root                                         \n\
82                 strange -root                                           \n\
83                 fract -root                                             \n\
84                 spiral -root                                            \n\
85                 laser -root                                             \n\
86                 grav -root                                              \n\
87                 grav -root -trail -decay                                \n\
88                 drift -root                                             \n\
89                 ifs -root                                               \n\
90                 julia -root                                             \n\
91                 penrose -root                                           \n\
92                 sierpinski -root                                        \n\
93                 braid -root                                             \n\
94                 galaxy -root                                            \n\
95                 slip -root                                              \n\
96                 bouboule -root                                          \n\
97                 swirl -root                                             \n\
98                 flag -root                                              \n\
99                 sphere -root                                            \n\
100                 forest -root                                            \n\
101                 lisa -root                                              \n\
102                 goop -root                                              \n\
103                 starfish -root                                          \n\
104                 starfish -root -blob                                    \n\
105                 munch -root                                             \n\
106                 fadeplot -root                                          \n\
107                                                                           \
108         mono:   rocks -root                                             \n\
109         color:  rocks -root -fg darksalmon                              \n\
110                                                                           \
111         mono:   qix -root -linear -count 5 -size 200 -spread 30           \
112                         -segments 75 -solid -xor                        \n\
113                                                                           \
114         color:  attraction -root -mode polygons                         \n\
115         color:  attraction -root -mode filled-splines -segments 0       \n\
116         color:  attraction -root -glow -points 10                       \n\
117         color:  bubbles -root                                           \n\
118                                                                           \
119   PseudoColor:  qix -root -count 4 -solid -transparent                  \n\
120   PseudoColor:  qix -root -count 5 -solid -transparent -linear            \
121                         -segments 250 -size 100                         \n\
122 @GL_KLUDGE_1@
123 @GL_KLUDGE_2@   gears -root                                             \n\
124 @GL_KLUDGE_2@   superquadrics -root                                     \n\
125 @GL_KLUDGE_2@   morph3d -root                                           \n\
126 @GL_KLUDGE_2@   escher -root                                            \n\
127 @GL_KLUDGE_2@   pipes -root                                             \n\
128 @GL_KLUDGE_2@   sproingies -root                                        \n\
129 @GL_KLUDGE_2@   rubik -root                                             \n
130  
131
132 ! A few of the hacks require OpenGL, and will only be built if you have it.
133 ! Note that those hacks (gears, superquadratics, escher, pipes, and
134 ! sproingies) will work best on a visual *half* as deep as the depth of the
135 ! screen, since that way they can do double-buffering -- on an SGI, you
136 ! should specify the 12-bit TrueColor visual (probably 0x29) instead of
137 ! letting XScreenSaver pick the visual itself (specifying "TrueColor" would
138 ! select the 24-bit TrueColor visual, and double-buffering wouldn't be used,
139 ! resulting in flicker.)
140 !
141 ! Some other programs that you might want to track down (these work as
142 ! XScreenSaver helpers, but are not distributed with it):
143 !
144 !               xdaliclock -root -builtin2                              \n\
145 !               xswarm -r 2>&-                                          \n\
146 !               xwave -root                                             \n\
147 !               xbouncebits ...                                         \n\
148 !               ico -r -faces -sleep 1 -obj ico                         \n\
149 !               xsplinefun                                              \n\
150 !               kaleid -root                                            \n\
151 !       color:  xfishtank -c black -d -r 2                              \n\
152 !
153 ! xtacy is ok, but it only works on the default visual.  We can satisfy
154 ! that constraint like so:
155 !
156 !     default:  xtacy -root -delay 100 -funky -number 3                 \n\
157 !     default:  xtacy -root -delay 100 -gravity                         \n\
158 !     default:  xtacy -root -delay 100 -mixer                           \n\
159 !     default:  xtacy -root -delay 100 -taffy -pal 4                    \n\
160
161 ! To display a slideshow of images, you can do something like this:
162 !
163 !     default:  xv -root -rmode 5  image-1.gif  -quit
164 !     default:  xv -root -rmode 5  image-2.gif  -quit
165 !     default:  xv -root -rmode 5  image-3.gif  -quit
166 !               ...and so on...
167 !
168 ! however, for this to work, you must also have started the screensaver so
169 ! that it uses the default colormap (the "-no-install" command-line option, or
170 ! the "installColormap: False" resource) because when XV is running in "-root"
171 ! mode, it always assumes that the default colormap is being used, rather than
172 ! examining the window it is drawing on to see what colormap it has.  (It
173 ! also assumes the default visual, but we've taken care of that above.)
174 !
175 ! Some SGI GL programs work with XScreenSaver; most don't.
176 !
177 ! Bongo works fine:
178 !
179 !       /usr/demos/bin/bongo -wbongo
180 !
181 ! ElectroPaint sort-of works; XScreenSaver will launch it, and it will run
182 ! properly, but when it's time to turn off the screensaver, you need to hit
183 ! the Escape key, rather than just moving the mouse.  Apparently GL programs
184 ! are able to intercept the keyboard even when X has the keyboard grabbed!
185 !
186 !       /usr/demos/bin/ep
187 !
188 ! None of the other SGI GL demos I've tried worked, because none of them seem
189 ! to have command-line options that will make them take up the whole screen;
190 ! so all you get is a miniscule 100x100 image, which is worthless.  This is a
191 ! shame, since many of those demos would make fine screensavers.
192 !
193 ! If anyone who understands how "haven" works would like to send me the code
194 ! necessary to do what it does, I would be much obliged.
195
196
197
198 !=============================================================================
199 !
200 !      You probably don't want to change anything after this point.
201 !
202 !=============================================================================
203
204
205 ! Resources for the Motif dialog boxes:
206
207 *fontList:                       *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
208 *demoDialog*label1.fontList:     *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
209 *passwdDialog*fontList:          *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
210 *XmList.fontList:                  *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
211 *XmTextField.fontList:             *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
212 *passwdDialog.passwdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
213
214 *XmDialogShell*foreground:              black
215 *XmDialogShell*background:              gray90
216 *XmDialogShell*XmTextField.foreground:  black
217 *XmDialogShell*XmTextField.background:  white
218 *XmDialogShell*demoList.foreground:     black
219 *XmDialogShell*demoList.background:     white
220 *XmDialogShell*rogerLabel.foreground:   red3
221 *XmDialogShell*rogerLabel.background:   white
222
223 *XmDialogShell.title:           XScreenSaver
224 *allowShellResize:              True
225 *autoUnmanage:                  False
226
227 ! This doesn't work.  Motif ignores it if there is a scroll-list!
228 *demoDialog.maxWidth:           600
229
230 *label1.labelString:            XScreenSaver %s
231 *label1.label:                  XScreenSaver %s
232 *label2.labelString: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
233 *label2.label:       Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
234 *demoList.visibleItemCount:     10
235 *demoList.automaticSelection:   True
236 *next.labelString:              Run Next
237 *prev.labelString:              Run Previous
238 *edit.labelString:              Edit Parameters
239 *done.labelString:              Exit Demo Mode
240 *restart.labelString:           Reinitialize
241
242 *resourcesLabel.labelString:    XScreenSaver Parameters
243
244 *timeoutLabel.labelString:      Saver Timeout
245 *cycleLabel.labelString:        Cycle Timeout
246 *fadeSecondsLabel.labelString:  Fade Duration
247 *fadeTicksLabel.labelString:    Fade Ticks
248 *lockLabel.labelString:         Lock Timeout
249 *passwdLabel.labelString:       Password Timeout
250 *resourcesForm*XmTextField.columns:     8
251
252 *verboseToggle.labelString:     Verbose
253 *cmapToggle.labelString:        Install Colormap
254 *fadeToggle.labelString:        Fade Colormap
255 *unfadeToggle.labelString:      Unfade Colormap
256 *lockToggle.labelString:        Require Password
257 *resourcesDone.labelString:     Done
258 *resourcesCancel.labelString:   Cancel
259
260 *passwdDialog.title:            Password
261 *passwdLabel1.labelString:      XScreenSaver %s
262 *passwdLabel2.labelString:      This display is locked.
263 *passwdLabel3.labelString:      Please type %s's password to unlock it.
264 *passwdDone.labelString:        Done
265 *passwdCancel.labelString:      Cancel
266
267 *passwdLabel1.alignment:        ALIGNMENT_BEGINNING
268 *passwdLabel2.alignment:        ALIGNMENT_BEGINNING
269 *passwdLabel3.alignment:        ALIGNMENT_BEGINNING
270 *rogerLabel.width:              150
271
272
273 ! Resources for the dialog boxes using the abominable Athena widgets:
274
275 *demo_dialog*font:              *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
276 *resources_dialog*font:         *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
277 *passwd_dialog*font:            *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
278 *demo_dialog*label1.font:       *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
279 *resources_dialog*label1.font:  *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
280 *demo_dialog*List.font:         *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
281
282 ! This is a hack to make the typed password invisible.
283 ! Surely someone can do better than this...
284 *passwd_dialog*passwd_form.value*font:          *nil*
285
286 *demo_dialog*foreground:                        black
287 *demo_dialog*background:                        gray90
288 *demo_dialog*List.background:                   white
289 *demo_dialog*Scrollbar.background:              gray85
290 *demo_dialog*Command.background:                gray85
291
292 *resources_dialog*foreground:                   black
293 *resources_dialog*background:                   gray90
294 *resources_dialog*Command.background:           gray85
295 *resources_dialog*Toggle.background:            gray85
296 *resources_dialog*Text*background:              white
297
298 *resources_dialog*Dialog.value.translations: #override\n\
299         <Key>Return: beginning-of-line()\n
300
301 *passwd_dialog*foreground:                      black
302 *passwd_dialog*background:                      gray90
303 *passwd_dialog*Text*background:                 white
304
305 *demo_dialog*viewport.width:                    400
306 *demo_dialog*viewport.height:                   200
307 *Form.borderWidth:                              0
308 *Box.borderWidth:                               0
309 *Label.borderWidth:                             0
310 *resources_dialog*Dialog.borderWidth:           0
311
312 *demo_dialog*next.label:                        Run Next
313 *demo_dialog*prev.label:                        Run Previous
314 *demo_dialog*edit.label:                        Edit Parameters
315 *demo_dialog*done.label:                        Exit Demo Mode
316 *demo_dialog*restart.label:                     Reinitialize
317
318 *resources_dialog*timeout.label:                Saver Timeout:
319 *resources_dialog*cycle.label:                  Cycle Timeout:
320 *resources_dialog*fade.label:                   Fade Duration:
321 *resources_dialog*ticks.label:                  Fade Ticks:
322 *resources_dialog*lockTime.label:               Lock Timeout:
323 *resources_dialog*passwdTime.label:             Password Timeout:
324
325 *resources_dialog*label1.label:                 XScreenSaver Parameters
326 *resources_dialog*buttonbox.verbose.label:      Verbose
327 *resources_dialog*buttonbox.cmap.label:         Install Colormap
328 *resources_dialog*buttonbox.fade.label:         Fade Colormap
329 *resources_dialog*buttonbox.unfade.label:       Unfade Colormap
330 *resources_dialog*buttonbox.lock.label:         Require Password
331 *resources_dialog*done.label:                   Done
332 *resources_dialog*cancel.label:                 Cancel
333
334 *passwd_dialog*label1.label:                    XScreenSaver %s
335 *passwd_dialog*label2.label:                    This display is locked.
336 *passwd_dialog*label3.label:            Please type %s's password to unlock it.
337 *passwd_dialog*ok.label:                        Done
338 *passwd_dialog*cancel.label:                    Cancel
339 *passwd_dialog*passwd_form*label.label:         Enter password:
340 *passwd_dialog*Dialog.label:                    Enter password:
341 *passwd_dialog*passwd_form*Text.width:          200
342 *passwd_dialog*roger.width:                     150
343 *passwd_dialog*roger.height:                    150
344 *passwd_dialog*roger.foreground:                red3
345 *passwd_dialog*roger.background:                white
346 *passwd_dialog*roger.borderWidth:               1
347
348
349 ! You probably won't need to change these.  They are only used if no server
350 ! extension is in use.
351 !
352 *pointerPollTime:       5
353 *initialDelay:          30
354 *windowCreationTimeout: 30
355
356 *bourneShell:           /bin/sh