[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[816fc57] | 8 | <sect1 id="kde-core-config">
|
---|
[cd3c303d] | 9 | <?dbhtml filename="config.html"?>
|
---|
[816fc57] | 10 |
|
---|
[cd3c303d] | 11 | <sect1info>
|
---|
| 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 14 | </sect1info>
|
---|
[0f7ddd7] | 15 |
|
---|
[cd3c303d] | 16 | <title>Configuring the Core KDE Packages</title>
|
---|
[0f7ddd7] | 17 |
|
---|
[00c8453] | 18 | <para>Back up your existing <filename>~/.xinitrc</filename> file
|
---|
| 19 | and create a new <filename>.xinitrc</filename> file to start
|
---|
[cd3c303d] | 20 | <application>KDE</application>:</para>
|
---|
[1986ade] | 21 |
|
---|
[cd3c303d] | 22 | <screen><userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
---|
[1986ade] | 23 |
|
---|
[cd3c303d] | 24 | <indexterm zone="kde-core-config">
|
---|
| 25 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 26 | </indexterm>
|
---|
[1986ade] | 27 |
|
---|
[00c8453] | 28 | <para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
---|
[51ee35b] | 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>
|
---|
[816fc57] | 33 |
|
---|
[cd3c303d] | 34 | <screen role="root"><userinput>update-desktop-database</userinput></screen>
|
---|
[1986ade] | 35 |
|
---|
[00c8453] | 36 | <para>Ensure all libraries can be found with (as
|
---|
[cd3c303d] | 37 | <systemitem class="username">root</systemitem>):</para>
|
---|
| 38 |
|
---|
| 39 | <screen role="root"><userinput>ldconfig</userinput></screen>
|
---|
| 40 |
|
---|
[51ee35b] | 41 | <!--
|
---|
[6473e74] | 42 | <note>
|
---|
| 43 |
|
---|
[90bd3c1b] | 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
|
---|
[a3ef34c2] | 51 | class='directory'>/tmp/kde-<replaceable><userid></replaceable></filename>,
|
---|
[90bd3c1b] | 52 | <filename
|
---|
[a3ef34c2] | 53 | class='directory'>/tmp/ksocket-<replaceable><userid></replaceable></filename>,
|
---|
[90bd3c1b] | 54 | and <filename
|
---|
[a3ef34c2] | 55 | class='directory'>/var/tmp/kdecache-<replaceable><userid></replaceable></filename>.
|
---|
[90bd3c1b] | 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>
|
---|
[6473e74] | 58 |
|
---|
| 59 | <para>Move or copy any needed files from the old home directory to the
|
---|
[90bd3c1b] | 60 | new one. Do not move or copy the old <application>KDE</application>
|
---|
[6473e74] | 61 | configuration files:
|
---|
[90bd3c1b] | 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>,
|
---|
[0d484ca] | 68 | <filename>.DCOPserver*</filename>,
|
---|
[90bd3c1b] | 69 | and <filename class='directory'>Desktop</filename>.</para>
|
---|
[6473e74] | 70 |
|
---|
| 71 | <para>This technique may need to be repeated after adding additional
|
---|
[90bd3c1b] | 72 | optional packages.</para>
|
---|
| 73 | </note>
|
---|
[51ee35b] | 74 | -->
|
---|
[90bd3c1b] | 75 |
|
---|
[cd3c303d] | 76 | <para>At this point you can bring up <application>KDE</application> with:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>startx</userinput></screen>
|
---|
[816fc57] | 79 |
|
---|
| 80 | </sect1>
|
---|