http://ftp.x.org/contrib/applications/xscreensaver-3.20.tar.gz
[xscreensaver] / driver / xscreensaver-demo-old.man
1 .de EX          \"Begin example
2 .ne 5
3 .if n .sp 1
4 .if t .sp .5
5 .nf
6 .in +.5i
7 ..
8 .de EE
9 .fi
10 .in -.5i
11 .if n .sp 1
12 .if t .sp .5
13 ..
14 .TH XScreenSaver 1 "09-Nov-99 (3.19)" "X Version 11"
15 .SH NAME
16 xscreensaver-demo - interactively control the background xscreensaver daemon
17 .SH SYNOPSIS
18 .B xscreensaver\-demo
19 [\-display \fIhost:display.screen\fP] [\-prefs] [\-xrm \fIresources\fP]
20 .SH DESCRIPTION
21 The \fIxscreensaver\-demo\fP program is a graphical front-end for 
22 setting the parameters used by the background
23 .BR xscreensaver (1)
24 daemon.
25 It is essentially two things: a tool for editing the \fI~/.xscreensaver\fP
26 file; and a tool for demoing the various graphics hacks that 
27 the \fIxscreensaver\fP daemon will launch.
28
29 .B Note:
30 this manual describes the Motif and Athena versions of
31 the \fIxscreensaver\-demo\fP command.  At this point, the Gtk 
32 version of \fIxscreensaver\-demo\fP is somewhat more advanced.
33
34 The main dialog box contains a scrolling list, a text field, and a number 
35 of buttons.  
36
37 Double-clicking on one of the programs in the list will run it.  The screen
38 will go black, and the program will run in full-screen mode, just as it would
39 if the \fIxscreensaver\fP daemon had launched it.  Clicking the mouse again
40 will stop the demo and un-blank the screen, making the dialog box visible 
41 again.
42
43 Single-clicking in the list will place the indicated program and its args
44 in the text field to be edited.  Edit the arguments and hit return to run
45 the program with the parameters you have specified.  This will also save
46 your changes to your \fI~/.xscreensaver\fP file: so any changes you make
47 in this way are persistent.
48
49 If one of the lines in the scrolling list begins with the character "-",
50 then that means that the program is disabled: \fIxscreensaver\fP will not
51 select it to be run (though you can still try it out by clicking on it.)
52 Rather than just deleting the programs you don't want to run, you might
53 want to disable them in this way instead, so that you can more easily change
54 your mind later.
55
56 If the line begins with the name of a visual, followed by a colon, then
57 that program will only be run on that kind of visual.  For example, you can
58 specify that a particular program should only be run if color is available,
59 and another should only be run in monochrome.  See the discussion of 
60 the \fIprograms\fP parameter in the \fIConfiguration\fP section of the
61 .BR xscreensaver (1)
62 manual.
63
64 The buttons are:
65 .TP 8
66 .B Run Next
67 Clicking this button will run the next program in the list after the 
68 currently-selected one, and will wrap around to the top when it reaches
69 the bottom.
70 .TP 8
71 .B Run Previous
72 Opposite of Run Next; at the top, it wraps around to the bottom.
73 .TP 8
74 .B Preferences
75 This pops up a second dialog box, in which you have the option to 
76 interactively change most of the screensaver's operational parameters,
77 such as its timeouts, and whether it should lock the screen.  When you
78 click OK, your chosen settings will take effect immediately, and will
79 also be saved to the \fI~/.xscreensaver\fP file in your home directory,
80 so that the settings will persist next time.
81 .TP 8
82 .B Quit
83 Exits the \fIxscreensaver-demo\fP program.  The background \fIxscreensaver\fP
84 daemon will continue running as before.
85 .P
86 The Preferences dialog box lets you change the following settings.
87
88 (There are more settings available, but these are the most commonly used
89 ones; see the manual for
90 .BR xscreensaver (1)
91 for other parameters that can be set by editing the \fI~/.xscreensaver\fP
92 file, or the X resource database.)
93 .TP 8
94 .B Saver Timeout
95 After the user has been idle this long, the \fIxscreensaver\fP daemon
96 will blank the screen.
97 .TP 8
98 .B Cycle Timeout
99 After the screensaver has been running for this long, the currently
100 running graphics demo will be killed, and a new one started.  
101 If this is 0, then the graphics demo will never be changed:
102 only one demo will run until the screensaver is deactivated by user 
103 activity.
104 .TP 8
105 .B Verbose\ 
106 Whether to print lots of debugging information.
107 .TP 8
108 .B Install Colormap
109 Whether to install a private colormap while the screensaver is active, so
110 that the graphics hacks can get as many colors as possible.  (This only
111 applies when the screen's default visual is being used, since non-default
112 visuals get their own colormaps automatically.)  This can also be overridden
113 on a per-demo basis.
114 .TP 8
115 .B Fade Colormap
116 If selected, then when the screensaver activates, the current contents
117 of the screen will fade to black instead of simply winking out.  This only
118 works on displays with writable colormaps, that is, if the screen's default
119 visual is a PseudoColor visual.  A fade will also be done when
120 switching graphics hacks (when the \fICycle Timeout\fP expires.)
121 .TP 8
122 .B Unfade Colormap
123 The complement to \fIFade Colormap\fP: if selected, then when the screensaver
124 deactivates, the original contents of the screen will fade in from black
125 instead of appearing immediately.  This only works on displays with writable
126 colormaps, and when \fIFade Colormap\fP is also selected.
127 .TP 8
128 .B Fade Duration
129 When fading or unfading are selected, this controls how long the fade will
130 take.
131 .TP 8
132 .B Fade Ticks
133 This controls how many times a second the colormap will be changed to 
134 effect a fade.  Higher numbers yield smoother fades, but may make the
135 fades take longer than the specified number of seconds, if your server
136 isn't fast enough to keep up.
137 .TP 8
138 .B Require Password
139 Whether the screen saver should lock the screen when it activates.
140 .TP 8
141 .B Lock Timeout
142 If \fIRequire Password\fP is selected, this controls the length of 
143 the ``grace period'' between when the screensaver activates, and when the
144 screen becomes locked.  For example, if this is 0:05:00, 
145 and \fISaver Timeout\fP is 0:10:00, then after 10 minutes, the screen 
146 would blank.  If there was user  activity at 12 minutes, no password
147 would be required to un-blank the screen.  But, if there was user activity
148 at 15 minutes or later (that is, \fILock Timeout\fP minutes after 
149 activation) then a password would be required.  The default is 0, meaning
150 that if locking is enabled, then a password will be required as soon as the 
151 screen blanks.
152 .TP 8
153 .B Password Timeout
154 When the screensaver is prompting for a password, the prompt dialog box will
155 stay on the screen for this long before giving up, and reverting to 
156 screen-saving mode.
157 .SH COMMAND-LINE OPTIONS
158 .I xscreensaver\-demo
159 accepts the following command line options.
160 .TP 8
161 .B \-display \fIhost:display.screen\fP
162 The X display to use.  The \fIxscreensaver\-demo\fP program will open its
163 window on that display, and also control the \fIxscreensaver\fP daemon that
164 is managing that same display.
165 .TP 8
166 .B \-prefs
167 Start up in Preferences mode: this is just like launching the program with
168 no arguments, and then pressing the \fIPreferences\fP button.
169 .P
170 It is important that the \fIxscreensaver\fP and \fIxscreensaver\-demo\fP
171 processes be running on the same machine, or at least, on two machines
172 that share a file system.  When \fIxscreensaver\-demo\fP writes a new version
173 of the \fI~/.xscreensaver\fP file, it's important that the \fIxscreensaver\fP
174 see that same file.  If the two processes are seeing 
175 different \fI~/.xscreensaver\fP files, things will malfunction.
176 .SH ENVIRONMENT
177 .PP
178 .TP 8
179 .B DISPLAY
180 to get the default host and display number.
181 .TP 8
182 .B PATH
183 to find the sub-programs to run.  However, note that the sub-programs 
184 are actually launched by the \fIxscreensaver\fP daemon, not 
185 by \fIxscreensaver-demo\fP itself.  So, what matters is what \fB$PATH\fP
186 the \fIxscreensaver\fP program sees.
187 .TP 8
188 .B HOME
189 for the directory in which to read and write the \fI.xscreensaver\fP file.
190 .TP 8
191 .B XENVIRONMENT
192 to get the name of a resource file that overrides the global resources
193 stored in the RESOURCE_MANAGER property.
194 .SH UPGRADES
195 The latest version can always be found at 
196 http://www.jwz.org/xscreensaver/
197 .SH SEE ALSO
198 .BR X (1),
199 .BR xscreensaver (1),
200 .BR xscreensaver\-command (1)
201 .SH COPYRIGHT
202 Copyright \(co 1992, 1993, 1997, 1998, 1999
203 by Jamie Zawinski.  Permission to use, copy, modify, distribute, and sell
204 this software and its documentation for any purpose is hereby granted without
205 fee, provided that the above copyright notice appear in all copies and that
206 both that copyright notice and this permission notice appear in supporting
207 documentation.  No representations are made about the suitability of this
208 software for any purpose.  It is provided "as is" without express or implied
209 warranty.
210 .SH AUTHOR
211 Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
212
213 Please let me know if you find any bugs or make any improvements.