summaryrefslogtreecommitdiffstats
path: root/doc/kcontrol/screensaver/index.docbook
blob: 73ad996de65e3cee7ba4aeeb26cbeca7389379b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
"dtd/kdex.dtd" [
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>

<article lang="&language;">
<articleinfo>

<authorgroup>
<author>&Mike.McBride; &Mike.McBride.mail;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

<date>2005-02-20</date>
<releaseinfo>3.4</releaseinfo>

<keywordset>
<keyword>KDE</keyword>
<keyword>KControl</keyword>
<keyword>screensaver</keyword>
<keyword>screen saver</keyword>
</keywordset>
</articleinfo>

<sect1 id="screensaver">

<title>Screen Saver</title>

<para>Using this module, you can choose your screen saver, determine
how much time must pass before the screen saver is activated, and add
or remove password protection to your screen saver.</para>

<sect2 id="ss-choose">
<title>Choosing the screen saver, and configuring its options</title>

<para>In the <guilabel>Settings</guilabel> box is a check box
labeled <guilabel>Start screen saver automatically</guilabel>.  This
box must have a mark in it, or &kde; will not launch any screen saver
and it will not allow you to adjust the settings of your screen
saver.</para>

<para>Along the left side is a list of all available screen savers.  You can
select a screen saver by simply clicking on its name.  Once
you have selected a screen saver, you will see a small preview on the 
monitor on the right.</para>

<note><para>The preview monitor will often show the screen saver
larger than it is when the screen saver is activated.  This is done on
purpose, since many of the details of the screen savers would be
unintelligible if actually scaled down to such a small
size.</para></note>

<para>Each screen saver has a different set of setup options.  By
clicking on <guilabel>Setup...</guilabel>, a dialog box will appear with
all available options.  As you adjust the options, the preview box in
the dialog box will show you what effect you will achieve with the
current settings.</para>

<para>When you are done setting up your screen saver, click
<guibutton>OK</guibutton>.</para> <para>Clicking <guibutton>Cancel</guibutton>
will erase any changes you made in this dialog box, and return you to the
screen saver module.</para>

<para>Clicking the <guibutton>About</guibutton> button will give you
the Copyright and Author information if you are interested.</para>

<para>When you think you have all the options set the way you want,
simply click on <guibutton>Test</guibutton> to immediately start the
screen saver <emphasis>exactly</emphasis> as it will appear.</para>

</sect2>

<sect2 id="ss-options">
<title>Setting the time, priority and passwords for screen
savers.</title>

<para>Below the screensaver list is a check box to have the screen saver <guilabel>Start automatically</guilabel> check box, and a spin box which determines the period of inactivity before the screen saver should be started.  You can enter any postive number of minutes in this box.</para>

<para>Below that is a check box labeled <guilabel>Require password to
stop screen saver</guilabel>.  If it is checked, when you click a key
or click a mouse button to end the screen saver and return to your
work, you must enter a password.  The password used is the same
password you used to login to your machine.  If there is no mark in
the check box, no password is required to return to your
desktop.</para>

<para>Enable the check box <guilabel>Make aware of
power management</guilabel> if you don't want the screensaver to start
while you watch TV or movies on your monitor.</para>

</sect2>

<sect2 id="ss-other"><title>Using a non-&kde; screen saver</title> 

<para>&kde; does not prevent another screen saver from working.  To use a
different screen saver, such as <application>xscreensaver</application>, simply
disable the &kde; Screen Saver, and set up your other screen saver program
normally.  </para>

</sect2>

<sect2 id="screensaver-remove">
<title>Removing and restoring a screen saver from your system</title>

<para>If you want to remove a screen saver from the list in this
Control Center Module, you will need to rename a file on your
system.</para>

<caution><para>Working as a <systemitem
class="username">root</systemitem> user is a potentially dangerous
situation.  While unlikely, it is entirely possible to do permanent
damage to your system while working as
<emphasis>root</emphasis>.</para>

<para>Be very careful following the next set of
directions</para></caution>

<para>To delete a screen saver, type the following commands:</para>

<screen>
<prompt>bash$</prompt> <command>cd 
$TDEDIR/share/applnk/System/ScreenSavers</command>
<prompt>bash$</prompt> <command>ls</command>
</screen> 

<para>This will give you a list of files.  You will notice
similarities between some of the file names and that of the screen saver you
want to remove.  Simply rename the file of similarly named desktop
file to a name which does not end in
<emphasis>desktop</emphasis>.</para>

<para>Example:</para>
<screen>
<prompt>bash$</prompt> <command>cd 
$TDEDIR/share/applnk/System/ScreenSavers</command>
<prompt>bash$</prompt> <command>mv KSpace.desktop KSpace.backup</command>
</screen> 

<para>Will remove Space (GL) from the list</para>

<note><para>You must close the &kcontrolcenter; entirely and restart it before 
the changes will be seen.</para></note>

<para>To restore the disabled screen saver, simply rename the file back to its 
original name:</para>

<screen>
<prompt>bash$</prompt> <command>cd 
$TDEDIR/share/applnk/System/ScreenSavers</command>
<prompt>bash$</prompt> <command>mv KSpace.backup KSpace.desktop</command>
</screen> 

<para>Restart the &kcontrolcenter;, and the screen saver is back in the 
list.</para>

</sect2>

<sect2 id="grace">
<title>Advanced Settings: Grace period</title>

<para>There is a five second grace period after the screen saver
begins before a  password is required even if <guilabel>Require
password</guilabel> is checked.</para>
<para>Locking the desktop manually, by clicking the lock icon
in the &kde; panel, causes the password protection to engage immediately with
no grace period.</para>
<para>To alter the grace period setting, you need to manually edit the 
configuration file.  To do so:</para>
<para>
<prompt>$</prompt> <command>cd <filename>~/.kde/share/config</filename>
</command>
</para>
<para>Now, using a text editor (the example uses &kate;, the &kde; text editor), 
load the <filename>kdesktoprc</filename>.</para>
<para>
<prompt>$</prompt> <command>kate <filename>kdesktoprc</filename>
</command>
</para>
<para>Search through the file for the section labeled 
<emphasis>[Screensaver]</emphasis>.</para>
<para>Look through all lines in the section for an entry entitled 
<emphasis>LockGrace</emphasis>.</para>
<para>If the entry exists, you can edit the value of the entry.  </para>
<screen>[Screensaver]
LockGrace=3000</screen>
<para>The value of the entity represents the duration of the grace period
in milliseconds. An entry of 3000, would change the grace period to 3 seconds.
You can set the value of the entry to any number between zero (no grace period) 
and 300000 (5 minutes).
</para>
<para>If the entry does not exist, simply add the entry to the end of the 
section.</para>

<para>Any changes to the configuration entry take effect
immediately.</para>

</sect2>

</sect1>

</article>