diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.xml b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
index 790cd43003..d4ae7187d0 100644
--- a/en_US.ISO8859-1/books/handbook/x11/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
@@ -550,8 +550,8 @@ dbus_enable="YES"
~/.xsession when logging in through a
graphical login manager like XDM).
A third way is to use the new
- /usr/local/etc/fonts/local.conf file as demonstrated in
- .
+ /usr/local/etc/fonts/local.conf file as
+ demonstrated in .
@@ -661,8 +661,7 @@ dbus_enable="YES"
definition, and then the <fontconfig>
tag:
-
- <?xml version="1.0"?>
+ <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
@@ -783,8 +782,7 @@ dbus_enable="YES"
dramatic. To enable this, add the line somewhere in the
local.conf file:
-
- <match target="font">
+ <match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
@@ -818,48 +816,46 @@ dbus_enable="YES"
- X Display Manager
- &xorg; provides an X Display
- Manager, XDM, which can be used for
- login session management. XDM provides a graphical
- interface for choosing which display server to connect to
- and for entering authorization information such as a login and
- password combination.
+ X Display Manager
+ &xorg; provides an X Display
+ Manager, XDM, which can be used for
+ login session management. XDM
+ provides a graphical interface for choosing which display server
+ to connect to and for entering authorization information such as
+ a login and password combination.
- This section demonstrates how to configure the X Display
- Manager on &os;. Some desktop environments provide their own
- graphical login manager. Refer to for instructions on how to
- configure the GNOME Display Manager and for instructions on how to configure
- the KDE Display Manager.
+ This section demonstrates how to configure the X Display
+ Manager on &os;. Some desktop environments provide their own
+ graphical login manager. Refer to for instructions on how to configure
+ the GNOME Display Manager and for
+ instructions on how to configure the KDE Display Manager.Configuring XDMTo install XDM, use the
x11/xdm package or port. Once installed,
- XDM can be configured to run when the
- machine boots up by editing this
- entry in /etc/ttys:
+ XDM can be configured to run when
+ the machine boots up by editing this entry in
+ /etc/ttys:
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
- Change the off to
- on and save the edit. The
- ttyv8 in this entry indicates that
- XDM will run on the ninth
- virtual terminal.
+ Change the off to on
+ and save the edit. The ttyv8 in this entry
+ indicates that XDM will run on the
+ ninth virtual terminal.The XDM configuration directory
is located in /usr/local/lib/X11/xdm.
This directory contains several files used to change the
behavior and appearance of XDM, as
well as a few scripts and programs used to set up the desktop
- when XDM is running. summarizes the function of
- each of these files. The exact syntax and usage of these
- files is described in &man.xdm.1;.
+ when XDM is running. summarizes the function of each
+ of these files. The exact syntax and usage of these files is
+ described in &man.xdm.1;.
XDM Configuration Files
@@ -890,7 +886,7 @@ dbus_enable="YES"
XDM display chooser and
login screens. The default configuration is a simple
rectangular login window with the hostname of the
- machine displayed at the top in a large font and
+ machine displayed at the top in a large font and
Login: and Password:
prompts below. The format of this file is identical
to the app-defaults file described in the
@@ -955,13 +951,12 @@ dbus_enable="YES"
Configuring Remote AccessBy default, only users on the same system can login using
- XDM. To enable users on
- other systems to connect to the display
- server, edit the access control rules and enable
- the connection listener.
+ XDM. To enable users on other
+ systems to connect to the display server, edit the access
+ control rules and enable the connection listener.
- To configure XDM to
- listen for any remote connection, comment out the
+ To configure XDM to listen for
+ any remote connection, comment out the
DisplayManager.requestPort line in
/usr/local/lib/X11/xdm/xdm-config by
putting a ! in front of it:
@@ -971,9 +966,9 @@ dbus_enable="YES"
DisplayManager.requestPort: 0
Save the edits and restart XDM.
- To restrict remote access, look at the
- example entries in /usr/local/lib/X11/xdm/Xaccess and refer to
- &man.xdm.1; for further information.
+ To restrict remote access, look at the example entries in
+ /usr/local/lib/X11/xdm/Xaccess and refer
+ to &man.xdm.1; for further information.
@@ -993,9 +988,8 @@ DisplayManager.requestPort: 0
- This section describes how to install three popular
- desktop environments on a &os; system. A
- desktop environment can range
+ This section describes how to install three popular desktop
+ environments on a &os; system. A desktop environment can range
from a simple window manager to a complete suite of desktop
applications. Over a hundred desktop environments are
available in the x11-wm category of the
@@ -1004,79 +998,78 @@ DisplayManager.requestPort: 0
GNOME
- GNOME
- GNOME is a user-friendly
- desktop environment. It
- includes a panel for starting applications and displaying
- status, a desktop, a set of tools and applications,
- and a set of conventions that make it easy for applications
- to cooperate and be consistent with each other. More information
- regarding GNOME on &os; can be
- found at GNOME
+ GNOME is a user-friendly
+ desktop environment. It includes a panel for starting
+ applications and displaying status, a desktop, a set of tools
+ and applications, and a set of conventions that make it easy
+ for applications to cooperate and be consistent with each
+ other. More information regarding
+ GNOME on &os; can be found at http://www.FreeBSD.org/gnome.
- That web site contains additional documentation
- about installing, configuring, and
- managing GNOME on &os;.
+ That web site contains additional documentation about
+ installing, configuring, and managing
+ GNOME on &os;.
- This desktop environment can be installed from a package:
+ This desktop environment can be installed from a
+ package:
- &prompt.root; pkg install gnome2
+ &prompt.root; pkg install gnome2
- To instead build GNOME from
- ports, use the following command.
- GNOME is a large application
- and will take some time to compile, even on a fast
- computer.
+ To instead build GNOME from
+ ports, use the following command.
+ GNOME is a large application and
+ will take some time to compile, even on a fast
+ computer.
- &prompt.root; cd /usr/ports/x11/gnome2
+ &prompt.root; cd /usr/ports/x11/gnome2
&prompt.root; make install clean
- For proper operation, GNOME
- requires the /proc file system to be
- mounted. Add this line to /etc/fstab to mount
- this file system automatically during system
- startup:
+ For proper operation, GNOME
+ requires the /proc file system to be
+ mounted. Add this line to /etc/fstab to
+ mount this file system automatically during system
+ startup:
- proc /proc procfs rw 0 0
+ proc /proc procfs rw 0 0
- Once GNOME is installed,
- configure &xorg; to start
- GNOME. The easiest way to do this
- is to enable the GNOME Display Manager,
- GDM,
- which is installed as part
- of the GNOME package or port.
- It can be enabled by adding this
- line to /etc/rc.conf:
+ Once GNOME is installed,
+ configure &xorg; to start
+ GNOME. The easiest way to do this
+ is to enable the GNOME Display Manager,
+ GDM, which is installed as part of
+ the GNOME package or port. It can
+ be enabled by adding this line to
+ /etc/rc.conf:
- gdm_enable="YES"
+ gdm_enable="YES"
- It is often desirable to also start all
- GNOME services. To achieve this, add
- a second line to /etc/rc.conf:
+ It is often desirable to also start all
+ GNOME services. To achieve this,
+ add a second line to
+ /etc/rc.conf:
- gnome_enable="YES"
+ gnome_enable="YES"
- GDM
- will now start automatically when the system boots.
+ GDM will now start
+ automatically when the system boots.
- A second method for starting
- GNOME is to type startx
- from the command-line after configuring
- ~/.xinitrc. If this file already exists,
- replace the line that starts the current window manager with
- one that starts
- /usr/local/bin/gnome-session. If
- this file does not exist, create it with this command:
+ A second method for starting
+ GNOME is to type
+ startx from the command-line after
+ configuring ~/.xinitrc. If this file
+ already exists, replace the line that starts the current
+ window manager with one that starts
+ /usr/local/bin/gnome-session. If this
+ file does not exist, create it with this command:
- &prompt.user; echo "/usr/local/bin/gnome-session" > ~/.xinitrc
+ &prompt.user; echo "/usr/local/bin/gnome-session" > ~/.xinitrc
- A third method is to use
- XDM as the display manager. In this case,
- create an executable
- ~/.xsession:
+ A third method is to use XDM as
+ the display manager. In this case, create an executable
+ ~/.xsession:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
+ &prompt.user; echo "#!/bin/sh" > ~/.xsession
&prompt.user; echo "/usr/local/bin/gnome-session" >> ~/.xsession
&prompt.user; chmod +x ~/.xsession
@@ -1086,115 +1079,112 @@ DisplayManager.requestPort: 0
KDE
- KDE is another easy-to-use
- desktop environment. This desktop provides a suite of
- applications with a consistent look and feel, a standardized
- menu and toolbars, keybindings, color-schemes,
- internationalization, and a centralized, dialog-driven
- desktop configuration. More information on
- KDE can be found at
- http://www.kde.org/.
- For &os;-specific information, consult http://freebsd.kde.org.
+ KDE is another easy-to-use
+ desktop environment. This desktop provides a suite of
+ applications with a consistent look and feel, a standardized
+ menu and toolbars, keybindings, color-schemes,
+ internationalization, and a centralized, dialog-driven desktop
+ configuration. More information on
+ KDE can be found at http://www.kde.org/.
+ For &os;-specific information, consult http://freebsd.kde.org.
- To install the KDE package,
- type:
+ To install the KDE package,
+ type:
- &prompt.root; pkg install x11/kde4
+ &prompt.root; pkg install x11/kde4
- To instead build the KDE
- port, use the following command. Installing the port will
- provide a menu for selecting which components to
- install. KDE is a large application
- and will take some time to compile, even on a fast
- computer.
+ To instead build the KDE port,
+ use the following command. Installing the port will provide a
+ menu for selecting which components to install.
+ KDE is a large application and will
+ take some time to compile, even on a fast computer.
- &prompt.root; cd /usr/ports/x11/kde4
+ &prompt.root; cd /usr/ports/x11/kde4
&prompt.root; make install clean
-
- KDE
- display manager
-
+
+ KDE
+ display manager
+
- KDE requires the
- /proc file system to be mounted. Add
- this line to /etc/fstab to mount this
- file system automatically during system startup:
+ KDE requires the
+ /proc file system to be mounted. Add
+ this line to /etc/fstab to mount this
+ file system automatically during system startup:
- proc /proc procfs rw 0 0
+ proc /proc procfs rw 0 0
- The installation of KDE
- includes the KDE Display Manager,
- KDM. To enable this display
- manager, add this line to
- /etc/rc.conf:
+ The installation of KDE
+ includes the KDE Display Manager,
+ KDM. To enable this display
+ manager, add this line to
+ /etc/rc.conf:
- kdm4_enable="YES"
+ kdm4_enable="YES"
- A second method for launching
- KDE is to type
- startx from the command line. For this
- to work, the following line is needed in
- ~/.xinitrc:
+ A second method for launching
+ KDE is to type
+ startx from the command line. For this to
+ work, the following line is needed in
+ ~/.xinitrc:
- exec /usr/local/kde4/bin/startkde
+ exec /usr/local/kde4/bin/startkde
- A third method for starting
- KDE is through
- XDM. To do so, create an
- executable ~/.xsession as
- follows:
+ A third method for starting KDE
+ is through XDM. To do so, create
+ an executable ~/.xsession as
+ follows:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
+ &prompt.user; echo "#!/bin/sh" > ~/.xsession
&prompt.user; echo "/usr/local/kde4/bin/startkde" >> ~/.xsession
&prompt.user; chmod +x ~/.xsession
- Once KDE is started,
- refer to its built-in help system for more information on how
- to use its various menus and applications.
+ Once KDE is started, refer to
+ its built-in help system for more information on how to use
+ its various menus and applications.Xfce
- Xfce is a desktop environment
- based on the GTK+ toolkit used by
- GNOME. However, it is more
- lightweight and provides a simple, efficient, easy-to-use
- desktop. It is fully configurable, has a main panel with menus, applets, and
- application launchers, provides a file manager and sound manager,
- and is themeable. Since it is fast, light, and efficient,
- it is ideal for older or slower machines with memory
- limitations. More information on Xfce
- can be found at http://www.xfce.org.
+ Xfce is a desktop environment
+ based on the GTK+ toolkit used by
+ GNOME. However, it is more
+ lightweight and provides a simple, efficient, easy-to-use
+ desktop. It is fully configurable, has a main panel with
+ menus, applets, and application launchers, provides a file
+ manager and sound manager, and is themeable. Since it is
+ fast, light, and efficient, it is ideal for older or slower
+ machines with memory limitations. More information on
+ Xfce can be found at http://www.xfce.org.
- To install the Xfce package:
+ To install the Xfce
+ package:
- &prompt.root; pkg install xfce
+ &prompt.root; pkg install xfce
- Alternatively, to build the port:
+ Alternatively, to build the port:
- &prompt.root; cd /usr/ports/x11-wm/xfce4
+ &prompt.root; cd /usr/ports/x11-wm/xfce4
&prompt.root; make install clean
- Unlike GNOME or
- KDE,
- Xfce does not provide its own
- login manager. In order to start Xfce
- from the command line by typing startx,
- first add its entry to
- ~/.xinitrc:
+ Unlike GNOME or
+ KDE,
+ Xfce does not provide its own login
+ manager. In order to start Xfce
+ from the command line by typing startx,
+ first add its entry to ~/.xinitrc:
- &prompt.user; echo "/usr/local/bin/startxfce4" > ~/.xinitrc
+ &prompt.user; echo "/usr/local/bin/startxfce4" > ~/.xinitrc
- An alternate method is to use
- XDM. To configure this method,
- create an executable
- ~/.xsession:
+ An alternate method is to use
+ XDM. To configure this method,
+ create an executable ~/.xsession:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
+ &prompt.user; echo "#!/bin/sh" > ~/.xsession
&prompt.user; echo "/usr/local/bin/startxfce4" >> ~/.xsession
&prompt.user; chmod +x ~/.xsession