Author: pierre
Date: Tue May 9 01:59:52 2017
New Revision: 18705
Log:
More formatting of the Xorg config page. Only one text change:
"/GB" removed...
Modified:
trunk/BOOK/x/installing/xorg-config.xml
Modified: trunk/BOOK/x/installing/xorg-config.xml
==============================================================================
--- trunk/BOOK/x/installing/xorg-config.xml Mon May 8 14:52:59 2017
(r18704)
+++ trunk/BOOK/x/installing/xorg-config.xml Tue May 9 01:59:52 2017
(r18705)
@@ -19,38 +19,51 @@
<primary sortas="g-configuring-xorg">Configuring Xorg</primary>
</indexterm>
- <sect2 id='X11-testing' xreflabel="Testing Xorg">
+ <sect2 id='X11-testing' xreflabel="Testing Xorg">
<title>Testing Xorg</title>
- <note><para>Before starting Xorg for the first time, is is useful to
- rebuild the library cache by running <userinput>ldconfig</userinput>
- as the <systemitem class="username">root</systemitem> user.</para></note>
-
- <para>To test the <application>Xorg</application> installation, issue
- <userinput>startx</userinput>. This command brings up a rudimentary window
- manager called <emphasis>twm</emphasis> with three xterm windows and one
- xclock window. The xterm window in the upper left is a login terminal and
- running <emphasis>exit</emphasis> from this terminal will exit the
- <application>X Window</application> session. The third xterm window may be
- obscured on your system by the other two xterms.</para>
-
- <note><para>When testing <application>Xorg</application> with the
- <application>twm</application> window manager, there will be several
- warnings in the Xorg log file, <filename revision="sysv">
- /var/log/Xorg.0.log</filename><filename revision="systemd">
- $HOME/.local/share/xorg/Xorg.0.log</filename>,
- about missing font files. In addition, there will be several warnings on
- the text mode terminal (usually tty1) about missing fonts. These warnings
- do not affect functionality, but can be removed if desired by installing
- the <xref linkend="xorg7-legacy"/>.</para></note>
-
- <para>Generally, there is no specific configuration required for
- <application>Xorg</application>, but customization is possible. For
details
- see <xref linkend='xconfig'/> below.</para>
+ <note>
+ <para>
+ Before starting Xorg for the first time, is is useful to
+ rebuild the library cache by running <userinput>ldconfig</userinput>
+ as the <systemitem class="username">root</systemitem> user.
+ </para>
+ </note>
+
+ <para>
+ To test the <application>Xorg</application> installation, issue
+ <command>startx</command>. This command brings up a rudimentary window
+ manager called <emphasis>twm</emphasis> with three xterm windows and one
+ xclock window. The xterm window in the upper left is a login terminal
and
+ running <emphasis>exit</emphasis> from this terminal will exit the
+ <application>X Window</application> session. The third xterm window may
+ be obscured on your system by the other two xterms.
+ </para>
+
+ <note>
+ <para>
+ When testing <application>Xorg</application> with the
+ <application>twm</application> window manager, there will be several
+ warnings in the Xorg log file, <filename revision="sysv">
+ /var/log/Xorg.0.log</filename><filename revision="systemd">
+ $HOME/.local/share/xorg/Xorg.0.log</filename>, about missing font
+ files. In addition, there will be several warnings on the text mode
+ terminal (usually tty1) about missing fonts. These warnings do not
+ affect functionality, but can be removed if desired by installing
+ the <xref linkend="xorg7-legacy"/>.
+ </para>
+ </note>
- </sect2>
+ <para>
+ Generally, there is no specific configuration required for
+ <application>Xorg</application>, but customization is possible. For
+ details, see <xref linkend='xconfig'/> below.
+ </para>
+
+ </sect2>
- <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI
installation">
+ <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI
+ installation">
<title>Checking the Direct Rendering Infrastructure (DRI)
Installation</title>
@@ -163,10 +176,9 @@
be approximately the same as the monitor refresh rate.
</para>
- </sect2>
+ </sect2>
- <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid
- Graphics">
+ <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid Graphics">
<title>Hybrid Graphics</title>
<para>
@@ -199,24 +211,30 @@
<envar>DRI_PRIME=1</envar>, you will need to check your installation.
</para>
- </sect2>
+ </sect2>
<sect2 role="configuration" id='xconfig'>
<title>Setting up Xorg Devices</title>
- <para>For most hardware configurations, modern Xorg will automatically
- get the server configuration correct without any user intervention. There
- are, however, some cases where auto-configuration will be incorrect.
- Following are some example manual configuration items that may be of use in
- these instances.</para>
+ <para>
+ For most hardware configurations, modern Xorg will automatically
+ get the server configuration correct without any user intervention. There
+ are, however, some cases where auto-configuration will be incorrect.
+ Following are some example manual configuration items that may be of use
+ in these instances.
+ </para>
<sect3 id="xinput">
- <title>Setting up X Input Devices</title>
- <para>For most input devices, no additional configuration will be
- necessary. This section is provided for informational purposes only.</para>
+ <title>Setting up X Input Devices</title>
+ <para>
+ For most input devices, no additional configuration will be
+ necessary. This section is provided for informational purposes only.
+ </para>
- <para>A sample default XKB setup could look like the following (executed as
- the <systemitem class="username">root</systemitem> user):</para>
+ <para>
+ A sample default XKB setup could look like the following (executed as
+ the <systemitem class="username">root</systemitem> user):
+ </para>
<screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/xkb-defaults.conf
<< "EOF"
Section "InputClass"
@@ -227,22 +245,24 @@
EndSection
EOF</userinput></screen>
- <para>
- The <quote>XkbLayout</quote> line is an example for a French (AZERTY)
- keyboard. Change it to your keyboard model. That line is not needed for
- a QWERTY (US/GB) keyboard.
- </para>
- </sect3>
+ <para>
+ The <quote>XkbLayout</quote> line is an example for a French (AZERTY)
+ keyboard. Change it to your keyboard model. That line is not needed for
+ a QWERTY (US) keyboard.
+ </para>
+ </sect3>
- <sect3 id="xdisplay">
- <title>Fine Tuning Display Settings</title>
+ <sect3 id="xdisplay">
+ <title>Fine Tuning Display Settings</title>
- <para>Again, with modern Xorg, little or no additional configuration is
- necessary. If you should need extra options passed to your video driver,
- for instance, you could use something like the following (again, executed as
- the <systemitem class="username">root</systemitem> user):</para>
+ <para>
+ Again, with modern Xorg, little or no additional configuration is
+ necessary. If you should need extra options passed to your video
driver,
+ for instance, you could use something like the following (again,
+ executed as the <systemitem class="username">root</systemitem> user):
+ </para>
-<screen><userinput role="root">cat > /etc/X11/xorg.conf.d/videocard-0.conf
<< "EOF"
+<screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/videocard-0.conf
<< "EOF"
Section "Device"
Identifier "Videocard0"
Driver "radeon"
@@ -252,11 +272,13 @@
EndSection
EOF</userinput></screen>
- <para>Another common setup is having multiple server layouts for use in
- different environments. Though the server will automatically detect the
- presence of another monitor, it may get the order incorrect:</para>
+ <para>
+ Another common setup is having multiple server layouts for use in
+ different environments. Though the server will automatically detect the
+ presence of another monitor, it may get the order incorrect:
+ </para>
-<screen><userinput role="root">cat >
/etc/X11/xorg.conf.d/server-layout.conf << "EOF"
+<screen role="root"><userinput>cat >
/etc/X11/xorg.conf.d/server-layout.conf << "EOF"
Section "ServerLayout"
Identifier "DefaultLayout"
Screen 0 "Screen0" 0 0
@@ -265,6 +287,6 @@
EndSection
EOF</userinput></screen>
- </sect3>
+ </sect3>
</sect2>
</sect1>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page