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