mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
6732c09460
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0
60 lines
2.2 KiB
XML
60 lines
2.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
]>
|
|
|
|
<sect1 id="kde-core-config">
|
|
<?dbhtml filename="config.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Configuring the Core KDE Packages</title>
|
|
|
|
<para>Back up your existing <filename>~/.xinitrc</filename> file
|
|
and create a new <filename>.xinitrc</filename> file to start
|
|
<application>KDE</application>:</para>
|
|
|
|
<screen><userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
|
|
|
<indexterm zone="kde-core-config">
|
|
<primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
|
</indexterm>
|
|
|
|
<para>If you have <xref linkend="dbus"/> installed, you can start the
|
|
<application>D-BUS</application> session daemon here as well. Starting the
|
|
session daemon here has the added bonus that it will exit when you log out
|
|
of your <application>KDE</application> session. If you wish to start the
|
|
daemon here, use the following command instead of the one shown above:</para>
|
|
|
|
<screen><userinput>echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc</userinput></screen>
|
|
|
|
<note>
|
|
<para>Check the <filename>~/.xinitrc</filename> file and ensure you have
|
|
no other window managers or other <application>X</application> applications
|
|
mentioned before <application>KDE</application>.</para>
|
|
</note>
|
|
|
|
<para>If you installed the <xref linkend="desktop-file-utils"/> package,
|
|
ensure the <envar>XDG_DATA_DIRS</envar> and <envar>XDG_CONFIG_DIRS</envar>
|
|
environment variables are configured properly as explained in that package
|
|
and update the MIME-type application database (as <systemitem
|
|
class="username">root</systemitem>):</para>
|
|
|
|
<screen role="root"><userinput>update-desktop-database</userinput></screen>
|
|
|
|
<para>Ensure all libraries can be found with (as
|
|
<systemitem class="username">root</systemitem>):</para>
|
|
|
|
<screen role="root"><userinput>ldconfig</userinput></screen>
|
|
|
|
<para>At this point you can bring up <application>KDE</application> with:</para>
|
|
|
|
<screen><userinput>startx</userinput></screen>
|
|
|
|
</sect1>
|