- Added a note for kde4 packages, sources and kdm
Submitted by: Andrew Fawcett (based on) Reviewed by: brueffer
This commit is contained in:
parent
ef62614b67
commit
b5cfec1d43
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32851
1 changed files with 32 additions and 4 deletions
|
@ -1459,6 +1459,11 @@ DisplayManager.requestPort: 0</screen>
|
|||
resources on <application>KDE</application>, consult
|
||||
the <ulink url="http://freebsd.kde.org/">KDE on FreeBSD
|
||||
team</ulink>'s website.</para>
|
||||
|
||||
<para>There are two versions of KDE available on FreeBSD. Version 3
|
||||
has been around for a long time, and is very mature. Version 4,
|
||||
the next generation, is also available in the Ports Collection.
|
||||
They can even be installed side by side.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 id="x11-wm-kde-install">
|
||||
|
@ -1468,26 +1473,43 @@ DisplayManager.requestPort: 0</screen>
|
|||
other desktop environment, the software can be easily installed
|
||||
from a package or the Ports Collection:</para>
|
||||
|
||||
<para>To install the <application>KDE</application> package
|
||||
<para>To install the <application>KDE3</application> package
|
||||
from the network, simply type:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_add -r kde</userinput></screen>
|
||||
|
||||
<para>To install the <application>KDE4</application> package
|
||||
from the network, simply type:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_add -r kde4</userinput></screen>
|
||||
|
||||
<para>&man.pkg.add.1; will automatically fetch the latest version
|
||||
of the application.</para>
|
||||
|
||||
<para>To build <application>KDE</application> from source,
|
||||
<para>To build <application>KDE3</application> from source,
|
||||
use the ports tree:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/x11/kde3</userinput>
|
||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
||||
|
||||
<para>To build <application>KDE4</application> from source,
|
||||
use the ports tree:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/x11/kde4</userinput>
|
||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
||||
|
||||
<para>After <application>KDE</application> has been installed,
|
||||
the X server must be told to launch this application
|
||||
instead of the default window manager. This is accomplished
|
||||
by editing the <filename>.xinitrc</filename> file:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
||||
<para>For KDE3:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "exec startkde" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>For KDE4:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "exec /usr/local/kde4/bin/startkde" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>Now, whenever the X Window System is invoked with
|
||||
<command>startx</command>,
|
||||
|
@ -1539,7 +1561,13 @@ DisplayManager.requestPort: 0</screen>
|
|||
<literal>ttyv8</literal> entry in <filename>/etc/ttys</filename>
|
||||
has to be adapted. The line should look as follows:</para>
|
||||
|
||||
<programlisting>ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure</programlisting>
|
||||
<para>For KDE3</para>
|
||||
|
||||
<programlisting>ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure</programlisting>
|
||||
|
||||
<para>For KDE4</para>
|
||||
|
||||
<programlisting>ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure</programlisting>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
|
Loading…
Reference in a new issue