1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="kde-core-config">
|
---|
9 | <?dbhtml filename="config.html"?>
|
---|
10 |
|
---|
11 | <sect1info>
|
---|
12 | <othername>$LastChangedBy$</othername>
|
---|
13 | <date>$Date$</date>
|
---|
14 | </sect1info>
|
---|
15 |
|
---|
16 | <title>Configuring the Core KDE Packages</title>
|
---|
17 |
|
---|
18 | <para>Back up your existing <filename>~/.xinitrc</filename> file
|
---|
19 | and create a new <filename>.xinitrc</filename> file to start
|
---|
20 | <application>KDE</application>:</para>
|
---|
21 |
|
---|
22 | <screen><userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
---|
23 |
|
---|
24 | <indexterm zone="kde-core-config">
|
---|
25 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
---|
29 | ensure the <envar>XDG_DATA_DIRS</envar> and <envar>XDG_CONFIG_DIRS</envar>
|
---|
30 | environment variables are configured properly as explained in that package
|
---|
31 | and update the MIME-type application database (as <systemitem
|
---|
32 | class="username">root</systemitem>):</para>
|
---|
33 |
|
---|
34 | <screen role="root"><userinput>update-desktop-database</userinput></screen>
|
---|
35 |
|
---|
36 | <para>Ensure all libraries can be found with (as
|
---|
37 | <systemitem class="username">root</systemitem>):</para>
|
---|
38 |
|
---|
39 | <screen role="root"><userinput>ldconfig</userinput></screen>
|
---|
40 |
|
---|
41 | <!--
|
---|
42 | <note>
|
---|
43 |
|
---|
44 | <para>When starting a new version of <application>KDE</application> for the
|
---|
45 | first time, problems have been observed with the
|
---|
46 | <application>KDE</application> menu system when a user has established a
|
---|
47 | configuration with a previous version. To correct this, one technique that
|
---|
48 | works is to rename the existing home directory and create a new one with
|
---|
49 | <emphasis>only</emphasis> an <filename>~/.xinitrc</filename> file. You
|
---|
50 | should also delete the directories <filename
|
---|
51 | class='directory'>/tmp/kde-<replaceable><userid></replaceable></filename>,
|
---|
52 | <filename
|
---|
53 | class='directory'>/tmp/ksocket-<replaceable><userid></replaceable></filename>,
|
---|
54 | and <filename
|
---|
55 | class='directory'>/var/tmp/kdecache-<replaceable><userid></replaceable></filename>.
|
---|
56 | Then log out and log in again to ensure the new directory is in use. Now,
|
---|
57 | starting <application>KDE</application> will rebuild the menus.</para>
|
---|
58 |
|
---|
59 | <para>Move or copy any needed files from the old home directory to the
|
---|
60 | new one. Do not move or copy the old <application>KDE</application>
|
---|
61 | configuration files:
|
---|
62 | <filename class='directory'>.kde</filename>,
|
---|
63 | <filename>.kderc</filename>,
|
---|
64 | <filename class='directory'>.fonts.cache-1</filename>,
|
---|
65 | <filename class='directory'>.local</filename>,
|
---|
66 | <filename class='directory'>.qt</filename>,
|
---|
67 | <filename class='directory'>.mcop</filename>,
|
---|
68 | <filename>.DCOPserver*</filename>,
|
---|
69 | and <filename class='directory'>Desktop</filename>.</para>
|
---|
70 |
|
---|
71 | <para>This technique may need to be repeated after adding additional
|
---|
72 | optional packages.</para>
|
---|
73 | </note>
|
---|
74 | -->
|
---|
75 |
|
---|
76 | <para>At this point you can bring up <application>KDE</application> with:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>startx</userinput></screen>
|
---|
79 |
|
---|
80 | </sect1>
|
---|