[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>
|
---|
[0d7900a] | 17 |
|
---|
[de1a0d9] | 18 | <bridgehead renderas="sect3">KDE Startup Dependencies</bridgehead>
|
---|
| 19 |
|
---|
| 20 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 21 | <para role="optional">
|
---|
[4e349b9] | 22 | <xref linkend="dbus"/> (runtime)
|
---|
[de1a0d9] | 23 | </para>
|
---|
| 24 |
|
---|
[0d7900a] | 25 | <para>After <application>Kde-workspace</application> has been installed, the
|
---|
| 26 | first important milestone has been reached. Now you need to configure your
|
---|
[c9df31a] | 27 | system to start KDE.</para>
|
---|
[0d7900a] | 28 |
|
---|
[d275f967] | 29 | <sect2 role="content">
|
---|
[c9df31a] | 30 | <title>Starting KDE from the command prompt</title>
|
---|
[d275f967] | 31 |
|
---|
[0d7900a] | 32 | <para>To start <application>KDE</application> from the command prompt, you
|
---|
[d275f967] | 33 | first need to modify your <filename>.xinitrc</filename> file:</para>
|
---|
[0d7900a] | 34 |
|
---|
[2a7334e8] | 35 | <screen><userinput>cat > ~/.xinitrc << EOF
|
---|
| 36 | <literal># Begin .xinitrc
|
---|
[d275f967] | 37 |
|
---|
[ebf2e95] | 38 | exec dbus-launch --exit-with-session startkde
|
---|
[d275f967] | 39 |
|
---|
[2a7334e8] | 40 | # End .xinitrc</literal>
|
---|
[d275f967] | 41 | EOF</userinput></screen>
|
---|
| 42 |
|
---|
[c9df31a] | 43 | <para>You can now start KDE using the <command>startx</command> command.</para>
|
---|
[0d7900a] | 44 |
|
---|
[d275f967] | 45 | </sect2>
|
---|
[0d7900a] | 46 |
|
---|
[d275f967] | 47 | <sect2 role="content">
|
---|
[c9df31a] | 48 | <title>Starting KDE at boot</title>
|
---|
[0d7900a] | 49 |
|
---|
| 50 | <para>KDE comes with a graphical login interface called KDM (the KDE Display
|
---|
[2a7334e8] | 51 | Manager), which provides a customizable graphical login at boot. To use KDM,
|
---|
[ebf2e95] | 52 | you need to install the systemd unit from the <xref linkend="bootscripts"/>
|
---|
| 53 | package by running the following command as the
|
---|
| 54 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 55 |
|
---|
| 56 | <screen role="root"><userinput>make install-kdm</userinput></screen>
|
---|
| 57 |
|
---|
| 58 | <note>
|
---|
| 59 | <para>
|
---|
| 60 | The systemd unit assumes that <command>kdm</command> is installed
|
---|
| 61 | in <filename class="directory">/usr/bin</filename>. If your &kde-dir;
|
---|
| 62 | is different than <filename class="directory">/usr</filename>,
|
---|
| 63 | create a symlink to get the systemd unit to work properly by
|
---|
| 64 | running the following command as the
|
---|
| 65 | <systemitem class="username">root</systemitem> user:
|
---|
| 66 |
|
---|
| 67 | <screen role="root"><userinput>ln -sfv &kde-dir;/bin/kdm /usr/bin/kdm</userinput></screen>
|
---|
| 68 | </para>
|
---|
| 69 | </note>
|
---|
[d275f967] | 70 |
|
---|
[2a7334e8] | 71 | <para>You can now restart your system and see the KDE login
|
---|
[d275f967] | 72 | screen.</para>
|
---|
[0d7900a] | 73 |
|
---|
[d275f967] | 74 | </sect2>
|
---|
[0d7900a] | 75 |
|
---|
[d275f967] | 76 | <sect2 role="content">
|
---|
[c9df31a] | 77 | <title>Installing further KDE packages</title>
|
---|
[0d7900a] | 78 | <para>Every subsequent package can be built while having <application>KDE</application> up and
|
---|
[7af92fe5] | 79 | running, but remember to keep <envar>&kde-dir;</envar> and <envar>&qt4-dir;</envar> set.</para>
|
---|
[d275f967] | 80 | </sect2>
|
---|
[0d7900a] | 81 |
|
---|
[de1a0d9] | 82 | </sect1>
|
---|