http://ftp.x.org/contrib/applications/xscreensaver-3.22.tar.gz
[xscreensaver] / driver / xscreensaver-demo.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-Dec-99 (3.22)" "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 The main window consists of a menu bar and two tabbed pages.  The first page
30 is for editing the list of demos, and the second is for editing various other
31 parameters of the screensaver.
32 .SH MENU COMMANDS
33 All of these commands are on either the \fBFile\fP or \fBHelp\fP menus:
34 .TP 4
35 .B Blank Screen Now
36 Activates the background \fIxscreensaver\fP daemon, which will then run
37 a demo at random.  This is the same as running
38 .BR xscreensaver-command (1)
39 with the \fI\-activate\fP option.
40 .TP 4
41 .B Lock Screen Now
42 Just like \fBBlank Screen Now\fP, except the screen will be locked as 
43 well (even if it is not configured to lock all the time.)  This is the
44 same as running
45 .BR xscreensaver-command (1)
46 with the \fI\-lock\fP option.
47 .TP 4
48 .B Kill Daemon
49 If the xscreensaver daemon is running on this screen, kill it.
50 This is the same as running
51 .BR xscreensaver-command (1)
52 with the \fI\-exit\fP option.
53 .TP 4
54 .B Restart Daemon
55 If the xscreensaver daemon is running on this screen, kill it.
56 Then launch it again.  This is the same as doing
57 ``\fIxscreensaver-command -exit\fP'' followed by ``\fIxscreensaver\fP''.
58
59 Note that it is \fInot\fP the same as doing
60 ``\fIxscreensaver-command -restart\fP''.
61 .TP 4
62 .B Exit
63 Exits the \fIxscreensaver-demo\fP program (this program) without
64 affecting the background \fIxscreensaver\fP daemon, if any.
65 .TP 4
66 .B About...
67 Displays the version number of this program, \fIxscreensaver-demo\fP.
68 .TP 4
69 .B Documentation...
70 Opens up a web browser looking at the XScreenSaver web page, where you
71 can find online copies of the
72 .BR xscreensaver (1),
73 .BR xscreensaver\-demo (1),
74 and
75 .BR xscreensaver\-command (1)
76 manuals.
77 .SH GRAPHICS DEMOS TAB
78 On the left is a list of the names of the various display modes, and
79 on the right are some fields that let you edit their behavior.
80 .TP 4
81 .B Demo List
82 Double-clicking in the list on the left will let you try out the indicated
83 demo.  The screen will go black, and the program will run in full-screen
84 mode, just as it would if the \fIxscreensaver\fP daemon had launched it.
85 Clicking the mouse again will stop the demo and un-blank the screen, making
86 the dialog box visible again.
87
88 Single-clicking in the list will populate the fields on the right side of
89 the window.
90 .TP 4
91 .B Arrow Buttons
92 Beneath the list are a pair of up and down arrows. Clicking on the down 
93 arrow will select the next item in the list, and then run it in full-screen
94 mode, just as if you had double-clicked on it.  The up arrow goes the other
95 way.  This is just a shortcut for trying out all of the display modes in turn.
96 .TP 4
97 .B Program Description
98 At the top will be a brief description of the program.  Below that is a
99 text field where you can edit the arguments to the program as xscreensaver
100 will invoke it.  (Note that most of these programs have their own man pages
101 that describe the command-line options they take.)
102 .TP 4
103 .B Enabled
104 The \fIEnabled\fI checkbox controls whether xscreensaver will use this
105 display mode at all.  This way, all the modes can remain available, but
106 you can choose which ones will be automatically run.
107 .TP 4
108 .B Visual
109 The \fIVisual\fI field is where you can select the X visual type that this
110 demo will require.  If you specify one (other than \fIAny\fP) then the
111 program will only be run on that kind of visual.  For example, you can
112 specify that a particular program should only be run if color is available,
113 and another should only be run in monochrome.  See the discussion of the
114 \fIprograms\fP parameter in the \fIConfiguration\fP section of the
115 .BR xscreensaver (1)
116 manual.
117
118 This is a combo-box, so you can either select an item from the popup menu,
119 or type in a specific visual's hexadecimal ID.
120 .TP 4
121 .B Demo
122 This button runs the demo in full-screen mode so that you can try it out.
123 Click the mouse to dismiss it.
124 .TP 4
125 .B Documentation
126 Since each of the display modes is actually a separate program, they each
127 may have their own manual.  This opens a window viewing the man page of
128 this program, if it has one.
129 .SH SCREENSAVER OPTIONS TAB
130 This tab lets you change various settings used by the xscreensaver daemon
131 itself, rather than its sub-programs.
132 .TP 4
133 .B Saver Timeout
134 After the user has been idle this long, the \fIxscreensaver\fP daemon
135 will blank the screen.
136 .TP 4
137 .B Cycle Timeout
138 After the screensaver has been running for this long, the currently
139 running graphics demo will be killed, and a new one started.  
140 If this is 0, then the graphics demo will never be changed:
141 only one demo will run until the screensaver is deactivated by user 
142 activity.
143 .TP 4
144 .B Verbose\ 
145 Whether to print lots of debugging information.
146 .TP 4
147 .B Install Colormap
148 Whether to install a private colormap while the screensaver is active, so
149 that the graphics hacks can get as many colors as possible.  (This only
150 applies when the screen's default visual is being used, since non-default
151 visuals get their own colormaps automatically.)  This can also be overridden
152 on a per-demo basis.
153 .TP 4
154 .B Fade Colormap
155 If selected, then when the screensaver activates, the current contents
156 of the screen will fade to black instead of simply winking out.  This only
157 works on displays with writable colormaps, that is, if the screen's default
158 visual is a PseudoColor visual.  A fade will also be done when
159 switching graphics hacks (when the \fICycle Timeout\fP expires.)
160 .TP 4
161 .B Unfade Colormap
162 The complement to \fIFade Colormap\fP: if selected, then when the screensaver
163 deactivates, the original contents of the screen will fade in from black
164 instead of appearing immediately.  This only works on displays with writable
165 colormaps, and when \fIFade Colormap\fP is also selected.
166 .TP 4
167 .B Fade Duration
168 When fading or unfading are selected, this controls how long the fade will
169 take.
170 .TP 4
171 .B Fade Ticks
172 This controls how many times a second the colormap will be changed to 
173 effect a fade.  Higher numbers yield smoother fades, but may make the
174 fades take longer than the specified number of seconds, if your server
175 isn't fast enough to keep up.
176 .TP 4
177 .B Require Password
178 Whether the screen saver should lock the screen when it activates.
179 .TP 4
180 .B Lock Timeout
181 If \fIRequire Password\fP is selected, this controls the length of 
182 the ``grace period'' between when the screensaver activates, and when the
183 screen becomes locked.  For example, if this is 0:05:00, 
184 and \fISaver Timeout\fP is 0:10:00, then after 10 minutes, the screen 
185 would blank.  If there was user  activity at 12 minutes, no password
186 would be required to un-blank the screen.  But, if there was user activity
187 at 15 minutes or later (that is, \fILock Timeout\fP minutes after 
188 activation) then a password would be required.  The default is 0, meaning
189 that if locking is enabled, then a password will be required as soon as the 
190 screen blanks.
191 .TP 4
192 .B Password Timeout
193 When the screensaver is prompting for a password, the prompt dialog box will
194 stay on the screen for this long before giving up, and reverting to 
195 screen-saving mode.
196 .PP
197 There are more settings than these available, but these are the most 
198 commonly used ones; see the manual for
199 .BR xscreensaver (1)
200 for other parameters that can be set by editing the \fI~/.xscreensaver\fP
201 file, or the X resource database.
202 .SH COMMAND-LINE OPTIONS
203 .I xscreensaver\-demo
204 accepts the following command line options.
205 .TP 8
206 .B \-display \fIhost:display.screen\fP
207 The X display to use.  The \fIxscreensaver\-demo\fP program will open its
208 window on that display, and also control the \fIxscreensaver\fP daemon that
209 is managing that same display.
210 .TP 8
211 .B \-prefs
212 Start up with the \fBScreensaver Options\fP tab selected by default
213 instead of the \fBGraphics Demos\fP tab.
214 .P
215 It is important that the \fIxscreensaver\fP and \fIxscreensaver\-demo\fP
216 processes be running on the same machine, or at least, on two machines
217 that share a file system.  When \fIxscreensaver\-demo\fP writes a new version
218 of the \fI~/.xscreensaver\fP file, it's important that the \fIxscreensaver\fP
219 see that same file.  If the two processes are seeing 
220 different \fI~/.xscreensaver\fP files, things will malfunction.
221 .SH ENVIRONMENT
222 .PP
223 .TP 8
224 .B DISPLAY
225 to get the default host and display number.
226 .TP 8
227 .B PATH
228 to find the sub-programs to run.  However, note that the sub-programs 
229 are actually launched by the \fIxscreensaver\fP daemon, not 
230 by \fIxscreensaver-demo\fP itself.  So, what matters is what \fB$PATH\fP
231 the \fIxscreensaver\fP program sees.
232 .TP 8
233 .B HOME
234 for the directory in which to read and write the \fI.xscreensaver\fP file.
235 .TP 8
236 .B XENVIRONMENT
237 to get the name of a resource file that overrides the global resources
238 stored in the RESOURCE_MANAGER property.
239 .SH UPGRADES
240 The latest version can always be found at 
241 http://www.jwz.org/xscreensaver/
242 .SH SEE ALSO
243 .BR X (1),
244 .BR xscreensaver (1),
245 .BR xscreensaver\-command (1)
246 .SH COPYRIGHT
247 Copyright \(co 1992, 1993, 1997, 1998, 1999
248 by Jamie Zawinski.  Permission to use, copy, modify, distribute, and sell
249 this software and its documentation for any purpose is hereby granted without
250 fee, provided that the above copyright notice appear in all copies and that
251 both that copyright notice and this permission notice appear in supporting
252 documentation.  No representations are made about the suitability of this
253 software for any purpose.  It is provided "as is" without express or implied
254 warranty.
255 .SH AUTHOR
256 Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
257
258 Please let me know if you find any bugs or make any improvements.