~ubuntu-branches/ubuntu/precise/kde-l10n-engb/precise

« back to all changes in this revision

Viewing changes to docs/kdebase-runtime/faq/install.docbook

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-04 13:16:43 UTC
  • mfrom: (1.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104131643-zq2effur30inw0r0
Tags: 4:4.5.3-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- <?xml version="1.0" ?>
2
 
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
3
 
 "dtd/kdex.dtd"
4
 
> -->
5
 
 
6
 
 
7
 
<chapter id="install">
8
 
<title
9
 
>Installation instructions</title>
10
 
 
11
 
<para
12
 
>These are the generic installation instructions for the K Desktop Environment. Please complement your reading with the <filename
13
 
>README</filename
14
 
>s and <filename
15
 
>INSTALL</filename
16
 
>s that come along with the package. Please read them carefully and try to help yourself out if anything goes wrong. If you need further assistance, consider joining the &kde; mailing lists (see our web site instructions for joining the &kde; <ulink url="http://www.kde.org/mailinglists/"
17
 
>mailing lists</ulink
18
 
>) or newsgroups.</para>
19
 
 
20
 
 
21
 
<qandaset>
22
 
 
23
 
 
24
 
<qandaentry>
25
 
<question>
26
 
<para
27
 
>To the would-be converts</para>
28
 
</question>
29
 
<answer>
30
 
 
31
 
<para
32
 
>So you have heard the rumours. Or you have seen the screenshots. And you are dying to get hold of &kde;. But you know next to nothing about this whole <quote
33
 
>alternative OS</quote
34
 
> business. Don't worry! You only need to do some (well, maybe not some) reading, that's all!</para>
35
 
 
36
 
<para
37
 
>&kde; does not run on any version of &Microsoft; &Windows; or OS/2 (yet). To run &kde;, you need to have a &UNIX; system. Please refer to <xref linkend="platform"/> for more details.</para>
38
 
 
39
 
<para
40
 
>Decide on a platform and set it up for your system. This <acronym
41
 
>FAQ</acronym
42
 
> can not help you with this, since &kde;<ulink url="http://www.kde.org"
43
 
> runs on many &UNIX;</ulink
44
 
> platforms. </para>
45
 
 
46
 
<!-- Taken out because we can not help with all platforms and KDEisnotLINUX -->
47
 
 
48
 
<para
49
 
>Finally, you are ready to commence the &kde; installation. Please start reading from the next section. To get &kde;, please refer to <xref linkend="where-to-get-kde"/>. Last but not least, if you encounter any problems while installing &kde;, please do not hesitate to make use of the &kde; <link linkend="mailing-lists"
50
 
>mailing lists</link
51
 
> and <link linkend="newsgroups"
52
 
>newsgroups</link
53
 
>. But do bear this in mind: no question is too silly to ask, but some are too silly to answer, especially when they are already answered in this <acronym
54
 
>FAQ</acronym
55
 
>.</para>
56
 
<para
57
 
>Good luck and have fun!</para>
58
 
 
59
 
</answer>
60
 
</qandaentry>
61
 
 
62
 
<qandaentry>
63
 
<question>
64
 
<para
65
 
>Available package formats</para>
66
 
</question>
67
 
<answer>
68
 
 
69
 
 
70
 
<para
71
 
>You can find several kinds of binary and source packages for different distributions and operating systems on the &kde-ftp;. The binary packages are not made by the &kde; Team, but by the distributors themselves, or some dedicated individuals. Please refer to <ulink url="http://dot.kde.org/986933826/"
72
 
>&kde; Package Policy Explained</ulink
73
 
> for information about the &kde; Package Policy. The only <quote
74
 
>official</quote
75
 
> release is the source tar.bz2 packages. Please refer to the <filename
76
 
>README</filename
77
 
>s and <filename
78
 
>INSTALL</filename
79
 
>s in the several binaries folders. For a list of the available packages for a release, refer to the relevant info page. For the latest release this is the <ulink url="http://www.kde.org/info/3.2.php"
80
 
>&kde; 3.2 Info Page</ulink
81
 
>.</para>
82
 
 
83
 
</answer>
84
 
</qandaentry>
85
 
 
86
 
<qandaentry>
87
 
<question id="prerequisites">
88
 
<para
89
 
>Prerequisites</para>
90
 
</question>
91
 
<answer>
92
 
 
93
 
<!-- rewrite to make it more general, pointing to the according webpages? -->
94
 
 
95
 
<para
96
 
>For &kde; 3.2, you need the &Qt; library version 3.2 or greater. Please make sure you download the correct &Qt;. You will also need the header files, if you want to compile &kde; yourself. They are all available, at no cost, from <ulink url="http://www.trolltech.com/products/download"
97
 
>http://www.trolltech.com/download</ulink
98
 
>. In addition, there are optional libraries that might improve &kde; if installed on your system. An example is OpenSSL which will enable &konqueror; to browse web pages securely and is needed in a version 
99
 
>=0.9.6. These should be provided by your distributor; if not, ask for an update.</para>
100
 
 
101
 
</answer>
102
 
</qandaentry>
103
 
 
104
 
<qandaentry>
105
 
<question>
106
 
<para
107
 
>Description of the base packages</para>
108
 
</question>
109
 
<answer>
110
 
<para
111
 
>The base distribution currently consists of eleven packages. Some are required, while others are optional. Each package is available in each of the aforementioned package formats.</para>
112
 
<variablelist>
113
 
<varlistentry>
114
 
<term
115
 
>kdelibs</term>
116
 
<listitem>
117
 
<para
118
 
>Required</para>
119
 
<para
120
 
>This package contains shared libraries that are needed by all &kde; applications.</para>
121
 
</listitem>
122
 
</varlistentry>
123
 
<varlistentry>
124
 
<term
125
 
>kdebase</term>
126
 
<listitem>
127
 
<para
128
 
>Required</para>
129
 
<para
130
 
>This package contains the base applications that form the core of the K Desktop Environment like the window manager, the terminal emulator, the control centre, the file manager, and the panel.</para>
131
 
</listitem>
132
 
</varlistentry>
133
 
<varlistentry>
134
 
<term
135
 
>&arts;</term>
136
 
<listitem>
137
 
<para
138
 
>Required</para>
139
 
<para
140
 
>The &arts; sound server. A powerful, network transparent sound server.</para>
141
 
</listitem>
142
 
</varlistentry>
143
 
<varlistentry>
144
 
<term
145
 
>kdeaddons</term>
146
 
<listitem>
147
 
<para
148
 
>Optional</para>
149
 
<para
150
 
>Various plugins for &kate;, &kicker;, &knewsticker;, &konqueror; and &noatun; </para>
151
 
</listitem>
152
 
</varlistentry>
153
 
<varlistentry>
154
 
<term
155
 
>kdeartwork</term>
156
 
<listitem>
157
 
<para
158
 
>Optional</para>
159
 
<para
160
 
>Additional wallpapers, themes, styles, sounds ...</para>
161
 
</listitem>
162
 
</varlistentry>
163
 
<varlistentry>
164
 
<term
165
 
>kdebindings</term>
166
 
<listitem>
167
 
<para
168
 
>Optional</para>
169
 
<para
170
 
>Various bindings for other languages, including &Java;, Perl, Python, ...</para>
171
 
</listitem>
172
 
</varlistentry>
173
 
<varlistentry>
174
 
<term
175
 
>kdegames</term>
176
 
<listitem>
177
 
<para
178
 
>Optional</para>
179
 
<para
180
 
>Various games like &kmahjongg;, &ksnake;, &kasteroids;, and &kpatience;.</para>
181
 
</listitem>
182
 
</varlistentry>
183
 
<varlistentry>
184
 
<term
185
 
>kdegraphics</term>
186
 
<listitem>
187
 
<para
188
 
>Optional</para>
189
 
<para
190
 
>Various graphics-related programs like &PostScript; previewer, &DVI; previewer, and a drawing program.</para>
191
 
</listitem>
192
 
</varlistentry>
193
 
<varlistentry>
194
 
<term
195
 
>kdeutils</term>
196
 
<listitem>
197
 
<para
198
 
>Optional</para>
199
 
<para
200
 
>Various desktop tools like a calculator, an editor and other nifty stuff.</para>
201
 
</listitem>
202
 
</varlistentry>
203
 
<varlistentry>
204
 
<term
205
 
>kdemultimedia</term>
206
 
<listitem>
207
 
<para
208
 
>Optional</para>
209
 
<para
210
 
>Multimedia applications like a &CD; player and a mixer.</para>
211
 
</listitem>
212
 
</varlistentry>
213
 
<varlistentry>
214
 
<term
215
 
>kdenetwork</term>
216
 
<listitem>
217
 
<para
218
 
>Optional</para>
219
 
<para
220
 
>Network applications. Currently contains the mail program &kmail;, the news reader &knode;, and several other network-related programs.</para>
221
 
</listitem>
222
 
</varlistentry>
223
 
<varlistentry>
224
 
<term
225
 
>kdeadmin</term>
226
 
<listitem>
227
 
<para
228
 
>Optional</para>
229
 
<para
230
 
>System administration programs.</para>
231
 
</listitem>
232
 
</varlistentry>
233
 
<varlistentry>
234
 
<term
235
 
>kdeedu</term>
236
 
<listitem>
237
 
<para
238
 
>Educational and entertaining applications for &kde;'s younger users. </para>
239
 
</listitem>
240
 
</varlistentry>
241
 
<varlistentry>
242
 
<term
243
 
>kdetoys</term>
244
 
<listitem>
245
 
<para
246
 
>Optional</para>
247
 
<para
248
 
>Toys!</para>
249
 
</listitem>
250
 
</varlistentry>
251
 
<varlistentry>
252
 
<term
253
 
>kdevelop</term>
254
 
<listitem>
255
 
<para
256
 
>Optional</para>
257
 
<para
258
 
>A complete Integrated Development Environment for &kde; and Qt</para>
259
 
</listitem>
260
 
</varlistentry>
261
 
</variablelist>
262
 
        
263
 
<para
264
 
>&arts; and then kdelibs should be installed before everything else, and kdeaddons last. The other packages can be installed in any arbitrary order.</para>
265
 
 
266
 
<para
267
 
>Most package management tools will let you put all these packages in one folder and install them all at once, figuring out the dependencies as they go.</para>
268
 
 
269
 
</answer>
270
 
</qandaentry>
271
 
 
272
 
<qandaentry>
273
 
<question>
274
 
<para
275
 
>Installation instructions for the different package formats</para>
276
 
</question>
277
 
<answer>
278
 
<para
279
 
><important>
280
 
<para
281
 
>Please do not forget to read the <filename
282
 
>README</filename
283
 
> and <filename
284
 
>INSTALL</filename
285
 
> files if they are available.</para>
286
 
</important
287
 
></para>
288
 
<variablelist>
289
 
<varlistentry>
290
 
<term
291
 
>Installation of the Debian packages</term>
292
 
<listitem>
293
 
<para
294
 
>The Debian packages install in accordance with the upcoming <acronym
295
 
>FHS</acronym
296
 
> (File Hierarchy Standard).</para>
297
 
<procedure>
298
 
<step performance="required"
299
 
><para
300
 
>become superuser</para
301
 
></step>
302
 
<step performance="required"
303
 
><para
304
 
>run <command
305
 
>dpkg <option
306
 
>-i <replaceable
307
 
>packagename.deb</replaceable
308
 
></option
309
 
></command
310
 
> for every package you want to install.</para
311
 
></step>
312
 
</procedure>
313
 
</listitem>
314
 
</varlistentry>
315
 
<varlistentry>
316
 
<term
317
 
>Installation of the <acronym
318
 
>RPM</acronym
319
 
> packages</term>
320
 
<listitem>
321
 
<procedure>
322
 
<title
323
 
>To install binary <acronym
324
 
>RPM</acronym
325
 
>s</title>
326
 
<step performance="required"
327
 
><para
328
 
>become superuser</para
329
 
></step>
330
 
<step performance="required"
331
 
><para
332
 
>execute <command
333
 
>rpm <option
334
 
>-ivh <replaceable
335
 
>packagename.rpm</replaceable
336
 
></option
337
 
></command
338
 
></para
339
 
></step>
340
 
</procedure>
341
 
</listitem>
342
 
</varlistentry>
343
 
<varlistentry>
344
 
<term
345
 
>Installation of the source <filename
346
 
>.tar.bz2</filename
347
 
> files</term>
348
 
<listitem>
349
 
<para
350
 
>Since there are always changes and updates to the way &kde; is compiled, please refer to <ulink url="http://developer.kde.org/build/index.html"
351
 
>Download and Install from Source</ulink
352
 
> for the most up to date installation instructions for the source packages. </para>
353
 
<para
354
 
>The general approach should work in most cases though. </para>
355
 
<para
356
 
>The source <filename
357
 
>.tar.bz2</filename
358
 
> package installs into <filename class="directory"
359
 
>/usr/local/kde</filename
360
 
> by default. You can override this setting by using the <option
361
 
>--prefix</option
362
 
> option of the <filename
363
 
>configure</filename
364
 
> script.</para>
365
 
<procedure>
366
 
<step performance="required"
367
 
><para
368
 
>unpack the packages with <command
369
 
>tar <option
370
 
>jxvf <replaceable
371
 
>packagename.tar.bz2</replaceable
372
 
></option
373
 
></command
374
 
></para
375
 
></step>
376
 
<step performance="required"
377
 
><para
378
 
>change folder to the package folder: <command
379
 
>cd <replaceable
380
 
>packagename</replaceable
381
 
></command
382
 
></para
383
 
></step>
384
 
<step performance="required"
385
 
><para
386
 
>configure the package: <command
387
 
>./configure</command
388
 
> <note
389
 
><para
390
 
>Some packages (notably kdebase) have special configuration options that might be applicable to your installation. Type <command
391
 
>./configure <option
392
 
>--help</option
393
 
></command
394
 
> to see the available options.</para
395
 
></note
396
 
></para
397
 
></step>
398
 
<step performance="required"
399
 
><para
400
 
>build the package: <command
401
 
>make</command
402
 
></para
403
 
></step>
404
 
<step performance="required"
405
 
><para
406
 
>install the package: <command
407
 
>su <option
408
 
>-c "make install"</option
409
 
></command
410
 
> (if you aren't already root). If you already are, just type <command
411
 
>make <option
412
 
>install</option
413
 
></command
414
 
>.</para
415
 
></step>
416
 
</procedure>
417
 
</listitem>
418
 
</varlistentry>
419
 
</variablelist>
420
 
</answer>
421
 
</qandaentry>
422
 
 
423
 
<qandaentry>
424
 
<question>
425
 
<para
426
 
>Post-installation procedures</para>
427
 
</question>
428
 
<answer>
429
 
<para
430
 
>First of all, please make sure that you have added &kde;'s binary installation folder (&eg; <filename class="directory"
431
 
>/usr/local/kde/bin</filename
432
 
>) to your <envar
433
 
>PATH</envar
434
 
> and &kde;'s library installation folder to your <envar
435
 
>LD_LIBRARY_PATH</envar
436
 
> (only necessary on systems that do not support rpath; on &Linux; &ELF;, it should work without). This environment variable may be called differently on some systems, &eg; it is called <envar
437
 
>SHLIB_PATH</envar
438
 
> on &IRIX;. Then set the environment variable <envar
439
 
>KDEDIR</envar
440
 
> to the base of your &kde; tree, &eg; <filename class="directory"
441
 
>/usr/local/kde</filename
442
 
>. <caution
443
 
> <para
444
 
>Please bear in mind that it is unwise to set <envar
445
 
>LD_LIBRARY_PATH</envar
446
 
> blindly. In the vast majority of cases it is unnecessary and can do more harm than good. There is a web page written by <ulink url="mailto:barr@cis.ohio-state.edu"
447
 
>Dave Barr</ulink
448
 
> explaining the evils of <envar
449
 
>LD_LIBRARY_PATH</envar
450
 
> and it can be found at <ulink url="http://www.cis.ohio-state.edu/~barr/ldpath.html"
451
 
>http://www.cis.ohio-state.edu/~barr/ldpath.html</ulink
452
 
>.</para>
453
 
</caution>
454
 
</para>
455
 
<para
456
 
>Even though you can use most of the &kde; applications simply by calling them, you can only benefit fully from &kde;'s advanced features if you use the &kde; window manager and its helper programs.</para>
457
 
<para
458
 
>In order to make it easy for you, we have provided a simple script called <filename
459
 
>startkde</filename
460
 
> which gets installed in <filename class="directory"
461
 
>$<envar
462
 
>KDEDIR</envar
463
 
>/bin</filename
464
 
> and is therefore in your path.</para>
465
 
<para
466
 
>Edit the file <filename
467
 
>.xinitrc</filename
468
 
> in your home folder (make a backup copy first!), remove everything that looks like calling a window manager, and insert <command
469
 
>startkde</command
470
 
> instead. Restart the &X-Server;. If you use &kdm;/<application
471
 
>xdm</application
472
 
>, you will have to edit the file <filename
473
 
>.xsession</filename
474
 
> instead of <filename
475
 
>.xinitrc</filename
476
 
>. And if there is no <filename
477
 
>.xinitrc</filename
478
 
> or <filename
479
 
>.xsession</filename
480
 
> in your home folder, simply create a new one with just one line containing <command
481
 
>startkde</command
482
 
>. <note
483
 
> <para
484
 
>Some systems (notably &RedHat; &Linux;) use <filename
485
 
>.Xclients</filename
486
 
> instead.</para>
487
 
</note
488
 
></para>
489
 
<para
490
 
>This should present you with a new shining &kde; desktop. You can now start to explore the wonderful world of &kde;. In case you want to read some documentation first, there is a highly recommended <ulink url="http://www.kde.org/documentation/quickstart/index.html"
491
 
>Quick Start guide</ulink
492
 
> available. Furthermore, every application has an online help that is available via the <guimenu
493
 
>help</guimenu
494
 
> menu.</para>
495
 
</answer>
496
 
</qandaentry>
497
 
 
498
 
 
499
 
<qandaentry>
500
 
<question>
501
 
<para
502
 
>Should I remove old version xyz before installing a new one?</para>
503
 
</question>
504
 
<answer>
505
 
<para
506
 
>In principle, this is not necessary. <acronym
507
 
>RPM</acronym
508
 
> and Debian packages should take care of all dependencies.</para>
509
 
<para
510
 
>If you compile the source code yourself, you should take more care. Instructions for running two different versions of &kde; on the same system are given at <ulink url="http://developer.kde.org/build/kde2-and-kde3.html"
511
 
>http://developer.kde.org/build/kde2-and-kde3.html</ulink
512
 
>. However, please note that running two different versions of &kde; from source can lead to problems if you are not careful. </para>
513
 
</answer>
514
 
</qandaentry>
515
 
 
516
 
<qandaentry>
517
 
<question id="startkde">
518
 
<para
519
 
>How do I start &kde;?</para>
520
 
</question>
521
 
<answer>
522
 
<para
523
 
>The most comfortable method to start &kde; is to use the <filename
524
 
>startkde</filename
525
 
> script. Simply put the line <command
526
 
>startkde</command
527
 
> at the end of your <filename
528
 
>.xsession</filename
529
 
> file (or your <filename
530
 
>.xinitrc</filename
531
 
> or <filename
532
 
>.Xclients</filename
533
 
> file if you are not using &kdm; or <application
534
 
>xdm</application
535
 
>). Please also remove the lines that start your previous window manager. If there is no <filename
536
 
>.xsession</filename
537
 
>, <filename
538
 
>.xinitrc</filename
539
 
>, or <filename
540
 
>.Xclients</filename
541
 
> in your home folder, simply create a new one that contains just one line: <command
542
 
>startkde</command
543
 
>.</para>
544
 
</answer>
545
 
</qandaentry>
546
 
<!-- Still needed?
547
 
<qandaentry>
548
 
<question>
549
 
<para
550
 
>Whenever I start &kde;, it complains about "shadow passwords".
551
 
Why?</para>
552
 
</question>
553
 
<answer>
554
 
<para
555
 
>When your system uses shadow passwords, the screensaver can only
556
 
run properly if the suid bit is set.  This bit gives the screensavers
557
 
root privileges, which are needed to access the shadow passwords.
558
 
<caution
559
 
><para
560
 
>The screensavers might be configured to secure the
561
 
machine until the password is entered.</para
562
 
></caution
563
 
></para>
564
 
<procedure>
565
 
<title
566
 
>Setting the suid bit on the screensavers</title>
567
 
<step performance="required"
568
 
><para
569
 
>become root</para
570
 
></step>
571
 
<step performance="required"
572
 
><para
573
 
><command
574
 
>chown root
575
 
$<envar
576
 
>KDEDIR</envar
577
 
>/bin/*.kss</command
578
 
></para
579
 
></step>
580
 
<step performance="required"
581
 
><para
582
 
><command
583
 
>chmod u+s
584
 
$<envar
585
 
>KDEDIR</envar
586
 
>/bin/*.kss</command
587
 
></para
588
 
></step>
589
 
</procedure>
590
 
<para
591
 
>Alternatively, if you compile &kde; from source, you can use
592
 
<command
593
 
>./configure <option
594
 
>with-shadow</option
595
 
></command
596
 
> to
597
 
configure kdebase.  Then the suid bit is set automatically during
598
 
<command
599
 
>make install</command
600
 
>.</para>
601
 
</answer>
602
 
</qandaentry>
603
 
-->
604
 
<qandaentry>
605
 
<question>
606
 
<para
607
 
>Is it possible to install &kde; in a user folder?</para>
608
 
</question>
609
 
<answer>
610
 
<para
611
 
>Yes, you can install &kde; in any folder you want. What you have to do depends on the kind of packages you want to install:</para>
612
 
<procedure
613
 
><title
614
 
>Source packages</title>
615
 
<step performance="required"
616
 
><para
617
 
>Configure and install the package using <command
618
 
>configure <option
619
 
>--prefix=<replaceable
620
 
>/users/myhome/kde</replaceable
621
 
></option
622
 
>; make; make install</command
623
 
> to install into <filename class="directory"
624
 
>/users/myhome/kde</filename
625
 
>.</para
626
 
></step>
627
 
<step performance="required"
628
 
><para
629
 
>Add the following to your init files. Please note that if it is not necessary for you to set <envar
630
 
>LD_LIBRARY_PATH</envar
631
 
>, it is better to leave it out.</para>
632
 
 
633
 
<para
634
 
>For csh or tcsh:</para>
635
 
<programlisting
636
 
>setenv KDEDIR /users/myhome/kde
637
 
 
638
 
if ( $?LD_LIBRARY_PATH ) then
639
 
   setenv LD_LIBRARY_PATH $KDEDIR/lib:$LD_LIBRARY_PATH
640
 
else
641
 
   setenv LD_LIBRARY_PATH $KDEDIR/lib
642
 
endif
643
 
 
644
 
if ( ! $?LIBRARY_PATH ) then
645
 
   setenv LIBRARY_PATH $LD_LIBRARY_PATH
646
 
endif  
647
 
</programlisting>
648
 
<para
649
 
>For <application
650
 
>bash</application
651
 
>:</para>
652
 
<programlisting
653
 
>KDEDIR=/users/myhome/kde
654
 
PATH=$KDEDIR/bin:$PATH
655
 
LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH
656
 
LIBRARY_PATH=$LD_LIBRARY_PATH
657
 
export KDEDIR PATH LD_LIBRARY_PATH LIBRARY_PATH
658
 
</programlisting
659
 
></step>
660
 
</procedure>
661
 
<procedure
662
 
><title
663
 
><acronym
664
 
>RPM</acronym
665
 
> packages</title>
666
 
<step performance="required"
667
 
><para
668
 
><command
669
 
>rpm</command
670
 
> allows you to use the <option
671
 
>--prefix</option
672
 
> option to select the folder you want to install to. For example, executing <command
673
 
>rpm <option
674
 
>-i --prefix=<replaceable
675
 
>/users/myhome/kde package.rpm</replaceable
676
 
></option
677
 
></command
678
 
> will install the package to <filename class="directory"
679
 
>/users/myhome/kde</filename
680
 
>.</para
681
 
></step>
682
 
</procedure>
683
 
<para
684
 
><note>
685
 
<para
686
 
>Although &kde; will run from a user folder, there are some problems with programs that require suid root, &eg; the programs in the kdeadmin package. But since they are not meant to be run by users in the first place, this is nothing to worry about.</para>
687
 
<para
688
 
>However, on systems using shadow passwords, the screensavers have to be suid root to enable password access for unlocking the screen, so this option will not work.</para>
689
 
</note
690
 
></para>
691
 
</answer>
692
 
</qandaentry>
693
 
 
694
 
<qandaentry>
695
 
<question>
696
 
<para
697
 
><command
698
 
>startkde</command
699
 
> fails with <errorname
700
 
>can not connect to X server</errorname
701
 
>. What is wrong?</para>
702
 
</question>
703
 
<answer>
704
 
<para
705
 
>You probably tried to start the X server with <command
706
 
>startkde</command
707
 
>. The X server is started with <command
708
 
>startx</command
709
 
>. <command
710
 
>startkde</command
711
 
> is the script that should be run from your <filename
712
 
>.xinitrc</filename
713
 
>, <filename
714
 
>.xsession</filename
715
 
>, or <filename
716
 
>.Xclients</filename
717
 
> to activate the window manager and the necessary server daemons for &kde;. See also <xref linkend="startkde"/>.</para>
718
 
</answer>
719
 
</qandaentry>
720
 
 
721
 
<qandaentry>
722
 
<question>
723
 
<para
724
 
>&kde; on &AIX;?</para>
725
 
</question>
726
 
<answer>
727
 
<para
728
 
><acronym
729
 
>IBM</acronym
730
 
> now officially support &kde; on &AIX;. You can find details at <ulink url="http://www.ibm.com/servers/aix/products/aixos/linux/index.html"
731
 
>http://www.ibm.com/servers/aix/products/aixos/linux/index.html</ulink
732
 
>. There is also some older information at <ulink url="http://space.twc.de/~stefan/kde/aix.html"
733
 
>http://space.twc.de/~stefan/kde/aix.html</ulink
734
 
>.</para>
735
 
</answer>
736
 
</qandaentry>
737
 
 
738
 
<qandaentry>
739
 
<question>
740
 
<para
741
 
>&kde; on a laptop?</para>
742
 
</question>
743
 
<answer>
744
 
<para
745
 
>If you can get &X-Window; to run on your laptop, you should not have any problem getting &kde; to run on it. In addition, you might find the following links helpful:</para>
746
 
<itemizedlist>
747
 
<listitem>
748
 
<para
749
 
><ulink url="http://www.linux-laptop.net/"
750
 
>http://www.linux-laptop.net/</ulink
751
 
></para>
752
 
</listitem>
753
 
<listitem>
754
 
<para
755
 
><ulink url="http://www.sanpei.org/Laptop-X/note-list.html"
756
 
>http://www.sanpei.org/Laptop-X/note-list.html</ulink
757
 
></para>
758
 
</listitem>
759
 
</itemizedlist>
760
 
</answer>
761
 
</qandaentry>
762
 
 
763
 
<qandaentry>
764
 
<question>
765
 
<para
766
 
>I have a neomagic chipset in my laptop. Is there anything special I should do to run &kde;?</para>
767
 
</question>
768
 
<answer>
769
 
<para
770
 
>On some laptops using the 2160 chipset (MagicGraph 128XD) the following options in <filename
771
 
>XF86Config</filename
772
 
> are needed to avoid a lock-up of the graphic engine:</para>
773
 
<screen
774
 
>Option "XaaNoScanlineImageWriteRect"
775
 
           Option "XaaNoScanlineCPUToScreenColorExpandFill"</screen>
776
 
 
777
 
<para
778
 
>If you have experienced desktop hangs while using &kde; please try this option.</para
779
 
780
 
</answer
781
 
782
 
</qandaentry>
783
 
 
784
 
<qandaentry>
785
 
<question>
786
 
<para
787
 
>I do not like the default &kde; folder after installation. How do I move it without breaking anything?</para>
788
 
</question>
789
 
<answer>
790
 
<para
791
 
>Assuming the default is <filename class="directory"
792
 
>/opt/kde</filename
793
 
> and you want to move it to <filename class="directory"
794
 
>/usr/local/kde</filename
795
 
>, here's what you have to do:</para>
796
 
<procedure>
797
 
<step performance="required"
798
 
><para
799
 
>change to superuser if you aren't already</para
800
 
></step>
801
 
<step performance="required"
802
 
><para
803
 
><command
804
 
>mv /opt/kde /usr/local/kde</command
805
 
></para
806
 
></step>
807
 
<step performance="required"
808
 
><para
809
 
><command
810
 
>ln -s /usr/local/kde /opt/kde</command
811
 
></para
812
 
></step>
813
 
</procedure>
814
 
<para
815
 
>This will put all your &kde; files in <filename class="directory"
816
 
>/usr/local/kde</filename
817
 
> but everything is still accessible from <filename class="directory"
818
 
>/opt/kde</filename
819
 
>.</para>
820
 
</answer>
821
 
</qandaentry>
822
 
 
823
 
<qandaentry>
824
 
<question>
825
 
<para
826
 
>What files can I delete from my &kde; install folder? Can all the <filename
827
 
>*.h</filename
828
 
>, <filename
829
 
>*.c</filename
830
 
> and <filename
831
 
>*.o</filename
832
 
> files be safely removed?</para>
833
 
</question>
834
 
<answer>
835
 
<para
836
 
>There should not be any need to keep the <filename
837
 
>.c</filename
838
 
> and <filename
839
 
>.o</filename
840
 
> files, but you might want to keep the <filename
841
 
>.h</filename
842
 
> files, as they are used by includes if you ever want to compile your own &kde; programs. But if you wish to add patches to the source programs as they become available (rather than downloading everything again), then they should stay.</para
843
 
844
 
</answer>
845
 
</qandaentry>
846
 
 
847
 
<qandaentry>
848
 
<question>
849
 
<para
850
 
>Will I lose my current settings when I upgrade &kde;?</para>
851
 
</question>
852
 
<answer>
853
 
 
854
 
<para
855
 
>No. In most cases &kde; will be able to transport your settings intact. You may need to reenter passwords in some applications (such as &kmail; or &knode;) but most other settings will be safe.</para>
856
 
 
857
 
<para
858
 
>There were mixed reports of results between some previous versions of &kde;. To be safe, you may like to back up your entire &kde; configuration. </para>
859
 
 
860
 
<para
861
 
>Settings are kept in the <filename class="directory"
862
 
>$<envar
863
 
>HOME</envar
864
 
>/.kde</filename
865
 
> or <filename class="directory"
866
 
>$<envar
867
 
>HOME</envar
868
 
>/.kde2</filename
869
 
> subfolder in your home folder. Copy your old <filename class="directory"
870
 
>.kde</filename
871
 
>/<filename class="directory"
872
 
>.kde2</filename
873
 
> folder to a backup location, install &kde; 3.2, and then copy back any necessary mail and news settings. That said, most people can make a direct upgrade, without removing the old <filename class="directory"
874
 
>.kde</filename
875
 
> folder, without a hitch.</para>
876
 
<para
877
 
>You can override the use of <filename class="directory"
878
 
>$<envar
879
 
>HOME</envar
880
 
>/.kde</filename
881
 
> by setting the $<envar
882
 
>KDEHOME</envar
883
 
> variable.</para
884
 
885
 
</answer>
886
 
</qandaentry>
887
 
 
888
 
<qandaentry id="greyscreen">
889
 
<question>
890
 
<para
891
 
>I upgraded &kde; and it seemed to go fine, but when I start it, I get a blank grey screen, and nothing happens. There are errors in the console about DCOPserver. What's going on?</para>
892
 
</question>
893
 
 
894
 
<answer>
895
 
<para
896
 
>&kde; uses several temporary files during its operation. These are usually to be found in the following locations:</para>
897
 
<itemizedlist>
898
 
<listitem
899
 
><para
900
 
><filename
901
 
>~/.DCOPserver-*</filename
902
 
> (there are usually two of these; one is a symlink to the other)</para
903
 
></listitem>
904
 
<listitem
905
 
><para
906
 
><filename
907
 
>~/.kde/socket-<replaceable
908
 
>hostname</replaceable
909
 
></filename
910
 
></para
911
 
></listitem>
912
 
<listitem
913
 
><para
914
 
><filename
915
 
>~/.kde/tmp-<replaceable
916
 
>hostname</replaceable
917
 
></filename
918
 
> which is normally a symlink to the next file:</para
919
 
></listitem>
920
 
<listitem
921
 
><para
922
 
><filename
923
 
>/tmp/tmp-kde-<replaceable
924
 
>USER</replaceable
925
 
></filename
926
 
></para
927
 
></listitem>
928
 
<listitem
929
 
><para
930
 
><filename
931
 
>~/.kde/socket-<replaceable
932
 
>hostname</replaceable
933
 
></filename
934
 
> which is also normally a symlink to:</para
935
 
></listitem>
936
 
<listitem
937
 
><para
938
 
><filename
939
 
>/tmp/ksocket-<replaceable
940
 
>USER</replaceable
941
 
></filename
942
 
></para
943
 
></listitem>
944
 
</itemizedlist>
945
 
 
946
 
<para
947
 
>If the symlinks get broken, usually because a <command
948
 
>cron</command
949
 
> or shutdown script is emptying out the <filename class="directory"
950
 
>/tmp</filename
951
 
> folder, then strange things will happen. These files, and the symlinks, will all be created automatically at the start of &kde; so you can safely remove them <emphasis
952
 
>while &kde; is not running</emphasis
953
 
>.</para>
954
 
 
955
 
<para
956
 
>If you are only getting a grey screen when you start &kde;, or if you get an error message telling you to <errorname
957
 
>Check your installation</errorname
958
 
>, then shut down X and delete all the files listed above, then try to restart X.</para>
959
 
 
960
 
<para
961
 
>Normally (&ie; when not upgrading between &kde; versions) it's quite safe to leave these files intact, and you may shave a few seconds off your &kde; startup time by doing so.</para>
962
 
</answer>
963
 
</qandaentry>
964
 
 
965
 
<qandaentry>
966
 
<question>
967
 
<para
968
 
>Compiling kdebase gives me a <errorname
969
 
>bin/sh: msgfmt: command not found</errorname
970
 
> error!</para>
971
 
</question>
972
 
<answer>
973
 
<para
974
 
>You need the &GNU; <application
975
 
>msgfmt</application
976
 
> which is part of the &GNU; i18n package <application
977
 
>gettext</application
978
 
>. You should be able to download it from any &GNU; mirror.</para>
979
 
</answer>
980
 
</qandaentry>
981
 
 
982
 
<qandaentry>
983
 
<question>
984
 
<para
985
 
>How do I uninstall &kde; applications compiled from source?</para>
986
 
</question>
987
 
<answer>
988
 
<para
989
 
>You can uninstall your programs by typing <command
990
 
>make uninstall</command
991
 
> in the folder where you did <command
992
 
>make install</command
993
 
>. If you have already deleted that folder, then there is only one way, and it is not good: go to <filename class="directory"
994
 
>$<envar
995
 
>KDEDIR</envar
996
 
>/bin</filename
997
 
> and start deleting files one by one.</para>
998
 
<para
999
 
>If you expect to find yourself in this situation, you might want to consider a program such as &GNU; <application
1000
 
>stow</application
1001
 
>, found at <ulink url="http://www.gnu.org/software/stow/stow.html"
1002
 
>http://www.gnu.org/software/stow/stow.html</ulink
1003
 
>.</para>
1004
 
</answer>
1005
 
</qandaentry>
1006
 
 
1007
 
<qandaentry>
1008
 
<question id="gif">
1009
 
<para
1010
 
>What is up with &GIF; support?</para>
1011
 
</question>
1012
 
<answer>
1013
 
<para
1014
 
>This has to do with issues with Unisys' &LZW; patent. &GIF; support is turned off from &Qt; 1.44 onwards by default. When you want to use &GIF;s and have the relevant license, recompile &Qt; with &GIF; support. <command
1015
 
>./configure <option
1016
 
>-gif</option
1017
 
></command
1018
 
>.</para>
1019
 
</answer>
1020
 
</qandaentry>
1021
 
 
1022
 
<qandaentry>
1023
 
<question>
1024
 
<para
1025
 
>How do I install &kde; themes?</para>
1026
 
</question>
1027
 
<answer>
1028
 
<para
1029
 
>Theme support in &kde; has been discontinued with this version. However, there are many opportunities to personalise and add eye candy to &kde; Look at, for example, <guilabel
1030
 
>Appearance &amp; Themes</guilabel
1031
 
> in &kcontrol;. </para>
1032
 
</answer>
1033
 
</qandaentry>
1034
 
</qandaset>
1035
 
</chapter>