[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[816fc57] | 8 | <sect1 id="kde-core-config">
|
---|
[cd3c303d] | 9 | <?dbhtml filename="config.html"?>
|
---|
[816fc57] | 10 |
|
---|
[0f7ddd7] | 11 |
|
---|
[a8d5ef7] | 12 | <title>Configuring the Core Trinity/KDE3 Packages</title>
|
---|
[0f7ddd7] | 13 |
|
---|
[00c8453] | 14 | <para>Back up your existing <filename>~/.xinitrc</filename> file
|
---|
| 15 | and create a new <filename>.xinitrc</filename> file to start
|
---|
[a8d5ef7] | 16 | <application>Trinity/KDE3</application>:</para>
|
---|
[1986ade] | 17 |
|
---|
[cd3c303d] | 18 | <screen><userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
---|
[1986ade] | 19 |
|
---|
[cd3c303d] | 20 | <indexterm zone="kde-core-config">
|
---|
| 21 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 22 | </indexterm>
|
---|
[1986ade] | 23 |
|
---|
[d33b066] | 24 | <para>If you have <xref linkend="dbus"/> installed, you can start the
|
---|
| 25 | <application>D-BUS</application> session daemon here as well. Starting the
|
---|
| 26 | session daemon here has the added bonus that it will exit when you log out
|
---|
[a8d5ef7] | 27 | of your <application>Trinity/KDE3</application> session. If you wish to start the
|
---|
[d33b066] | 28 | daemon here, use the following command instead of the one shown above:</para>
|
---|
| 29 |
|
---|
| 30 | <screen><userinput>echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <note>
|
---|
| 33 | <para>Check the <filename>~/.xinitrc</filename> file and ensure you have
|
---|
| 34 | no other window managers or other <application>X</application> applications
|
---|
| 35 | mentioned before <application>KDE</application>.</para>
|
---|
| 36 | </note>
|
---|
| 37 |
|
---|
[00c8453] | 38 | <para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
---|
[51ee35b] | 39 | ensure the <envar>XDG_DATA_DIRS</envar> and <envar>XDG_CONFIG_DIRS</envar>
|
---|
| 40 | environment variables are configured properly as explained in that package
|
---|
| 41 | and update the MIME-type application database (as <systemitem
|
---|
| 42 | class="username">root</systemitem>):</para>
|
---|
[816fc57] | 43 |
|
---|
[cd3c303d] | 44 | <screen role="root"><userinput>update-desktop-database</userinput></screen>
|
---|
[1986ade] | 45 |
|
---|
[00c8453] | 46 | <para>Ensure all libraries can be found with (as
|
---|
[cd3c303d] | 47 | <systemitem class="username">root</systemitem>):</para>
|
---|
| 48 |
|
---|
| 49 | <screen role="root"><userinput>ldconfig</userinput></screen>
|
---|
| 50 |
|
---|
[a8d5ef7] | 51 | <para>At this point you can bring up <application>Trinity/KDE3</application> with:</para>
|
---|
[cd3c303d] | 52 |
|
---|
| 53 | <screen><userinput>startx</userinput></screen>
|
---|
[816fc57] | 54 |
|
---|
[a8d5ef7] | 55 | <para>Set the PATHs used for the installation in the login startup
|
---|
| 56 | files. If you installed <application>Trinity/KDE3</application> in the
|
---|
| 57 | recommended versioned directory, /opt/trinity-&trinity-version;, create a
|
---|
| 58 | generic symbiolic link as the <systemitem class="username">root</systemitem>
|
---|
| 59 | user:</para>
|
---|
| 60 |
|
---|
| 61 | <screen role='root'><userinput>ln -sf trinity-&trinity-version; /opt/trinity</userinput></screen>
|
---|
| 62 |
|
---|
[0d7900a] | 63 | <para>Now update the search path for dynamic libraries and update the cache.
|
---|
[a8d5ef7] | 64 | As the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 65 |
|
---|
| 66 | <screen role='root'><userinput>echo "/opt/trinity/lib" >> /etc/ld.so.conf &&
|
---|
| 67 | ldconfig</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | <para>Set the paths. Thee are several ways to do this. You can edit
|
---|
| 70 | <filename>/etc/profile</filename>, or <filename>~/.bash_/profile</filename>
|
---|
| 71 | to add the paths. If you used the recommended procedure in <xref
|
---|
| 72 | linkend='postlfs-config-profile'/>, run the following as the <systemitem
|
---|
| 73 | class="username">root</systemitem> user:</para>
|
---|
| 74 |
|
---|
| 75 | <screen role='root'><userinput>cat > /etc/profile.d/extrapaths.sh << "EOF"
|
---|
| 76 | <literal>
|
---|
| 77 | pathprepend /opt/trinity/bin PATH
|
---|
| 78 | pathappend /opt/trinity/share/man MANPATH
|
---|
| 79 | pathappend /opt/trinity/lib/pkgconfig PKG_CONFIG_PATH</literal>
|
---|
| 80 | EOF</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | <para>To set the paths immediately, run <userinput>source /etc/profile</userinput>.</para>
|
---|
| 83 |
|
---|
[816fc57] | 84 | </sect1>
|
---|