add more spacing
[personal-kdebase.git] / runtime / doc / kcontrol / background / index.docbook
blob5241462c0b478984c3397ec51c11e52df186edbf
1 <?xml version="1.0" ?>
2 <!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
3 "dtd/kdex.dtd" [
4 <!ENTITY % addindex "IGNORE">
5 <!ENTITY % English "INCLUDE" > <!-- change language only here -->
6 ]>
8 <article lang="&language;">
9 <articleinfo>
11 <authorgroup>
12 <author>&Mark.Donohoe;</author>
13 <author>&Martin.R.Jones;</author>
14 <!-- <author>&Duncan.H;</author> -->
15 <author>&Mike.McBride;</author>
17 <!-- TRANS:ROLES_OF_TRANSLATORS -->
18 </authorgroup>
20 <date>2005-01-18</date>
21 <releaseinfo>3.4</releaseinfo>
23 <keywordset>
24 <keyword>KDE</keyword>
25 <keyword>KControl</keyword>
26 <keyword>background</keyword>
27 <keyword>wallpaper</keyword>
28 </keywordset>
29 </articleinfo>
31 <sect1 id="background">
33 <title>Background</title>
35 <para>The Background module allows you to configure colors or wallpapers for
36 your desktop background.</para>
38 <para>It is comprised of four areas:</para>
40 <orderedlist>
41 <listitem>
42 <para>Desktop selection area</para>
43 </listitem>
44 <listitem>
45 <para>An area for selecting background images</para>
46 </listitem>
47 <listitem>
48 <para>The background Preview Monitor</para>
49 </listitem>
50 <listitem>
51 <para>An area for determining the background color</para>
52 </listitem>
53 </orderedlist>
55 <variablelist>
56 <varlistentry>
57 <term>Selecting the desktop</term>
58 <listitem>
59 <para>The drop down box labeled <guilabel>Setting for
60 desktop:</guilabel> is used to select the desktop you want to
61 configure. You can select any of the desktops individually, or you
62 can select <guilabel>All Desktops</guilabel> and the changes you make
63 will be applied to all desktops.</para>
64 </listitem>
65 </varlistentry>
67 <varlistentry>
68 <term>Preview Monitor</term>
69 <listitem>
70 <para>This is a preview window. It will give you a sense of what to
71 expect with each change.</para>
72 </listitem>
73 </varlistentry>
75 <varlistentry>
76 <term><guilabel>Background</guilabel></term>
77 <listitem>
78 <para>This section allows you to load a wallpaper on top of the color
79 gradient chosen in the section below.</para>
81 <para>There are three choices available here:</para>
83 <variablelist>
84 <varlistentry>
85 <term><guilabel>No Picture</guilabel></term>
86 <listitem>
87 <para>No picture background will be shown. The color and pattern
88 choices below will still take effect.</para>
89 </listitem>
90 </varlistentry>
92 <varlistentry>
93 <term><guilabel>Picture</guilabel></term>
94 <listitem>
95 <para>A single picture will be used as the background for the selected
96 desktops.</para>
97 <para>How this picture is positioned and scaled can be fine tuned
98 below.</para>
99 </listitem>
100 </varlistentry>
102 <varlistentry>
103 <term><guilabel>Slide show</guilabel></term>
104 <listitem>
105 <para>&kde; allows you to have an automatic slide show of wallpaper
106 images. To enable this option, press the <guibutton>Setup...</guibutton>
107 button. In the resulting dialog you may choose any
108 image or folder of images available on your computer, using the
109 <guibutton>Add...</guibutton> button to navigate your file system.
110 <guibutton>Remove</guibutton> will remove the currently selected
111 entry from the list.</para>
113 <para>You may choose the length of time any image is displayed in the
114 <guilabel>Change picture after:</guilabel> box, and you may choose
115 <guibutton>Show pictures in random order</guibutton> if you don't want
116 them displayed in the order they are listed.</para>
118 <tip><para>Displaying wallpaper requires that the image be kept in
119 memory. If you are low on memory, using a small, tiled image or none
120 at all is recommended.</para>
122 <para>Scaling or centering a small image still requires an image the
123 size of your display to be maintained in memory.</para></tip>
124 </listitem>
125 </varlistentry>
126 </variablelist>
127 </listitem>
128 </varlistentry>
130 <varlistentry>
131 <term><guilabel>Options</guilabel></term>
132 <listitem>
134 <variablelist><!-- Positioning -->
135 <title><guilabel>Position:</guilabel></title>
136 <varlistentry>
137 <term>Centered</term>
138 <listitem><para>The image will be centered on the screen without changing the
139 size of the image. The background colors will be present anywhere the image
140 does not cover.</para> </listitem>
141 </varlistentry>
142 <varlistentry>
143 <term>Tiled</term>
144 <listitem><para>The image will be duplicated until it fills the entire
145 desktop. The first image will be placed in the upper left corner of the screen,
146 and duplicated downward and to the right.</para></listitem>
147 </varlistentry>
148 <varlistentry>
149 <term>Center Tiled</term>
150 <listitem><para>The image will be duplicated until it
151 fills the entire desktop. The first image will be placed in the center of the
152 screen, and duplicated upward, downward to the right, and to the left.</para>
153 </listitem></varlistentry>
154 <varlistentry>
155 <term>Centered Maxpect</term>
156 <listitem><para>The image will be placed in the center of the screen. It will
157 be scaled to fit the desktop, but it will not change the aspect ratio of the
158 original image. This will provide you with an image that is not distorted.
159 </para></listitem>
160 </varlistentry>
161 <varlistentry>
162 <term>Tiled Maxpect</term>
163 <listitem>
164 <para>The image will be placed in the corner of the screen. It will
165 be scaled to fit the desktop, but it will not change the aspect ratio
166 of the original image. This will provide you with an image that is
167 not distorted. If there is any space over, the image will be
168 duplicated to fill it. </para>
169 </listitem>
170 </varlistentry>
171 <varlistentry>
172 <term>Scaled</term>
173 <listitem><para>The image will be scaled to fit the desktop. It will be
174 stretched to fit to all four corners. This may distort the image.</para></listitem>
175 </varlistentry>
176 <varlistentry>
177 <term>Centered Auto fit</term>
178 <listitem>
179 <para>If the picture fits the desktop size, this mode works like the
180 centered option. If the picture is larger than the desktop then it is
181 scaled down to fit while keeping the aspect ratio.
182 </para>
183 </listitem>
184 </varlistentry>
185 <varlistentry>
186 <term>Scale and Crop</term>
187 <listitem>
188 <para>Magnify the picture without distorting it until it fills both the
189 width and height of the desktop (cropping the picture if necessary), and
190 then center it on the desktop.</para>
191 </listitem>
192 </varlistentry>
193 </variablelist>
195 <variablelist><!-- Colors -->
196 <varlistentry>
197 <term><guilabel>Colors:</guilabel></term>
198 <listitem>
199 <para>The first drop down box allows you to choose the type of color,
200 gradient, or pattern to display under (or in place of) wallpaper.</para>
201 <tip><para>If you are going to be using a picture as a wallpaper, you
202 can skip this section of the dialog box.</para>
203 <para>However, if your chosen wallpaper does not cover the entire
204 desktop, the chosen colors will still show in the remaining
205 space.</para></tip>
207 <variablelist>
208 <varlistentry>
209 <term><guilabel>Single Color</guilabel></term>
210 <listitem><para>By choosing this mode, you select one color using the
211 first color bar, and the entire background is covered with this one
212 color.</para></listitem>
213 </varlistentry>
214 <varlistentry>
215 <term><guilabel>Horizontal Gradient</guilabel></term>
216 <listitem><para>By choosing this mode, you select two colors (using both color
217 buttons). &kde; will then start with the color selected by <guilabel>Primary
218 Color</guilabel> on the left edge of the screen, and slowly transform into the
219 color selected by <guilabel>Blend Color</guilabel> by the time it gets to the
220 right edge of the screen.</para></listitem>
221 </varlistentry>
222 <varlistentry>
223 <term><guilabel>Vertical Gradient</guilabel></term>
224 <listitem><para>By choosing this mode, you select two colors (using both color
225 buttons). &kde; will then start with the color selected by <guilabel>Primary
226 Color</guilabel> on the top edge of the screen, and slowly transform into the
227 color selected by <guilabel>Blend Color</guilabel> as it moves to the bottom of
228 the screen.</para></listitem>
229 </varlistentry>
230 <varlistentry>
231 <term><guilabel>Pyramid Gradient</guilabel></term>
232 <listitem><para>By choosing this mode, you select two colors (using both color
233 buttons). &kde; will then start with the color selected by
234 <guilabel>Primary Color</guilabel> in each
235 corner of the screen, and slowly transform into the color selected by
236 <guilabel>Blend Color</guilabel> as it moves to the center of the
237 screen.</para></listitem>
238 </varlistentry>
239 <varlistentry>
240 <term><guilabel>Pipecross Gradient</guilabel></term>
241 <listitem><para>By choosing this mode, you select two colors (using both color
242 buttons). &kde; will then start with the color selected by
243 <guilabel>Primary Color</guilabel> in each corner of the screen, and slowly
244 transform into the color selected by <guilabel>Blend Color</guilabel>
245 as it moves to the center of the screen. The shape of
246 this gradient is different than the pyramid gradient.</para></listitem>
247 </varlistentry>
248 <varlistentry>
249 <term><guilabel>Elliptic Gradient</guilabel></term>
250 <listitem><para>By choosing this mode, you select two colors (using both color
251 buttons). &kde; will then start with the color selected by
252 <guilabel>Blend Color</guilabel> in the center of the screen, and slowly
253 transform into the color selected by <guilabel>Primary Color</guilabel>
254 as it moves to the edges, in an elliptical pattern.</para></listitem>
255 </varlistentry>
257 <varlistentry>
258 <term><replaceable>Pattern</replaceable></term>
259 <listitem>
260 <para>The rest of the list are the names of various patterns
261 or textures you can choose.</para>
262 <para>Click on
263 <guibutton>OK</guibutton>, and &kde; will render the pattern you
264 selected using the two colors you selected. For more on patterns, see
265 the section <link linkend="bkgnd-patterns">Adding, Removing and
266 Modifying Patterns</link>.</para>
268 <para>Select the primary color with the first color bar. If you have
269 chosen a pattern that requires two colors to be set the secondary
270 color can be set by pressing the appropriate button.</para>
271 </listitem>
272 </varlistentry>
273 </variablelist>
275 </listitem>
276 </varlistentry>
277 </variablelist>
279 <variablelist>
280 <varlistentry>
281 <term><guilabel>Blending:</guilabel></term>
282 <listitem>
283 <para>The drop down box labeled <guilabel>Blending:</guilabel> contains the
284 options to make a smooth transition (blend) from the wallpaper as it
285 changes to the background.</para>
287 <orderedlist>
288 <listitem><para>A drop down box allows you to select the blending mode.
289 Many of the modes are similar to blending modes for background colors. Select
290 your mode from the list, and the preview window shows you what it will look
291 like.</para></listitem>
292 <listitem><para>The <guilabel>Balance</guilabel> slider adjusts the
293 blending. The results can be seen immediately in the preview
294 window.</para></listitem>
295 <listitem><para>The <guilabel>Reverse roles</guilabel> can reverse the
296 role of the picture and the background for some types of
297 blending.</para>
298 </listitem>
299 </orderedlist>
300 </listitem>
301 </varlistentry>
302 </variablelist>
303 </listitem>
304 </varlistentry>
305 </variablelist>
307 <sect2 id="bkgnd-advanced">
308 <title>Advanced options</title>
309 <para>Located below the preview monitor is a button labeled
310 <guibutton>Advanced Options</guibutton>.</para>
312 <para>To use an external program to determine and change the
313 background of &kde;, simply select <guilabel>Use the following program
314 for drawing the background</guilabel>. Available &kde; programs are
315 listed, select one to enable it. To modify your choice, for example
316 to change the refresh times, you may press the
317 <guibutton>Modify...</guibutton> button.</para>
319 <para>To add a third party application (&eg;
320 <application>XEarth</application>) you may use the
321 <guibutton>Add...</guibutton> button. A dialog will open allowing you
322 to choose your application, and fill in other data about it. You may
323 remove any entries from this list by selecting it and pressing the
324 <guibutton>Remove</guibutton> button.</para>
326 <para>Using third party external programs to modify or change the
327 background is beyond the scope of this document, see their respective
328 documentation for the format of command-line switches and other
329 configuration information.</para>
331 <para>Also in this section you may choose to set the color of text
332 that is used for icons on the desktop. If you find icon text
333 difficult to read against a wallpaper or pattern, you can choose a
334 solid color to show beneath text, or enable a shadow under the text to
335 enhance its appearance.</para>
337 <para>It is possible to set how many lines of text will be shown beneath each icon with the <guilabel>Lines for icon text:</guilabel> If the text is longer than can be shown in the configured number of lines, it will be truncated. You can also set a value for the <guilabel>Width for icon text:</guilabel> option. The value is in pixels, and the default is <guilabel>Auto</guilabel>, which is a default calculated based on the current font.
338 <!-- TODO: Find out what the actual calculation here is, in case someone needs it -->
339 </para>
341 <para>Finally you can set the <guilabel>Size of the background
342 cache:</guilabel>. The default (2048 KB) is usually a safe
343 choice.</para>
345 </sect2>
347 <sect2 id="bkgnd-patterns">
348 <title>Adding, Removing and Modifying Wallpapers and Patterns</title>
350 <para>There is a button under the preview monitor labelled <guibutton>Get
351 New Wallpapers</guibutton> that helps you fetch new wallpaper images from a
352 selection of popular images from the <ulink
353 url="http://www.kde-look.org">KDE-Look</ulink> website. You can of course
354 select any image you have available to use as wallpaper, and it may be
355 stored in any location on your hard drive. To have a wallpaper show up in
356 the list automatically for all users, you should save it to the <filename
357 class="directory">$<envar>KDEDIR</envar>/share/wallpapers</filename>
358 folder.</para>
360 <para>A pattern is a picture file which &kde; uses as a template to
361 draw your background. The picture file provides the shapes, but &kde;
362 provides the colors. &kde; is packaged with several patterns, and you also
363 can add new patterns.</para>
365 <para>To add a new pattern that is available to every user on your
366 computer, simply place the file in <filename
367 class="directory">$<envar>KDEDIR</envar>/share/apps/kdesktop/patterns/</filename>.</para>
369 <para>Copy a <literal role="extension">.desktop</literal> file from
370 this folder, and name it the same as your new pattern image file.
371 Modify the contents to suit your new pattern.</para>
373 <para>To add a new pattern for a single user, add the files to
374 <filename
375 class="directory">$<envar>KDEHOME</envar>/share/apps/kdesktop/patterns/</filename>.</para>
377 <para>For best results, the pattern should be a grayscale PNG file.</para>
379 </sect2>
381 </sect1>
383 </article>