ftp://ftp.sunet.se/pub/vendor/sco/skunkware/osr5/x11/savers/xscreensaver/xscreensaver...
[xscreensaver] / lib / X11 / app-defaults / XScreenSaver
1 !
2 !                              XScreenSaver
3 !
4 !            a screen saver and locker for the X window system
5 !                            by Jamie Zawinski
6 !
7 !                              version 3.15
8 !                                20-Jun-99
9 !
10 ! See "man xscreensaver" for more info.  The latest version is always
11 ! available at http://www.jwz.org/xscreensaver/
12
13
14 ! These resources, when placed in the system-wide app-defaults directory
15 ! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default
16 ! settings for new users.  However, if you have a ".xscreensaver" file in
17 ! your home directory, the settings in that file take precedence.
18
19
20 *timeout:               10
21 *cycle:                 10
22 *lockTimeout:           0
23 *passwdTimeout:         30
24 *nice:                  10
25 *lock:                  True
26 *lockVTs:               True
27 *verbose:               False
28 *timestamp:             False
29 *fade:                  True
30 *unfade:                False
31 *fadeSeconds:           3
32 *fadeTicks:             20
33 *splash:                True
34 *splashDuration:        5
35 *visualID:              default
36
37 *captureStderr:         True
38 *overlayTextForeground: #FFFF00
39 *overlayTextBackground: #000000
40 *overlayStderr:         True
41 *font:                  *-medium-r-*-140-*-m-*
42
43 ! The default is to use these extensions if available (as noted.)
44 *sgiSaverExtension:     True
45 *mitSaverExtension:     False
46 *xidleExtension:        True
47 *procInterrupts:        True
48
49 ! This is what the "Demo" button on the splash screen runs (/bin/sh syntax.)
50 *demoCommand: xscreensaver-demo
51
52 ! This is what the "Prefs" button on the splash screen runs (/bin/sh syntax.)
53 *prefsCommand: xscreensaver-demo -prefs
54
55 ! This is the URL that the "Help" button on the splash screen loads.
56 *helpURL: http://www.jwz.org/xscreensaver/man.html
57
58 ! This is how the "Help" button loads URLs (/bin/sh syntax.)
59 ! The "helpURL" will be substituted for up to two occurrences of "%s".
60 *loadURL: netscape -remote 'openURL(%s)' || netscape '%s'
61
62
63 ! Turning on "installColormap" interacts erratically with twm and tvtwm,
64 ! but seems to work fine with mwm and olwm.  Try it and see.  If your
65 ! screen turns some color other than black, the window manager is buggy,
66 ! and you need to set this resource to False (or get a WM that works.)
67 !
68 *installColormap:       True
69
70
71 ! Any program which can draw on the root window will work as a screensaver.
72 ! The following resource enumerates them.
73 !
74 ! Programs are separated by newlines (specified in resource files with \n).
75 ! Lines may be continued with a lone \ at the end of the line.
76 !
77 ! Each line is an `sh' command.
78 !
79 ! If the first (non-blank) character on the line is "-", then that means
80 ! that this command is disabled: it's still in the list, but it won't ever
81 ! be used.  (This is just to make it easy to disable and then re-enable 
82 ! them later.)
83 !
84 ! If the first word on the line is the name of a visual followed by a
85 ! colon, then that visual will be used for the program, if it is available.
86 ! If no such visual is available, then the program will be skipped.  In
87 ! this way, you can specify that you want certain programs to run only
88 ! on color screens, and others only on mono screens, by making use of the
89 ! magic visual names "color" and "mono".  Likewise, if some hacks prefer
90 ! colormaps, but others prefer 24-bit windows, that also can be arranged
91 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
92 !
93 ! Some of the screenhacks are written using OpenGL.  OpenGL programs are
94 ! a bit different than normal X programs, in that they prefer visuals that
95 ! are *half* as deep as the screen.  You can tell xscreensaver to select a
96 ! good visual for a GL program by using the magic visual name "GL".
97 !
98 ! All programs must be launched in such a way that they draw on the root
99 ! window; they should not be spawned in the background with "&".  If shell
100 ! metacharacters are used, they must be understandable to `sh', not `csh'
101 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
102 !
103 ! Be sure to check out Demo Mode: run the `xscreensaver-demo' program to
104 ! edit the current list of programs interactively, try out the various modes,
105 ! and change other parameters.  See the man page for details.
106 !
107 *programs:      qix -root -solid -delay 0 -segments 100                 \n\
108                 qix -root -count 4 -solid -transparent                  \n\
109                 qix -root -count 5 -solid -transparent -linear            \
110                         -segments 250 -size 100                         \n\
111                 attraction -root -mode balls                            \n\
112                 attraction -root -mode lines -points 3 -segments 200    \n\
113                 attraction -root -mode splines -segments 300            \n\
114                 attraction -root -mode lines -radius 300                  \
115                         -orbit -vmult 0.5                               \n\
116                 pyro -root                                              \n\
117                 helix -root                                             \n\
118                 pedal -root                                             \n\
119                 rorschach -root -offset 7                               \n\
120                 hopalong -root                                          \n\
121                 greynetic -root                                         \n\
122                 xroger -root                                            \n\
123                 imsmap -root                                            \n\
124                 slidescreen -root                                       \n\
125                 decayscreen -root                                       \n\
126                 jigsaw -root                                            \n\
127                 blitspin -root -grab                                    \n\
128                 slip -root                                              \n\
129                 distort -root                                           \n\
130                 spotlight -root                                         \n\
131                 hypercube -root                                         \n\
132                 halo -root                                              \n\
133                 maze -root                                              \n\
134                 noseguy -root                                           \n\
135                 flame -root                                             \n\
136                 lmorph -root                                            \n\
137                 deco -root                                              \n\
138                 moire -root                                             \n\
139                 moire2 -root                                            \n\
140                 lightning -root                                         \n\
141                 strange -root                                           \n\
142                 spiral -root                                            \n\
143                 laser -root                                             \n\
144                 grav -root                                              \n\
145                 grav -root -trail -decay                                \n\
146                 drift -root                                             \n\
147                 ifs -root                                               \n\
148                 xjulia -root                                            \n\
149                 penrose -root                                           \n\
150                 sierpinski -root                                        \n\
151                 braid -root                                             \n\
152                 galaxy -root                                            \n\
153                 bouboule -root                                          \n\
154                 swirl -root                                             \n\
155                 flag -root                                              \n\
156                 sphere -root                                            \n\
157                 forest -root                                            \n\
158                 lisa -root                                              \n\
159                 lissie -root                                            \n\
160                 goop -root                                              \n\
161                 starfish -root                                          \n\
162                 starfish -root -blob                                    \n\
163                 munch -root                                             \n\
164                 fadeplot -root                                          \n\
165                 xcoral -root                                            \n\
166                 mountain -root                                          \n\
167                 triangle -root                                          \n\
168                 worm -root                                              \n\
169                 rotor -root                                             \n\
170                 ant -root                                               \n\
171                 demon -root                                             \n\
172                 loop -root                                              \n\
173                 vines -root                                             \n\
174                 kaleidescope -root                                      \n\
175                 xjack -root                                             \n\
176   -             xlyap -root -randomize                                  \n\
177                 cynosure -root                                          \n\
178                 flow -root                                              \n\
179                 epicycle -root                                          \n\
180                 interference -root                                      \n\
181                 truchet -root -randomize                                \n\
182                 bsod -root                                              \n\
183                 crystal -root                                           \n\
184                 discrete -root                                          \n\
185                 kumppa -root                                            \n\
186                 rd-bomb -root                                           \n\
187                 rd-bomb -root -speed 1 -size 0.1                        \n\
188                 sonar -root                                             \n\
189                 t3d -root                                               \n\
190                 penetrate -root                                         \n\
191                 deluxe -root                                            \n\
192                 compass -root                                           \n\
193                 squiral -root                                           \n\
194                 xflame -root                                            \n\
195                 wander -root                                            \n\
196                 wander -root -advance 0 -size 10 -circles True            \
197                   -length 10000 -reset 100000                           \n\
198                 critical -root                                          \n\
199                 phosphor -root                                          \n\
200                 xmatrix -root                                           \n\
201                 petri -root -size 1 -count 20                           \n\
202                 petri -root -minlifespeed 0.02 -maxlifespeed 0.03         \
203                    -minlifespan 1 -maxlifespan 1 -instantdeathchan 0      \
204                    -minorchan 0 -anychan 0.3                            \n\
205                 shadebobs -root                                         \n\
206     default-n:  webcollage -root                                        \n\
207  -  default-n   webcollage -root -filter 'vidwhacker -stdin -stdout'    \n\
208  -  default-n   vidwhacker -root                                        \n\
209                                                                           \
210          mono:  rocks -root                                             \n\
211         color:  rocks -root -fg darksalmon                              \n\
212                                                                           \
213          mono:  qix -root -linear -count 5 -size 200 -spread 30           \
214                         -segments 75 -solid -xor                        \n\
215                                                                           \
216         color:  attraction -root -mode polygons                         \n\
217         color:  attraction -root -mode filled-splines -segments 0       \n\
218         color:  attraction -root -glow -points 10                       \n\
219         color:  bubbles -root                                           \n\
220                                                                           \
221            GL:  gears -root                                             \n\
222            GL:  superquadrics -root                                     \n\
223            GL:  morph3d -root                                           \n\
224            GL:  cage -root                                              \n\
225            GL:  moebius -root                                           \n\
226            GL:  stairs -root                                            \n\
227            GL:  pipes -root                                             \n\
228            GL:  sproingies -root                                        \n\
229            GL:  rubik -root                                             \n\
230            GL:  atlantis -root                                          \n\
231            GL:  lament -root                                            \n\
232            GL:  bubble3d -root                                          \n\
233            GL:  glplanet -root                                          \n\
234            GL:  pulsar -root                                            \n\
235   -        GL:  pulsar -root -texture -mipmap -texture_quality            \
236                        -light -fog                                      \n
237  
238
239 ! Some other programs that you might want to track down (these work as
240 ! XScreenSaver helpers, but are not distributed with it):
241 !
242 !               xdaliclock -root -builtin2                              \n\
243 !               xswarm -r 2>&-                                          \n\
244 !               xwave -root                                             \n\
245 !               xbouncebits ...                                         \n\
246 !               ico -r -faces -sleep 1 -obj ico                         \n\
247 !               xsplinefun                                              \n\
248 !               xmountains -b -M                                        \n\
249 !       color:  xfishtank -c black -d -r 2                              \n\
250 !
251 ! xtacy is ok, but it only works on the default visual.  We can satisfy
252 ! that constraint like so:
253 !
254 !     default:  xtacy -root -delay 100 -funky -number 3                 \n\
255 !     default:  xtacy -root -delay 100 -gravity                         \n\
256 !     default:  xtacy -root -delay 100 -mixer                           \n\
257 !     default:  xtacy -root -delay 100 -taffy -pal 4                    \n\
258
259 ! To display a randomized slideshow of images, you can do something like this:
260 !
261 !     default-n:  xv -root -rmode 5 -random -viewonly -wloop              \
262 !                    -wait 30 $HOME/bitmaps/*.jpg                       \n\
263 !
264 ! Note that we've used "default-n" as the visual name, rather than just
265 ! "default": this means "default visual, no install", that is, it's like
266 ! specifying the command-line arguments "-visual default -no-install".
267 ! This is necessary because, when XV is running in "-root" mode, it always
268 ! assumes that the default visual and colormap are being used, rather than 
269 ! examining the window it is drawing on to see what visual and colormap it
270 ! has.  If we didn't force the default visual to be used, xv would get an
271 ! X error.  If we didn't force the default colormap to be installed, the
272 ! colors would be all wrong.  "default-i" may also be used as a visual name
273 ! (meaning, "-visual default -install") but you probably won't ever need
274 ! to use that.
275 !
276 ! XEarth is nice, too:
277 !
278 !     default-n: xearth -nostars -wait 0 -timewarp 400 -pos sunrel/38/-30
279 !
280 !
281 ! Some of the GL demos that SGI ships work with XScreenSaver; most don't.
282 ! XScreenSaver includes a program (not built or installed by default)
283 ! called "xscreensaver-sgigl".  To use the SGI demos with XScreenSaver,
284 ! build that program, and use it to launch the SGI demos.  For example,
285 ! on Irix 6.2, you can do this:
286 !
287 !     xscreensaver-sgigl /usr/demos/bin/ep -S
288 !     xscreensaver-sgigl /usr/demos/bin/bongo
289 !
290 ! On Irix 6.3, things have moved, so you need to do it like this:
291 !
292 !     xscreensaver-sgigl /usr/sbin/ep -S
293 !
294 ! You can also use the "ant" demo, but first you need to wrap a shell script
295 ! around it that cds to its home directory, so that it can find its files;
296 ! and also pass it the -S argument, to prevent it from forking.
297 !
298 !
299 ! Also, since these actually end up mapping their own windows instead of
300 ! drawing on the XScreenSaver-provided root, when they are being run from
301 ! demo-mode, you can't pop up the demo-mode dialog just by clicking the
302 ! mouse: you must first type ESC to make the SGI programs exit.  This sucks.
303 ! Things should work properly when they are being run by xscreensaver in
304 ! non-demo-mode, however.
305 !
306 ! Basically, the SGI demo writers went out of their way to make my life hell.
307
308
309
310 !=============================================================================
311 !
312 !      You probably don't want to change anything after this point.
313 !
314 !=============================================================================
315
316
317 XScreenSaver.pointerPollTime:           5
318 XScreenSaver.initialDelay:              0
319 XScreenSaver.windowCreationTimeout:     30
320 XScreenSaver.bourneShell:               /bin/sh
321
322
323 ! Resources for the password and splash-screen dialog boxes of
324 ! the "xscreensaver" daemon.
325 !
326 *Dialog.headingFont:            *-times-bold-r-*-*-*-180-*-*-*-iso8859-1
327 *Dialog.bodyFont:               *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
328 *Dialog.labelFont:              *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
329 *Dialog.buttonFont:             *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
330 *Dialog.foreground:             #000000
331 *Dialog.background:             #BFBFBF
332 *Dialog.Button.foreground:      #000000
333 *Dialog.Button.background:      #D0D0D0
334 *Dialog.text.foreground:        #000000
335 *Dialog.text.background:        #FFFFFF
336 *Dialog.logo.foreground:        #FF0000
337 *Dialog.logo.background:        #FFFFFF
338 *Dialog.topShadowColor:         #E7E7E7
339 *Dialog.bottomShadowColor:      #737373
340 *Dialog.logo.width:             200
341 *Dialog.logo.height:            200
342 *Dialog.internalBorderWidth:    30
343 *Dialog.borderWidth:            1
344 *Dialog.shadowThickness:        4
345
346 *passwd.heading.label:          XScreenSaver %s
347 *passwd.body.label:             This display is locked.
348 *passwd.user.label:             User:
349 *passwd.passwd.label:           Password:
350 *passwd.passwdFont:             *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
351 *passwd.thermometer.width:      8
352
353 *splash.heading.label:          XScreenSaver %s
354 *splash.body.label:             Copyright © 1991-1999 by
355 *splash.body2.label:            Jamie Zawinski <jwz@jwz.org>
356 *splash.demo.label:             Demo
357 *splash.prefs.label:            Prefs
358 *splash.help.label:             Help
359
360
361 ! Resources for the Motif dialog boxes of the "xscreensaver-demo" program.
362
363 *fontList:                       *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
364 *demoDialog*label1.fontList:     *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
365 *XmTextField.fontList:             *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
366 *label0.fontList:                  *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
367 XScreenSaver*XmList.fontList:      *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
368 ! Need to fully-qualify the preceeding in the case of of *sgiMode.
369
370 *XmDialogShell*foreground:              #000000
371 *XmDialogShell*background:              #E5E5E5
372 *XmDialogShell*XmTextField.foreground:  #000000
373 *XmDialogShell*XmTextField.background:  #FFFFFF
374 *XmDialogShell*demoList.foreground:     #000000
375 *XmDialogShell*demoList.background:     #FFFFFF
376
377 *XmDialogShell.title:           XScreenSaver
378 *versionWarning_popup.title:    XScreenSaver Warning
379 *demoForm_popup.title:          XScreenSaver Demo
380 *preferencesForm_popup.title:   XScreenSaver Preferences
381 *allowShellResize:              True
382 *autoUnmanage:                  False
383
384 ! This doesn't work.  Motif ignores it if there is a scroll-list!
385 *demoDialog.maxWidth:           600
386
387 *label1.labelString:            XScreenSaver %s
388 *label1.label:                  XScreenSaver %s
389 *label2.labelString: Copyright © 1991-1999 by Jamie Zawinski <jwz@jwz.org>
390 *label2.label:       Copyright © 1991-1999 by Jamie Zawinski <jwz@jwz.org>
391 *demoList.visibleItemCount:     10
392 *demoList.automaticSelection:   True
393 *next.labelString:              Run Next
394 *prev.labelString:              Run Previous
395 *edit.labelString:              Preferences
396 *restart.labelString:           Reinitialize
397 *done.labelString:              Quit
398
399 *preferencesLabel.labelString:  XScreenSaver Parameters
400
401 *timeoutLabel.labelString:      Saver Timeout
402 *cycleLabel.labelString:        Cycle Timeout
403 *fadeSecondsLabel.labelString:  Fade Duration
404 *fadeTicksLabel.labelString:    Fade Ticks
405 *lockLabel.labelString:         Lock Timeout
406 *passwdLabel.labelString:       Password Timeout
407 *preferencesForm*XmTextField.columns:   8
408
409 *verboseToggle.labelString:     Verbose
410 *cmapToggle.labelString:        Install Colormap
411 *fadeToggle.labelString:        Fade Colormap
412 *unfadeToggle.labelString:      Unfade Colormap
413 *lockToggle.labelString:        Require Password
414 *preferencesDone.labelString:   OK
415 *preferencesCancel.labelString: Cancel
416
417
418 ! Disable Motif drag-and-drop in dialog boxes.  This is kind of pathetic, but
419 ! in some older versions of Motif, most any attempt to drag cause immediate
420 ! flaming death from above.  This *should* rip the legs off that bug.
421 ! (But sadly, Lesstif 0.86 and earlier ignore these resources *and* have
422 ! buggy drag-and-drop.)
423 !
424 XScreenSaver*dragInitiatorProtocolStyle: DRAG_NONE
425 XScreenSaver*dragReceiverProtocolStyle:  DRAG_NONE
426
427
428
429 ! Resources for the Athena dialog boxes of the "xscreensaver-demo" program.
430
431 *demo_dialog.title:             XScreenSaver Demo
432 *preferences_dialog.title:      XScreenSaver Preferences
433 *warning_dialog.title:          XScreenSaver Warning
434
435 ! For some reason, it doesn't size correctly by itself.
436 *demo_dialog.geometry:          =640x400
437
438 *demo_dialog*font:              *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
439 *preferences_dialog*font:       *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
440 *demo_dialog*label1.font:       *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
441 *preferences_dialog*label1.font:*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
442 XScreenSaver*warning_dialog*label0.font:        \
443                                 *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
444 XScreenSaver*warning_dialog*Label.font: \
445                                 *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
446 XScreenSaver*warning_dialog*Command.font: \
447                                 *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
448 XScreenSaver.demo_dialog*List.font:     \
449                                 *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
450 XScreenSaver.demo_dialog*Text*font:     \
451                                 *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
452
453 XScreenSaver.demo_dialog*foreground:                    #000000
454 XScreenSaver.demo_dialog*background:                    #E5E5E5
455 XScreenSaver.demo_dialog*List.background:               #FFFFFF
456 XScreenSaver.demo_dialog*Scrollbar.background:          #D9D9D9
457 XScreenSaver.demo_dialog*Command.background:            #D9D9D9
458 XScreenSaver.demo_dialog*Text*background:               #FFFFFF
459
460 XScreenSaver.preferences_dialog*foreground:             #000000
461 XScreenSaver.preferences_dialog*background:             #E5E5E5
462 XScreenSaver.preferences_dialog*Command.background:     #D9D9D9
463 XScreenSaver.preferences_dialog*Toggle.background:      #D9D9D9
464 XScreenSaver.preferences_dialog*Text*background:        #FFFFFF
465
466 XScreenSaver.warning_dialog*foreground:                 #000000
467 XScreenSaver.warning_dialog*background:                 #E5E5E5
468 XScreenSaver.warning_dialog*Command.background:         #D9D9D9
469
470 *preferences_dialog*Dialog.value.translations: #override\n\
471         <Key>Return: beginning-of-line()\n
472
473 *demo_dialog*viewport.height:                   200
474 *Form.borderWidth:                              0
475 *Box.borderWidth:                               0
476 *Label.borderWidth:                             0
477 *preferences_dialog*Dialog.borderWidth:         0
478
479 *demo_dialog*run.label:                         Run
480 *demo_dialog*next.label:                        Run Next
481 *demo_dialog*prev.label:                        Run Previous
482 *demo_dialog*edit.label:                        Preferences
483 *demo_dialog*restart.label:                     Reinitialize
484 *demo_dialog*done.label:                        Quit
485 XScreenSaver.demo_dialog*Command.internalWidth:  10
486 XScreenSaver.demo_dialog*Command.internalHeight: 4
487
488 *preferences_dialog*timeout.label:              Saver Timeout:
489 *preferences_dialog*cycle.label:                Cycle Timeout:
490 *preferences_dialog*fade.label:                 Fade Duration:
491 *preferences_dialog*ticks.label:                Fade Ticks:
492 *preferences_dialog*lockTime.label:             Lock Timeout:
493 *preferences_dialog*passwdTime.label:           Password Timeout:
494 XScreenSaver.preferences_dialog*Command.internalWidth:  10
495 XScreenSaver.preferences_dialog*Command.internalHeight: 4
496
497 *preferences_dialog*label1.label:               XScreenSaver Parameters
498 *preferences_dialog*buttonbox.verbose.label:    Verbose
499 *preferences_dialog*buttonbox.cmap.label:       Install Colormap
500 *preferences_dialog*buttonbox.fade.label:       Fade Colormap
501 *preferences_dialog*buttonbox.unfade.label:     Unfade Colormap
502 *preferences_dialog*buttonbox.lock.label:       Require Password
503 *preferences_dialog*done.label:                 Ok
504 *preferences_dialog*cancel.label:               Cancel
505
506 *warning_dialog*ok.label:                       Ok
507
508 *warning_dialog*horizDistance:                  30
509 *warning_dialog*vertDistance:                   0
510
511 *warning_dialog*Label.internalWidth:            1
512 *warning_dialog*Label.internalHeight:           0
513
514 *warning_dialog*label0.horizDistance:           80
515 *warning_dialog*label0.vertDistance:            20
516
517 *warning_dialog*Command.horizDistance:          160
518 *warning_dialog*Command.vertDistance:           20
519 *warning_dialog*Command.internalWidth:          20
520 *warning_dialog*Command.internalHeight:         5