[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 |
|
---|
[8e6f4f8] | 8 | <sect1 id="kde-core-config" xreflabel="Starting KDE4">
|
---|
[d275f967] | 9 | <?dbhtml filename="config.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info>
|
---|
| 12 | <date>$Date$</date>
|
---|
| 13 | </sect1info>
|
---|
| 14 |
|
---|
[8e6f4f8] | 15 | <title>Starting KDE4</title>
|
---|
[0d7900a] | 16 |
|
---|
[8e6f4f8] | 17 | <bridgehead renderas="sect3">KDE4 Startup Dependencies</bridgehead>
|
---|
[de1a0d9] | 18 |
|
---|
[d09eb9b] | 19 | <bridgehead renderas="sect4">Recommended Runtime Dependencies</bridgehead>
|
---|
| 20 | <para role="recommended">
|
---|
| 21 | <xref linkend="consolekit"/> and
|
---|
| 22 | <xref linkend="dbus"/>
|
---|
[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
|
---|
[8e6f4f8] | 27 | system to start KDE4.</para>
|
---|
[0d7900a] | 28 |
|
---|
[d275f967] | 29 | <sect2 role="content">
|
---|
[8e6f4f8] | 30 | <title>Starting KDE4 from the command prompt</title>
|
---|
[d275f967] | 31 |
|
---|
[eca7a58] | 32 | <para>
|
---|
| 33 | You can start <application>KDE4</application> from runlevel 3, using
|
---|
| 34 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
| 35 | such as <xref linkend="sddm"/>.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
| 38 | <para>
|
---|
| 39 | To start <application>KDE4</application> using <xref linkend="xinit"/>,
|
---|
| 40 | run the following commands:
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
| 44 | <literal>ck-launch-session dbus-launch --exit-with-session startkde</literal>
|
---|
| 45 | EOF
|
---|
| 46 |
|
---|
| 47 | startx</userinput></screen>
|
---|
| 48 |
|
---|
| 49 | <para>
|
---|
| 50 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 51 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 52 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 53 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 54 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 55 | <command>startx</command> was executed will display many messages,
|
---|
| 56 | including X starting messages, applications automatically started with
|
---|
| 57 | the session, and eventually, some warning and error messages. You may
|
---|
| 58 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 59 | the initial vt uncluttered, but can also be used for debug purposes. This
|
---|
| 60 | can be done starting X with:
|
---|
[eca7a58] | 61 | </para>
|
---|
| 62 |
|
---|
| 63 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
| 64 |
|
---|
[d09eb9b] | 65 | <note>
|
---|
| 66 | <para>
|
---|
| 67 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
[1bac25ed] | 68 | startkde in ~/.xinitrc. However some capabilities such as mounting or
|
---|
| 69 | umounting file systems from a file manager will not be possible, or the
|
---|
| 70 | reboot option will be absent or inoperative, among other problems.
|
---|
[d09eb9b] | 71 | </para>
|
---|
| 72 | </note>
|
---|
[eca7a58] | 73 |
|
---|
| 74 | <para>
|
---|
[1bac25ed] | 75 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 76 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 77 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
[eca7a58] | 78 | </para>
|
---|
[0d7900a] | 79 |
|
---|
[d09eb9b] | 80 | </sect2>
|
---|
[0d7900a] | 81 |
|
---|
[d275f967] | 82 | <sect2 role="content">
|
---|
[8e6f4f8] | 83 | <title>Starting KDE4 at boot</title>
|
---|
[0d7900a] | 84 |
|
---|
[8e6f4f8] | 85 | <para>KDE4 comes with a graphical login interface called KDM (the KDE4 Display
|
---|
[2a7334e8] | 86 | Manager), which provides a customizable graphical login at boot. To use KDM,
|
---|
[0d7900a] | 87 | you need to edit your <filename>/etc/inittab</filename> file (as the
|
---|
[d275f967] | 88 | <systemitem class="username">root</systemitem> user).
|
---|
[2a7334e8] | 89 | First, setup run-level 5 to start KDM (adjust
|
---|
[d275f967] | 90 | the path to kdm according to your system):</para>
|
---|
[0d7900a] | 91 |
|
---|
[2a7334e8] | 92 | <screen><userinput>cat >> /etc/inittab << EOF
|
---|
| 93 | <literal>kd:5:respawn:/opt/kde/bin/kdm</literal>
|
---|
| 94 | EOF</userinput></screen>
|
---|
[d275f967] | 95 |
|
---|
[2a7334e8] | 96 | <para>Additionally, you need to change the default run-level from 3 to 5:</para>
|
---|
[d275f967] | 97 |
|
---|
[2a7334e8] | 98 | <screen><userinput>sed -i 's#id:3:initdefault:#id:5:initdefault:#' /etc/inittab</userinput></screen>
|
---|
[d275f967] | 99 |
|
---|
[8e6f4f8] | 100 | <para>You can now restart your system and see the KDE4 login
|
---|
[d275f967] | 101 | screen.</para>
|
---|
[0d7900a] | 102 |
|
---|
[d275f967] | 103 | </sect2>
|
---|
[0d7900a] | 104 |
|
---|
[3e5e86a] | 105 | <sect2 role="content">
|
---|
| 106 | <title>Installing further languages (l10n)</title>
|
---|
| 107 |
|
---|
| 108 | <para>You may want to install support for your locale language. The l10n
|
---|
[131b1b7] | 109 | packages can be found at <ulink
|
---|
[5a87e66d] | 110 | url="&kde-download-http;applications/&kde-apps-version;/src/kde-l10n/">
|
---|
| 111 | &kde-download-http;applications/&kde-apps-version;/src/kde-l10n/</ulink>.
|
---|
[3e5e86a] | 112 | See <xref linkend="kde-add-pkgs"/> for build instructions. If you are in a
|
---|
[8e6f4f8] | 113 | KDE4 session when installing a new language and configure KDE4 to use it, the
|
---|
[3e5e86a] | 114 | session needs to be restarted, in order to see the effects.</para>
|
---|
[131b1b7] | 115 |
|
---|
[3e5e86a] | 116 | </sect2>
|
---|
| 117 |
|
---|
[d275f967] | 118 | <sect2 role="content">
|
---|
[8e6f4f8] | 119 | <title>Installing further KDE4 packages</title>
|
---|
[3e5e86a] | 120 |
|
---|
| 121 | <para>Every subsequent package can be built while having
|
---|
[8e6f4f8] | 122 | <application>KDE4</application> up and running, but remember to keep
|
---|
[3e5e86a] | 123 | <envar>&kde-dir;</envar> and <envar>&qt4-dir;</envar> set.</para>
|
---|
| 124 |
|
---|
[d275f967] | 125 | </sect2>
|
---|
[0d7900a] | 126 |
|
---|
[de1a0d9] | 127 | </sect1>
|
---|