Update for the KDE information in this chapter:
- Remove the line on KOffice, it's not recommendable for the general public at this time. - Remove outdated information on kdm. - Remove the subsection on anti-aliasing. It's outdated and aa has been enabled by default for some time now. PR: 94867 Submitted by: lofi
This commit is contained in:
parent
8bdb63e112
commit
2ec3a5cbae
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27443
1 changed files with 5 additions and 118 deletions
|
@ -1512,12 +1512,7 @@ DisplayManager.requestPort: 0</screen>
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para><application>KDE</application> has an office application
|
||||
suite based on <application>KDE</application>'s
|
||||
<quote>KParts</quote> technology consisting
|
||||
of a spread-sheet, a presentation application, an organizer, a
|
||||
news client and more. <application>KDE</application> also
|
||||
comes with a web browser called
|
||||
<para><application>KDE</application> comes with a web browser called
|
||||
<application>Konqueror</application>, which represents
|
||||
a solid competitor to other existing web browsers on &unix;
|
||||
systems. More information on <application>KDE</application>
|
||||
|
@ -1606,121 +1601,13 @@ DisplayManager.requestPort: 0</screen>
|
|||
<application>GNOME</application>, or something else) to run
|
||||
after logging on.</para>
|
||||
|
||||
<para>To begin with, run the <application>KDE</application>
|
||||
control panel, <command>kcontrol</command>, as
|
||||
<username>root</username>. It is generally considered
|
||||
unsafe to run the entire X environment as
|
||||
<username>root</username>. Instead, run the window manager
|
||||
as a normal user, open a terminal window (such as
|
||||
<filename>xterm</filename> or <application>KDE</application>'s
|
||||
<filename>konsole</filename>), become <username>root</username>
|
||||
with <userinput>su</userinput> (the user must be in the
|
||||
<groupname>wheel</groupname>
|
||||
group in <filename>/etc/group</filename> for this), and then
|
||||
type <userinput>kcontrol</userinput>.</para>
|
||||
<para>To enable <application>kdm</application>, the
|
||||
<literal>ttyv8</literal> entry in <filename>/etc/ttys</filename>
|
||||
has to be adapted. The line should look as follows:</para>
|
||||
|
||||
<para>Click on the icon on the left marked
|
||||
<guibutton>System</guibutton>, then on <guibutton>Login
|
||||
manager</guibutton>. On the right there are
|
||||
various configurable options, which the
|
||||
<application>KDE</application> manual will explain in greater
|
||||
detail. Click on <guibutton>sessions</guibutton> on the right.
|
||||
Click <guibutton>New type</guibutton> to add various window
|
||||
managers and desktop environments. These are just labels,
|
||||
so they can say <application>KDE</application> and
|
||||
<application>GNOME</application> rather than
|
||||
<application>startkde</application> or
|
||||
<application>gnome-session</application>.
|
||||
Include a label <literal>failsafe</literal>.</para>
|
||||
|
||||
<para>Play with the other menus as well, they are mainly
|
||||
cosmetic and self-explanatory. When you are done, click on
|
||||
<guibutton>Apply</guibutton> at the bottom, and quit the
|
||||
control center.</para>
|
||||
|
||||
<para>To make sure <application>kdm</application> understands
|
||||
what the labels (<application>KDE</application>,
|
||||
<application>GNOME</application> etc) mean, edit the files used
|
||||
by <link linkend="x-xdm">XDM</link>.
|
||||
<note><para>In <application>KDE 2.2</application> this has
|
||||
changed: <application>kdm</application> now uses its own
|
||||
configuration files. Please see the <application>KDE
|
||||
2.2</application> documentation for details.</para>
|
||||
</note>
|
||||
In a terminal window, as <username>root</username>,
|
||||
edit the file
|
||||
<filename>/usr/X11R6/lib/X11/xdm/Xsession</filename>. There is
|
||||
a section in the middle like this:</para>
|
||||
|
||||
<screen>case $# in
|
||||
1)
|
||||
case $1 in
|
||||
failsafe)
|
||||
exec xterm -geometry 80x24-0-0
|
||||
;;
|
||||
esac
|
||||
esac</screen>
|
||||
|
||||
<para>A few lines need to be added to this section.
|
||||
Assuming the labels from used were <quote>KDE</quote> and
|
||||
<quote>GNOME</quote>,
|
||||
use the following:</para>
|
||||
|
||||
<screen>case $# in
|
||||
1)
|
||||
case $1 in
|
||||
kde)
|
||||
exec /usr/local/bin/startkde
|
||||
;;
|
||||
GNOME)
|
||||
exec /usr/X11R6/bin/gnome-session
|
||||
;;
|
||||
failsafe)
|
||||
exec xterm -geometry 80x24-0-0
|
||||
;;
|
||||
esac
|
||||
esac</screen>
|
||||
|
||||
<para>For the <application>KDE</application>
|
||||
login-time desktop background to be honored,
|
||||
the following line needs to be added to
|
||||
<filename>/usr/X11R6/lib/X11/xdm/Xsetup_0</filename>:</para>
|
||||
|
||||
<screen>/usr/local/bin/krootimage</screen>
|
||||
|
||||
<para>Now, make sure <application>kdm</application> is listed in
|
||||
<filename>/etc/ttys</filename> to be started at the next bootup.
|
||||
To do this, simply follow the instructions from the previous
|
||||
section on <link linkend="x-xdm">XDM</link> and replace
|
||||
references to the <command>/usr/X11R6/bin/xdm</command>
|
||||
program with <command>/usr/local/bin/kdm</command>.</para>
|
||||
<programlisting>ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure</programlisting>
|
||||
</sect3>
|
||||
|
||||
<sect3 id="x11-wm-kde-antialias">
|
||||
<title>Anti-aliased Fonts</title>
|
||||
|
||||
<indexterm><primary>KDE</primary>
|
||||
<secondary>anti-aliased fonts</secondary></indexterm>
|
||||
<para>X11
|
||||
supports anti-aliasing via
|
||||
its <quote>RENDER</quote> extension, and starting with version 2.3,
|
||||
Qt (the toolkit used by <application>KDE</application>) supports
|
||||
this extension. Configuring this is described in <xref
|
||||
linkend="antialias"> on antialiasing X11 fonts. So, with
|
||||
up-to-date software, anti-aliasing is possible on a
|
||||
<application>KDE</application> desktop. Just go to the KDE
|
||||
menu, go to
|
||||
<menuchoice>
|
||||
<guimenu>Preferences</guimenu>
|
||||
<guisubmenu>Look and Feel</guisubmenu>
|
||||
<guimenuitem>Fonts</guimenuitem></menuchoice>, and click on the check box
|
||||
<guibutton>Use Anti-Aliasing for Fonts and Icons</guibutton>.
|
||||
For a Qt application which is not part of
|
||||
<application>KDE</application>, the environment variable
|
||||
<varname>QT_XFT</varname> needs to be set to <literal>true</literal>
|
||||
before starting the program.</para>
|
||||
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="x11-wm-xfce">
|
||||
|
|
Loading…
Reference in a new issue