source: archive/kde/core/config.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 6 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 3.6 KB
Line 
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 <sect1info>
12 <date>$Date$</date>
13 </sect1info>
14
15 <title>Configuring the Core Trinity/KDE3 Packages</title>
16
17 <para>Back up your existing <filename>~/.xinitrc</filename> file
18 and create a new <filename>.xinitrc</filename> file to start
19 <application>Trinity/KDE3</application>:</para>
20
21<screen><userinput>echo "exec startkde" &gt; ~/.xinitrc</userinput></screen>
22
23 <indexterm zone="kde-core-config">
24 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
25 </indexterm>
26
27 <para>If you have <xref linkend="dbus"/> installed, you can start the
28 <application>D-BUS</application> session daemon here as well. Starting the
29 session daemon here has the added bonus that it will exit when you log out
30 of your <application>Trinity/KDE3</application> session. If you wish to start the
31 daemon here, use the following command instead of the one shown above:</para>
32
33<screen><userinput>echo "exec dbus-launch --exit-with-session startkde" &gt;&gt; ~/.xinitrc</userinput></screen>
34
35 <note>
36 <para>Check the <filename>~/.xinitrc</filename> file and ensure you have
37 no other window managers or other <application>X</application> applications
38 mentioned before <application>KDE</application>.</para>
39 </note>
40
41 <para>If you installed the <xref linkend="desktop-file-utils"/> package,
42 ensure the <envar>XDG_DATA_DIRS</envar> and <envar>XDG_CONFIG_DIRS</envar>
43 environment variables are configured properly as explained in that package
44 and update the MIME-type application database (as <systemitem
45 class="username">root</systemitem>):</para>
46
47<screen role="root"><userinput>update-desktop-database</userinput></screen>
48
49 <para>Ensure all libraries can be found with (as
50 <systemitem class="username">root</systemitem>):</para>
51
52<screen role="root"><userinput>ldconfig</userinput></screen>
53
54 <para>At this point you can bring up <application>Trinity/KDE3</application> with:</para>
55
56<screen><userinput>startx</userinput></screen>
57
58 <para>Set the PATHs used for the installation in the login startup
59 files. If you installed <application>Trinity/KDE3</application> in the
60 recommended versioned directory, /opt/trinity-&trinity-version;, create a
61 generic symbiolic link as the <systemitem class="username">root</systemitem>
62 user:</para>
63
64<screen role='root'><userinput>ln -sf trinity-&trinity-version; /opt/trinity</userinput></screen>
65
66 <para>Now update the search path for dynamic libraries and update the cache.
67 As the <systemitem class="username">root</systemitem> user:</para>
68
69<screen role='root'><userinput>echo "/opt/trinity/lib" &gt;&gt; /etc/ld.so.conf &amp;&amp;
70ldconfig</userinput></screen>
71
72 <para>Set the paths. Thee are several ways to do this. You can edit
73 <filename>/etc/profile</filename>, or <filename>~/.bash_/profile</filename>
74 to add the paths. If you used the recommended procedure in <xref
75 linkend='postlfs-config-profile'/>, run the following as the <systemitem
76 class="username">root</systemitem> user:</para>
77
78<screen role='root'><userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
79<literal>
80pathprepend /opt/trinity/bin PATH
81pathappend /opt/trinity/share/man MANPATH
82pathappend /opt/trinity/lib/pkgconfig PKG_CONFIG_PATH</literal>
83EOF</userinput></screen>
84
85 <para>To set the paths immediately, run <userinput>source /etc/profile</userinput>.</para>
86
87</sect1>
Note: See TracBrowser for help on using the repository browser.