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 |
|
---|
8 | <sect1 id="kde-core-config">
|
---|
9 | <?dbhtml filename="config.html"?>
|
---|
10 |
|
---|
11 |
|
---|
12 | <title>Configuring the Core Trinity/KDE3 Packages</title>
|
---|
13 |
|
---|
14 | <para>Back up your existing <filename>~/.xinitrc</filename> file
|
---|
15 | and create a new <filename>.xinitrc</filename> file to start
|
---|
16 | <application>Trinity/KDE3</application>:</para>
|
---|
17 |
|
---|
18 | <screen><userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
---|
19 |
|
---|
20 | <indexterm zone="kde-core-config">
|
---|
21 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
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
|
---|
27 | of your <application>Trinity/KDE3</application> session. If you wish to start the
|
---|
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 |
|
---|
38 | <para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
---|
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>
|
---|
43 |
|
---|
44 | <screen role="root"><userinput>update-desktop-database</userinput></screen>
|
---|
45 |
|
---|
46 | <para>Ensure all libraries can be found with (as
|
---|
47 | <systemitem class="username">root</systemitem>):</para>
|
---|
48 |
|
---|
49 | <screen role="root"><userinput>ldconfig</userinput></screen>
|
---|
50 |
|
---|
51 | <para>At this point you can bring up <application>Trinity/KDE3</application> with:</para>
|
---|
52 |
|
---|
53 | <screen><userinput>startx</userinput></screen>
|
---|
54 |
|
---|
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 |
|
---|
63 | <para>Now update the search path for dynamic libraries and update the cache.
|
---|
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 |
|
---|
84 | </sect1>
|
---|