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/
19 *textForeground: Yellow
20 *textBackground: Black
22 *font: *-medium-r-*-140-*-m-*
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.)
29 *installColormap: True
32 ! Any program which can draw on the root window will work as a screensaver.
33 ! The following resource enumerates them.
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.
38 ! Each line is an `sh' command.
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:".)
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.)
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 \
65 rorschach -root -offset 7 \n\
80 kaleidescope -root \n\
87 grav -root -trail -decay \n\
104 starfish -root -blob \n\
109 mono: rocks -root \n\
110 color: rocks -root -fg darksalmon \n\
112 mono: qix -root -linear -count 5 -size 200 -spread 30 \
113 -segments 75 -solid -xor \n\
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\
120 color: rd-bomb -root \n\
121 color: rd-bomb -root -speed 1 -size 0.1 \n\
123 PseudoColor: qix -root -count 4 -solid -transparent \n\
124 PseudoColor: qix -root -count 5 -solid -transparent -linear \
125 -segments 250 -size 100 \n\
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
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.)
145 ! Some other programs that you might want to track down (these work as
146 ! XScreenSaver helpers, but are not distributed with it):
148 ! xdaliclock -root -builtin2 \n\
151 ! xbouncebits ... \n\
152 ! ico -r -faces -sleep 1 -obj ico \n\
155 ! color: xfishtank -c black -d -r 2 \n\
157 ! xtacy is ok, but it only works on the default visual. We can satisfy
158 ! that constraint like so:
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\
165 ! To display a slideshow of images, you can do something like this:
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
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.)
179 ! Some SGI GL programs work with XScreenSaver; most don't.
183 ! /usr/demos/bin/bongo -wbongo
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!
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.
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.
202 !=============================================================================
204 ! You probably don't want to change anything after this point.
206 !=============================================================================
209 ! Resources for the Motif dialog boxes:
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
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
227 *XmDialogShell.title: XScreenSaver
228 *allowShellResize: True
231 ! This doesn't work. Motif ignores it if there is a scroll-list!
232 *demoDialog.maxWidth: 600
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
246 *resourcesLabel.labelString: XScreenSaver Parameters
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
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
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
271 *passwdLabel1.alignment: ALIGNMENT_BEGINNING
272 *passwdLabel2.alignment: ALIGNMENT_BEGINNING
273 *passwdLabel3.alignment: ALIGNMENT_BEGINNING
274 *rogerLabel.width: 150
277 ! Resources for the dialog boxes using the abominable Athena widgets:
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
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*
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
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
302 *resources_dialog*Dialog.value.translations: #override\n\
303 <Key>Return: beginning-of-line()\n
305 *passwd_dialog*foreground: black
306 *passwd_dialog*background: gray90
307 *passwd_dialog*Text*background: white
309 *demo_dialog*viewport.width: 400
310 *demo_dialog*viewport.height: 200
313 *Label.borderWidth: 0
314 *resources_dialog*Dialog.borderWidth: 0
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
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:
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
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
353 ! You probably won't need to change these. They are only used if no server
354 ! extension is in use.
358 *windowCreationTimeout: 30
360 *bourneShell: /bin/sh