source: archive/kde/core/config.xml@ 45f56ac

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 45f56ac was 0d7900a, checked in by Randy McMurchy <randy@…>, 9 years ago

Removed extraneous spaces from blank lines and at the end of lines in the .xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11015 af4574ff-66df-0310-9fd7-8a98e5e911e0

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