Ignore:
Timestamp:
05/09/2017 08:59:52 AM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
714eef7a
Parents:
6da5593
Message:

More formatting of the Xorg config page. Only one text change:
"/GB" removed...

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18705 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xorg-config.xml

    r6da5593 rda4b5e0  
    2020  </indexterm>
    2121
    22     <sect2 id='X11-testing' xreflabel="Testing Xorg">
     22  <sect2 id='X11-testing' xreflabel="Testing Xorg">
    2323    <title>Testing Xorg</title>
    2424
    25     <note><para>Before starting Xorg for the first time, is is useful to
    26     rebuild the library cache by running <userinput>ldconfig</userinput>
    27     as the <systemitem class="username">root</systemitem> user.</para></note>
    28 
    29     <para>To test the <application>Xorg</application> installation, issue
    30     <userinput>startx</userinput>.  This command brings up a rudimentary window
    31     manager called <emphasis>twm</emphasis> with three xterm windows and one
    32     xclock window.  The xterm window in the upper left is a login terminal and
    33     running <emphasis>exit</emphasis> from this terminal will exit the
    34     <application>X Window</application> session.  The third xterm window may be
    35     obscured on your system by the other two xterms.</para>
    36 
    37     <note><para>When testing <application>Xorg</application> with the
    38     <application>twm</application> window manager, there will be several
    39     warnings in the Xorg log file, <filename revision="sysv">
    40     /var/log/Xorg.0.log</filename><filename revision="systemd">
    41     $HOME/.local/share/xorg/Xorg.0.log</filename>,
    42     about missing font files.  In addition, there will be several warnings on
    43     the text mode terminal (usually tty1) about missing fonts.  These warnings
    44     do not affect functionality, but can be removed if desired by installing
    45     the <xref linkend="xorg7-legacy"/>.</para></note>
    46 
    47     <para>Generally, there is no specific configuration required for
    48     <application>Xorg</application>, but customization is possible.  For details
    49     see <xref linkend='xconfig'/> below.</para>
    50 
    51     </sect2>
    52 
    53     <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI installation">
     25    <note>
     26      <para>
     27        Before starting Xorg for the first time, is is useful to
     28        rebuild the library cache by running <userinput>ldconfig</userinput>
     29        as the <systemitem class="username">root</systemitem> user.
     30      </para>
     31    </note>
     32
     33    <para>
     34      To test the <application>Xorg</application> installation, issue
     35      <command>startx</command>. This command brings up a rudimentary window
     36      manager called <emphasis>twm</emphasis> with three xterm windows and one
     37      xclock window.  The xterm window in the upper left is a login terminal and
     38      running <emphasis>exit</emphasis> from this terminal will exit the
     39      <application>X Window</application> session.  The third xterm window may
     40      be obscured on your system by the other two xterms.
     41    </para>
     42
     43    <note>
     44      <para>
     45        When testing <application>Xorg</application> with the
     46        <application>twm</application> window manager, there will be several
     47        warnings in the Xorg log file, <filename revision="sysv">
     48        /var/log/Xorg.0.log</filename><filename revision="systemd">
     49        $HOME/.local/share/xorg/Xorg.0.log</filename>, about missing font
     50        files. In addition, there will be several warnings on the text mode
     51        terminal (usually tty1) about missing fonts. These warnings do not
     52        affect functionality, but can be removed if desired by installing
     53        the <xref linkend="xorg7-legacy"/>.
     54      </para>
     55    </note>
     56
     57    <para>
     58      Generally, there is no specific configuration required for
     59      <application>Xorg</application>, but customization is possible. For
     60      details, see <xref linkend='xconfig'/> below.
     61    </para>
     62
     63  </sect2>
     64
     65  <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI
     66  installation">
    5467    <title>Checking the Direct Rendering Infrastructure (DRI)
    5568    Installation</title>
     
    164177    </para>
    165178
    166     </sect2>
    167 
    168     <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid
    169     Graphics">
     179  </sect2>
     180
     181  <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid Graphics">
    170182    <title>Hybrid Graphics</title>
    171183
     
    200212    </para>
    201213
    202     </sect2>
     214  </sect2>
    203215
    204216  <sect2 role="configuration" id='xconfig'>
    205217    <title>Setting up Xorg Devices</title>
    206218
    207     <para>For most hardware configurations, modern Xorg will automatically
    208     get the server configuration correct without any user intervention. There
    209     are, however, some cases where auto-configuration will be incorrect.
    210     Following are some example manual configuration items that may be of use in
    211     these instances.</para>
     219    <para>
     220      For most hardware configurations, modern Xorg will automatically
     221      get the server configuration correct without any user intervention. There
     222      are, however, some cases where auto-configuration will be incorrect.
     223      Following are some example manual configuration items that may be of use
     224      in these instances.
     225    </para>
    212226
    213227    <sect3 id="xinput">
    214     <title>Setting up X Input Devices</title>
    215     <para>For most input devices, no additional configuration will be
    216     necessary. This section is provided for informational purposes only.</para>
    217 
    218     <para>A sample default XKB setup could look like the following (executed as
    219     the <systemitem class="username">root</systemitem> user):</para>
     228      <title>Setting up X Input Devices</title>
     229      <para>
     230        For most input devices, no additional configuration will be
     231        necessary. This section is provided for informational purposes only.
     232      </para>
     233
     234      <para>
     235        A sample default XKB setup could look like the following (executed as
     236        the <systemitem class="username">root</systemitem> user):
     237      </para>
    220238
    221239<screen role="root"><userinput>cat &gt; /etc/X11/xorg.conf.d/xkb-defaults.conf &lt;&lt; "EOF"
     
    228246EOF</userinput></screen>
    229247
    230     <para>
    231       The <quote>XkbLayout</quote> line is an example for a French (AZERTY)
    232       keyboard. Change it to your keyboard model. That line is not needed for
    233       a QWERTY (US/GB) keyboard.
    234     </para>
    235   </sect3>
    236 
    237   <sect3 id="xdisplay">
    238   <title>Fine Tuning Display Settings</title>
    239 
    240   <para>Again, with modern Xorg, little or no additional configuration is
    241   necessary. If you should need extra options passed to your video driver,
    242   for instance, you could use something like the following (again, executed as
    243   the <systemitem class="username">root</systemitem> user):</para>
    244 
    245 <screen><userinput role="root">cat &gt; /etc/X11/xorg.conf.d/videocard-0.conf &lt;&lt; "EOF"
     248      <para>
     249        The <quote>XkbLayout</quote> line is an example for a French (AZERTY)
     250        keyboard. Change it to your keyboard model. That line is not needed for
     251        a QWERTY (US) keyboard.
     252      </para>
     253    </sect3>
     254
     255    <sect3 id="xdisplay">
     256      <title>Fine Tuning Display Settings</title>
     257
     258      <para>
     259        Again, with modern Xorg, little or no additional configuration is
     260        necessary. If you should need extra options passed to your video driver,
     261        for instance, you could use something like the following (again,
     262        executed as the <systemitem class="username">root</systemitem> user):
     263      </para>
     264
     265<screen role="root"><userinput>cat &gt; /etc/X11/xorg.conf.d/videocard-0.conf &lt;&lt; "EOF"
    246266Section "Device"
    247267    Identifier  "Videocard0"
     
    253273EOF</userinput></screen>
    254274
    255   <para>Another common setup is having multiple server layouts for use in
    256   different environments. Though the server will automatically detect the
    257   presence of another monitor, it may get the order incorrect:</para>
    258 
    259 <screen><userinput role="root">cat &gt; /etc/X11/xorg.conf.d/server-layout.conf &lt;&lt; "EOF"
     275      <para>
     276        Another common setup is having multiple server layouts for use in
     277        different environments. Though the server will automatically detect the
     278        presence of another monitor, it may get the order incorrect:
     279      </para>
     280
     281<screen role="root"><userinput>cat &gt; /etc/X11/xorg.conf.d/server-layout.conf &lt;&lt; "EOF"
    260282Section "ServerLayout"
    261283    Identifier     "DefaultLayout"
     
    266288EOF</userinput></screen>
    267289
    268   </sect3>
     290    </sect3>
    269291  </sect2>
    270292</sect1>
Note: See TracChangeset for help on using the changeset viewer.