[d275f967] | 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 |
|
---|
[c9df31a] | 8 | <sect1 id="kde-core-config" xreflabel="Starting KDE">
|
---|
[d275f967] | 9 | <?dbhtml filename="config.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info>
|
---|
| 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 14 | </sect1info>
|
---|
| 15 |
|
---|
[c9df31a] | 16 | <title>Starting KDE</title>
|
---|
[d275f967] | 17 |
|
---|
| 18 | <para>After <application>Kde-workspace</application> has been installed, the
|
---|
| 19 | first important milestone has been reached. Now you need to configure your
|
---|
[c9df31a] | 20 | system to start KDE.</para>
|
---|
[d275f967] | 21 |
|
---|
| 22 | <sect2 role="content">
|
---|
[c9df31a] | 23 | <title>Starting KDE from the command prompt</title>
|
---|
[d275f967] | 24 |
|
---|
[c9df31a] | 25 | <para>To start <application>KDE</application> from the command prompt, you
|
---|
[d275f967] | 26 | first need to modify your <filename>.xinitrc</filename> file:</para>
|
---|
| 27 |
|
---|
| 28 | <screen><userinput>cat > ~/.xinitrc <<EOF
|
---|
| 29 | # Begin .xinitrc
|
---|
| 30 |
|
---|
| 31 | exec ck-launch-session dbus-launch --exit-with-session startkde
|
---|
| 32 |
|
---|
| 33 | # End .xinitrc
|
---|
| 34 | EOF</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <note><para>If you are not using <application>ConsoleKit</application>, remove
|
---|
| 37 | <userinput>ck-launch-session</userinput>.</para></note>
|
---|
| 38 |
|
---|
[c9df31a] | 39 | <para>You can now start KDE using the <command>startx</command> command.</para>
|
---|
[d275f967] | 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="content">
|
---|
[c9df31a] | 44 | <title>Starting KDE at boot</title>
|
---|
[d275f967] | 45 |
|
---|
[c9df31a] | 46 | <para>KDE comes with a graphical login interface called KDM (the KDE Display
|
---|
[d275f967] | 47 | Manager). KDM provides a customizable graphical login at boot. To use KDM,
|
---|
| 48 | you need to edit your <filename>/etc/inittab</filename> file (as the
|
---|
| 49 | <systemitem class="username">root</systemitem> user).
|
---|
| 50 | First, setup run-level 5 to start KDM by adding the following line (adjust
|
---|
| 51 | the path to kdm according to your system):</para>
|
---|
| 52 |
|
---|
| 53 | <screen><userinput>kd:5:respawn:/opt/kde4/bin/kdm</userinput></screen>
|
---|
| 54 |
|
---|
| 55 | <para>Additionally, you need to change the default run-level from 3 to 5. This
|
---|
| 56 | is done by changing the line:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput>id:3:initdefault:</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <para>To:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput>id:5:initdefault:</userinput></screen>
|
---|
| 63 |
|
---|
[c9df31a] | 64 | <para>You can now restart your system and see the beautiful KDE login
|
---|
[d275f967] | 65 | screen.</para>
|
---|
| 66 |
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="content">
|
---|
[c9df31a] | 70 | <title>Installing further KDE packages</title>
|
---|
| 71 | <para>Every subsequent package can be built while having <application>KDE</application> up and
|
---|
[ad41452] | 72 | running, but remember to keep <envar>&kde-dir;</envar> and <envar>&qt-dir;</envar> set.</para>
|
---|
[d275f967] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | </sect1> |
---|