ftp://ftp.sunet.se/pub/os/Linux/distributions/ultrapenguin/ultrapenguin-1.1/SRPMS...
[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                 coral -root                                             \n\
108                                                                           \
109         mono:   rocks -root                                             \n\
110         color:  rocks -root -fg darksalmon                              \n\
111                                                                           \
112         mono:   qix -root -linear -count 5 -size 200 -spread 30           \
113                         -segments 75 -solid -xor                        \n\
114                                                                           \
115         color:  attraction -root -mode polygons                         \n\
116         color:  attraction -root -mode filled-splines -segments 0       \n\
117         color:  attraction -root -glow -points 10                       \n\
118         color:  bubbles -root                                           \n\
119                                                                           \
120         color:  rd-bomb -root                                           \n\
121         color:  rd-bomb -root -speed 1 -size 0.1                        \n\
122                                                                           \
123   PseudoColor:  qix -root -count 4 -solid -transparent                  \n\
124   PseudoColor:  qix -root -count 5 -solid -transparent -linear            \
125                         -segments 250 -size 100                         \n\
126 @GL_KLUDGE_1@
127 @GL_KLUDGE_2@   gears -root                                             \n\
128 @GL_KLUDGE_2@   superquadrics -root                                     \n\
129 @GL_KLUDGE_2@   morph3d -root                                           \n\
130 @GL_KLUDGE_2@   escher -root                                            \n\
131 @GL_KLUDGE_2@   pipes -root                                             \n\
132 @GL_KLUDGE_2@   sproingies -root                                        \n\
133 @GL_KLUDGE_2@   rubik -root                                             \n
134  
135
136 ! A few of the hacks require OpenGL, and will only be built if you have it.
137 ! Note that those hacks (gears, superquadratics, escher, pipes, and
138 ! sproingies) will work best on a visual *half* as deep as the depth of the
139 ! screen, since that way they can do double-buffering -- on an SGI, you
140 ! should specify the 12-bit TrueColor visual (probably 0x29) instead of
141 ! letting XScreenSaver pick the visual itself (specifying "TrueColor" would
142 ! select the 24-bit TrueColor visual, and double-buffering wouldn't be used,
143 ! resulting in flicker.)
144 !
145 ! Some other programs that you might want to track down (these work as
146 ! XScreenSaver helpers, but are not distributed with it):
147 !
148 !               xdaliclock -root -builtin2                              \n\
149 !               xswarm -r 2>&-                                          \n\
150 !               xwave -root                                             \n\
151 !               xbouncebits ...                                         \n\
152 !               ico -r -faces -sleep 1 -obj ico                         \n\
153 !               xsplinefun                                              \n\
154 !               kaleid -root                                            \n\
155 !       color:  xfishtank -c black -d -r 2                              \n\
156 !
157 ! xtacy is ok, but it only works on the default visual.  We can satisfy
158 ! that constraint like so:
159 !
160 !     default:  xtacy -root -delay 100 -funky -number 3                 \n\
161 !     default:  xtacy -root -delay 100 -gravity                         \n\
162 !     default:  xtacy -root -delay 100 -mixer                           \n\
163 !     default:  xtacy -root -delay 100 -taffy -pal 4                    \n\
164
165 ! To display a slideshow of images, you can do something like this:
166 !
167 !     default:  xv -root -rmode 5  image-1.gif  -quit
168 !     default:  xv -root -rmode 5  image-2.gif  -quit
169 !     default:  xv -root -rmode 5  image-3.gif  -quit
170 !               ...and so on...
171 !
172 ! however, for this to work, you must also have started the screensaver so
173 ! that it uses the default colormap (the "-no-install" command-line option, or
174 ! the "installColormap: False" resource) because when XV is running in "-root"
175 ! mode, it always assumes that the default colormap is being used, rather than
176 ! examining the window it is drawing on to see what colormap it has.  (It
177 ! also assumes the default visual, but we've taken care of that above.)
178 !
179 ! Some SGI GL programs work with XScreenSaver; most don't.
180 !
181 ! Bongo works fine:
182 !
183 !       /usr/demos/bin/bongo -wbongo
184 !
185 ! ElectroPaint sort-of works; XScreenSaver will launch it, and it will run
186 ! properly, but when it's time to turn off the screensaver, you need to hit
187 ! the Escape key, rather than just moving the mouse.  Apparently GL programs
188 ! are able to intercept the keyboard even when X has the keyboard grabbed!
189 !
190 !       /usr/demos/bin/ep
191 !
192 ! None of the other SGI GL demos I've tried worked, because none of them seem
193 ! to have command-line options that will make them take up the whole screen;
194 ! so all you get is a miniscule 100x100 image, which is worthless.  This is a
195 ! shame, since many of those demos would make fine screensavers.
196 !
197 ! If anyone who understands how "haven" works would like to send me the code
198 ! necessary to do what it does, I would be much obliged.
199
200
201
202 !=============================================================================
203 !
204 !      You probably don't want to change anything after this point.
205 !
206 !=============================================================================
207
208
209 ! Resources for the Motif dialog boxes:
210
211 *fontList:                       *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
212 *demoDialog*label1.fontList:     *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
213 *passwdDialog*fontList:          *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
214 *XmList.fontList:                  *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
215 *XmTextField.fontList:             *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
216 *passwdDialog.passwdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
217
218 *XmDialogShell*foreground:              black
219 *XmDialogShell*background:              gray90
220 *XmDialogShell*XmTextField.foreground:  black
221 *XmDialogShell*XmTextField.background:  white
222 *XmDialogShell*demoList.foreground:     black
223 *XmDialogShell*demoList.background:     white
224 *XmDialogShell*rogerLabel.foreground:   red3
225 *XmDialogShell*rogerLabel.background:   white
226
227 *XmDialogShell.title:           XScreenSaver
228 *allowShellResize:              True
229 *autoUnmanage:                  False
230
231 ! This doesn't work.  Motif ignores it if there is a scroll-list!
232 *demoDialog.maxWidth:           600
233
234 *label1.labelString:            XScreenSaver %s
235 *label1.label:                  XScreenSaver %s
236 *label2.labelString: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
237 *label2.label:       Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
238 *demoList.visibleItemCount:     10
239 *demoList.automaticSelection:   True
240 *next.labelString:              Run Next
241 *prev.labelString:              Run Previous
242 *edit.labelString:              Edit Parameters
243 *done.labelString:              Exit Demo Mode
244 *restart.labelString:           Reinitialize
245
246 *resourcesLabel.labelString:    XScreenSaver Parameters
247
248 *timeoutLabel.labelString:      Saver Timeout
249 *cycleLabel.labelString:        Cycle Timeout
250 *fadeSecondsLabel.labelString:  Fade Duration
251 *fadeTicksLabel.labelString:    Fade Ticks
252 *lockLabel.labelString:         Lock Timeout
253 *passwdLabel.labelString:       Password Timeout
254 *resourcesForm*XmTextField.columns:     8
255
256 *verboseToggle.labelString:     Verbose
257 *cmapToggle.labelString:        Install Colormap
258 *fadeToggle.labelString:        Fade Colormap
259 *unfadeToggle.labelString:      Unfade Colormap
260 *lockToggle.labelString:        Require Password
261 *resourcesDone.labelString:     Done
262 *resourcesCancel.labelString:   Cancel
263
264 *passwdDialog.title:            Password
265 *passwdLabel1.labelString:      XScreenSaver %s
266 *passwdLabel2.labelString:      This display is locked.
267 *passwdLabel3.labelString:      Please type %s's password to unlock it.
268 *passwdDone.labelString:        Done
269 *passwdCancel.labelString:      Cancel
270
271 *passwdLabel1.alignment:        ALIGNMENT_BEGINNING
272 *passwdLabel2.alignment:        ALIGNMENT_BEGINNING
273 *passwdLabel3.alignment:        ALIGNMENT_BEGINNING
274 *rogerLabel.width:              150
275
276
277 ! Resources for the dialog boxes using the abominable Athena widgets:
278
279 *demo_dialog*font:              *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
280 *resources_dialog*font:         *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
281 *passwd_dialog*font:            *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
282 *demo_dialog*label1.font:       *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
283 *resources_dialog*label1.font:  *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
284 *demo_dialog*List.font:         *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
285
286 ! This is a hack to make the typed password invisible.
287 ! Surely someone can do better than this...
288 *passwd_dialog*passwd_form.value*font:          *nil*
289
290 *demo_dialog*foreground:                        black
291 *demo_dialog*background:                        gray90
292 *demo_dialog*List.background:                   white
293 *demo_dialog*Scrollbar.background:              gray85
294 *demo_dialog*Command.background:                gray85
295
296 *resources_dialog*foreground:                   black
297 *resources_dialog*background:                   gray90
298 *resources_dialog*Command.background:           gray85
299 *resources_dialog*Toggle.background:            gray85
300 *resources_dialog*Text*background:              white
301
302 *resources_dialog*Dialog.value.translations: #override\n\
303         <Key>Return: beginning-of-line()\n
304
305 *passwd_dialog*foreground:                      black
306 *passwd_dialog*background:                      gray90
307 *passwd_dialog*Text*background:                 white
308
309 *demo_dialog*viewport.width:                    400
310 *demo_dialog*viewport.height:                   200
311 *Form.borderWidth:                              0
312 *Box.borderWidth:                               0
313 *Label.borderWidth:                             0
314 *resources_dialog*Dialog.borderWidth:           0
315
316 *demo_dialog*next.label:                        Run Next
317 *demo_dialog*prev.label:                        Run Previous
318 *demo_dialog*edit.label:                        Edit Parameters
319 *demo_dialog*done.label:                        Exit Demo Mode
320 *demo_dialog*restart.label:                     Reinitialize
321
322 *resources_dialog*timeout.label:                Saver Timeout:
323 *resources_dialog*cycle.label:                  Cycle Timeout:
324 *resources_dialog*fade.label:                   Fade Duration:
325 *resources_dialog*ticks.label:                  Fade Ticks:
326 *resources_dialog*lockTime.label:               Lock Timeout:
327 *resources_dialog*passwdTime.label:             Password Timeout:
328
329 *resources_dialog*label1.label:                 XScreenSaver Parameters
330 *resources_dialog*buttonbox.verbose.label:      Verbose
331 *resources_dialog*buttonbox.cmap.label:         Install Colormap
332 *resources_dialog*buttonbox.fade.label:         Fade Colormap
333 *resources_dialog*buttonbox.unfade.label:       Unfade Colormap
334 *resources_dialog*buttonbox.lock.label:         Require Password
335 *resources_dialog*done.label:                   Done
336 *resources_dialog*cancel.label:                 Cancel
337
338 *passwd_dialog*label1.label:                    XScreenSaver %s
339 *passwd_dialog*label2.label:                    This display is locked.
340 *passwd_dialog*label3.label:            Please type %s's password to unlock it.
341 *passwd_dialog*ok.label:                        Done
342 *passwd_dialog*cancel.label:                    Cancel
343 *passwd_dialog*passwd_form*label.label:         Enter password:
344 *passwd_dialog*Dialog.label:                    Enter password:
345 *passwd_dialog*passwd_form*Text.width:          200
346 *passwd_dialog*roger.width:                     150
347 *passwd_dialog*roger.height:                    150
348 *passwd_dialog*roger.foreground:                red3
349 *passwd_dialog*roger.background:                white
350 *passwd_dialog*roger.borderWidth:               1
351
352
353 ! You probably won't need to change these.  They are only used if no server
354 ! extension is in use.
355 !
356 *pointerPollTime:       5
357 *initialDelay:          30
358 *windowCreationTimeout: 30
359
360 *bourneShell:           /bin/sh