White space fix only. Translators can ignore.

Sponsored by: iXsystems
This commit is contained in:
Dru Lavigne 2014-02-04 15:22:06 +00:00
parent 800e58036c
commit 791215cc9c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43761

View file

@ -38,13 +38,14 @@
<para>Users who prefer an installation method that automatically
configures the <application>&xorg;</application> and offers
a choice of window managers during installation should
refer to the <link xlink:href="http://www.pcbsd.org/">pcbsd.org</link>
refer to the <link
xlink:href="http://www.pcbsd.org/">pcbsd.org</link>
website.</para>
</note>
<para>For more information on the video hardware that
<application>&xorg;</application> supports, refer to the
<link xlink:href="http://www.x.org/">x.org</link> website.</para>
<application>&xorg;</application> supports, refer to the <link
xlink:href="http://www.x.org/">x.org</link> website.</para>
<para>After reading this chapter, you will know:</para>
@ -147,7 +148,8 @@
the title bars on each window should look like, whether
or not they have close buttons on them, and so on.
Instead, X delegates this responsibility to a separate
window manager application. There are <link xlink:href="http://xwinman.org/">dozens of window
window manager application. There are <link
xlink:href="http://xwinman.org/">dozens of window
managers</link> available. Each window manager
provides a different look and feel: some support virtual
desktops, some allow customized keystrokes to manage the
@ -235,16 +237,16 @@
<sect1 xml:id="x-install">
<title>Installing <application>&xorg;</application></title>
<para><application>&xorg;</application> is the
implementation of the open source X Window System
released by the X.Org Foundation. In &os;, it
can be installed as a package or port. The meta-port for the
complete distribution which includes X servers, clients,
libraries, and fonts is located in <package>x11/xorg</package>. A minimal distribution
is located in <package>x11/xorg-minimal</package>, with separate
ports available for docs, libraries, and apps.
The examples in this section install the complete
<application>&xorg;</application> distribution.</para>
<para><application>&xorg;</application> is the implementation of
the open source X Window System released by the X.Org
Foundation. In &os;, it can be installed as a package or port.
The meta-port for the complete distribution which includes X
servers, clients, libraries, and fonts is located in
<package>x11/xorg</package>. A minimal distribution is located
in <package>x11/xorg-minimal</package>, with separate ports
available for docs, libraries, and apps. The examples in this
section install the complete <application>&xorg;</application>
distribution.</para>
<para>To build and install <application>&xorg;</application>
from the Ports Collection:</para>
@ -381,9 +383,9 @@
<para><application>&xorg;</application> uses
<acronym>HAL</acronym> to autodetect keyboards and mice. The
<package>sysutils/hal</package> and
<package>devel/dbus</package> ports are
automatically installed as dependencies of <package>x11/xorg</package>, but must be enabled by
adding the following entries to
<package>devel/dbus</package> ports are automatically
installed as dependencies of <package>x11/xorg</package>, but
must be enabled by adding the following entries to
<filename>/etc/rc.conf</filename>:</para>
<programlisting>hald_enable="YES"
@ -463,7 +465,8 @@ dbus_enable="YES"</programlisting>
<programlisting>Option "DontZap" "off"</programlisting>
</note>
<para>If the test is unsuccessful, skip ahead to <xref linkend="x11-understanding"/>. Once the test is successful,
<para>If the test is unsuccessful, skip ahead to <xref
linkend="x11-understanding"/>. Once the test is successful,
copy the configuration file to
<filename>/etc/X11/xorg.conf</filename>:</para>
@ -506,16 +509,20 @@ dbus_enable="YES"</programlisting>
are several free, high quality Type1 (&postscript;) fonts
available which can be readily used with
<application>&xorg;</application>. For instance, the URW
font collection (<package>x11-fonts/urwfonts</package>) includes high
quality versions of standard type1 fonts (<trademark class="registered">Times Roman</trademark>, <trademark class="registered">Helvetica</trademark>, <trademark class="registered">Palatino</trademark> and others). The
Freefonts collection (<package>x11-fonts/freefonts</package>) includes
many more fonts, but most of them are intended for use in
graphics software such as the <application>Gimp</application>,
and are not complete enough to serve as screen fonts. In
addition, <application>&xorg;</application> can be configured
to use &truetype; fonts with a minimum of effort. For more
details on this, see the &man.X.7; manual page or the
<link linkend="truetype">section on &truetype;
font collection (<package>x11-fonts/urwfonts</package>)
includes high quality versions of standard type1 fonts
(<trademark class="registered">Times Roman</trademark>,
<trademark class="registered">Helvetica</trademark>,
<trademark class="registered">Palatino</trademark> and
others). The Freefonts collection
(<package>x11-fonts/freefonts</package>) includes many more
fonts, but most of them are intended for use in graphics
software such as the <application>Gimp</application>, and are
not complete enough to serve as screen fonts. In addition,
<application>&xorg;</application> can be configured to use
&truetype; fonts with a minimum of effort. For more details
on this, see the &man.X.7; manual page or the <link
linkend="truetype">section on &truetype;
fonts</link>.</para>
<para>To install the above Type1 font collections from the
@ -583,13 +590,15 @@ dbus_enable="YES"</programlisting>
<filename>fonts.dir</filename> file, so that the X font
renderer knows that these new files have been installed.
<command>ttmkfdir</command> is available from the FreeBSD
Ports Collection as <package>x11-fonts/ttmkfdir</package>.</para>
Ports Collection as
<package>x11-fonts/ttmkfdir</package>.</para>
<screen>&prompt.root; <userinput>cd /usr/local/lib/X11/fonts/TrueType</userinput>
&prompt.root; <userinput>ttmkfdir -o fonts.dir</userinput></screen>
<para>Now add the &truetype; directory to the font path. This
is just the same as described above for <link linkend="type1">Type1</link> fonts, that is, use</para>
is just the same as described above for <link
linkend="type1">Type1</link> fonts, that is, use</para>
<screen>&prompt.user; <userinput>xset fp+ /usr/local/lib/X11/fonts/TrueType</userinput>
&prompt.user; <userinput>xset fp rehash</userinput></screen>
@ -843,19 +852,20 @@ dbus_enable="YES"</programlisting>
<title>Using XDM</title>
<para>To start using <application>XDM</application>, install
the <package>x11/xdm</package> port (it is
not installed by default in recent versions of
the <package>x11/xdm</package> port (it is not installed by
default in recent versions of
<application>&xorg;</application>). The
<application>XDM</application> daemon program may then be
found in <filename>/usr/local/bin/xdm</filename>. This
program can be run at any time as <systemitem class="username">root</systemitem>
and it will start managing the X display on the local machine.
If <application>XDM</application> is to be run every time the
program can be run at any time as <systemitem
class="username">root</systemitem> and it will start
managing the X display on the local machine. If
<application>XDM</application> is to be run every time the
machine boots up, a convenient way to do this is by adding an
entry to <filename>/etc/ttys</filename>. For more information
about the format and usage of this file, see
<xref linkend="term-etcttys"/>. There is a line in the
default <filename>/etc/ttys</filename> file for running the
about the format and usage of this file, see <xref
linkend="term-etcttys"/>. There is a line in the default
<filename>/etc/ttys</filename> file for running the
<application>XDM</application> daemon on a virtual
terminal:</para>
@ -1100,8 +1110,8 @@ DisplayManager.requestPort: 0</screen>
home using the powerful graphics-driven environment that
<application>GNOME</application> provides. More information
regarding <application>GNOME</application> on FreeBSD can be
found on the
<link xlink:href="http://www.FreeBSD.org/gnome">FreeBSD GNOME
found on the <link
xlink:href="http://www.FreeBSD.org/gnome">FreeBSD GNOME
Project</link>'s web site. The web site also contains
fairly comprehensive FAQs about installing, configuring, and
managing <application>GNOME</application>.</para>
@ -1113,7 +1123,8 @@ DisplayManager.requestPort: 0</screen>
<para>The software can be easily installed from a package
or the Ports Collection:</para>
<para>To install the <application>GNOME</application> package, type:</para>
<para>To install the <application>GNOME</application> package,
type:</para>
<screen>&prompt.root; <userinput>pkg install gnome2</userinput></screen>
@ -1258,8 +1269,8 @@ DisplayManager.requestPort: 0</screen>
is a solid competitor to other existing web browsers on
&unix; systems. More information on
<application>KDE</application> can be found on the
<link xlink:href="http://www.kde.org/">KDE website</link>. For
FreeBSD specific information and resources on
<link xlink:href="http://www.kde.org/">KDE website</link>.
For FreeBSD specific information and resources on
<application>KDE</application>, consult the
<link xlink:href="http://freebsd.kde.org/">KDE/FreeBSD
initiative</link>'s website.</para>
@ -1272,7 +1283,8 @@ 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>KDE4</application> package, type:</para>
<para>To install the <application>KDE4</application> package,
type:</para>
<screen>&prompt.root; <userinput>pkg install kde4</userinput></screen>
@ -1402,7 +1414,8 @@ DisplayManager.requestPort: 0</screen>
</itemizedlist>
<para>More information on <application>Xfce</application>
can be found on the <link xlink:href="http://www.xfce.org/">Xfce website</link>.</para>
can be found on the <link
xlink:href="http://www.xfce.org/">Xfce website</link>.</para>
</sect3>
<sect3 xml:id="x11-wm-xfce-install">