1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/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 have <xref linkend="dbus"/> installed, you can start the
|
---|
29 | <application>D-BUS</application> session daemon here as well. Starting the
|
---|
30 | session daemon here has the added bonus that it will exit when you log out
|
---|
31 | of your <application>KDE</application> session. If you wish to start the
|
---|
32 | daemon here, use the following command instead of the one shown above:</para>
|
---|
33 |
|
---|
34 | <screen><userinput>echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc</userinput></screen>
|
---|
35 |
|
---|
36 | <note>
|
---|
37 | <para>Check the <filename>~/.xinitrc</filename> file and ensure you have
|
---|
38 | no other window managers or other <application>X</application> applications
|
---|
39 | mentioned before <application>KDE</application>.</para>
|
---|
40 | </note>
|
---|
41 |
|
---|
42 | <para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
---|
43 | ensure the <envar>XDG_DATA_DIRS</envar> and <envar>XDG_CONFIG_DIRS</envar>
|
---|
44 | environment variables are configured properly as explained in that package
|
---|
45 | and update the MIME-type application database (as <systemitem
|
---|
46 | class="username">root</systemitem>):</para>
|
---|
47 |
|
---|
48 | <screen role="root"><userinput>update-desktop-database</userinput></screen>
|
---|
49 |
|
---|
50 | <para>Ensure all libraries can be found with (as
|
---|
51 | <systemitem class="username">root</systemitem>):</para>
|
---|
52 |
|
---|
53 | <screen role="root"><userinput>ldconfig</userinput></screen>
|
---|
54 |
|
---|
55 | <para>At this point you can bring up <application>KDE</application> with:</para>
|
---|
56 |
|
---|
57 | <screen><userinput>startx</userinput></screen>
|
---|
58 |
|
---|
59 | </sect1>
|
---|