Changeset 310960e4


Ignore:
Timestamp:
02/12/2005 05:15:01 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
46b900a
Parents:
0bfe309a
Message:

Fixed validation error

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x-setup.xml

    r0bfe309a r310960e4  
    1515
    1616<sect2 id='dri'>
    17 <title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>) Installation</title>
     17<title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>)
     18Installation</title>
    1819
    1920<indexterm zone="x-setup dri">
    20   <primary sortas="g-x-setup">DRI</primary>
    21 </indexterm>
    22 
    23 <para><acronym>DRI</acronym> is a framework for allowing software to access graphics hardware
    24 in a safe and efficient manner. It is installed in
    25 <application>X</application> by default if
    26 you have a supported video card.  To check if <acronym>DRI</acronym> is installed properly,
    27 check the log file <filename>/var/log/XFree86.0.log</filename> or
     21  <primary sortas="g-DRI">DRI</primary>
     22</indexterm>
     23
     24<para><acronym>DRI</acronym> is a framework for allowing software to access
     25graphics hardware in a safe and efficient manner. It is installed in
     26<application>X</application> by default if you have a supported video card.
     27To check if <acronym>DRI</acronym> is installed properly, check the log file
     28<filename>/var/log/XFree86.0.log</filename> or
    2829<filename>/var/log/Xorg.0.log</filename> for statements like:</para>
    2930
    3031<screen>(II) R128(0): Direct rendering enabled</screen>
    3132
    32 <para>From an <command>xterm</command>, run <command>glxinfo</command> and look for the phrase:</para>
     33<para>From an <command>xterm</command>, run <command>glxinfo</command> and
     34look for the phrase:</para>
     35
    3336<screen>direct rendering: Yes</screen>
    3437
     
    4851</indexterm>
    4952
    50 
    51 <para>For troubleshooting problems, check the <acronym>DRI</acronym> Users Guide at
    52 <ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/>.
    53 </para>
     53<para>For troubleshooting problems, check the <acronym>DRI</acronym> Users
     54Guide at
     55<ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/>.</para>
     56
    5457</sect2>
    5558
     
    6972
    7073<itemizedlist>
    71 
    7274<listitem><para>Establish a directory for the fonts and move any
    7375<application>TrueType</application> fonts you want into that directory.
     
    7981
    8082<listitem><para>Create the <filename>fonts.scale</filename> and
    81 <filename>fonts.dir</filename> files in the
     83<filename>fonts.dir</filename> files in the 
    8284<application>TrueType</application> font
    8385directory.</para></listitem>
    8486
    85 <listitem><para>Ensure the <application>TrueType</application> module is loaded in the
    86 <filename>XF86Config</filename> or <filename>xorg.conf</filename>.</para></listitem>
     87<listitem><para>Ensure the <application>TrueType</application> module is
     88loaded in the <filename>XF86Config</filename> or
     89<filename>xorg.conf</filename>.</para></listitem>
    8790
    8891<listitem><para>Ensure the <parameter>FontPath</parameter> in
     
    9093<application>TrueType</application> font directory.</para></listitem>
    9194
     95<listitem><para>Update the font cache files</para></listitem>
     96</itemizedlist>
     97
    9298<indexterm zone="x-setup fonts">
    9399  <primary sortas="e-etc-X11-xorg.conf">/etc/X11/xorg.conf</primary>
     
    98104</indexterm>
    99105
    100 <listitem><para>Update the font cache files</para></listitem>
    101 
    102 </itemizedlist>
    103 
    104 <sect3><title>Establish a <application>TrueType</application> font directory</title>
    105 
    106 <para>The build of <application>X</application> as given above
    107 automatically creates a <application>TrueType</application>
    108 font directory: <filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>.  This
    109 directory already has some <application>TrueType</application> fonts and is set up correctly.
    110 If this directory is satisfactory, copy any other
    111 <application>TrueType</application> fonts you want
    112 into that directory.  If not, create a new directory, preferably in
    113 the <filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and put
    114 your <application>TrueType</application> fonts there.</para></sect3>
     106<sect3><title>Establish a <application>TrueType</application> font
     107directory</title>
     108
     109<para>The build of <application>X</application> as given above automatically
     110creates a <application>TrueType</application> font directory:
     111<filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>. This
     112directory already has some <application>TrueType</application> fonts and is
     113set up correctly. If this directory is satisfactory, copy any other
     114<application>TrueType</application> fonts you want into that directory. If
     115not, create a new directory, preferably in the
     116<filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and
     117put your <application>TrueType</application> fonts there.</para>
     118</sect3>
    115119
    116120<sect3><title>Download the fonts</title>
    117121
    118122<para>There are two known high quality free font resources:
    119 <ulink url="ftp://ftp.gnu.org/savannah/files/freefont/"/> and <ulink
    120 url="http://corefonts.sourceforge.net/"/>. Copy the fonts (files with
     123<ulink url="ftp://ftp.gnu.org/savannah/files/freefont/"/> and
     124<ulink url="http://corefonts.sourceforge.net/"/>. Copy the fonts (files with
    121125the <filename>.ttf</filename> suffix) to the directory you've just
    122126created.</para>
     
    139143        Load  "freetype"
    140144        ...
    141 EndSection</screen></para></sect3>
     145EndSection</screen></para>
     146</sect3>
    142147
    143148<sect3><title>Ensure the <parameter>FontPath</parameter> in
     
    177182</indexterm>
    178183
    179 
    180184<para><application>X</application> will now be able to use
    181185<application>TrueType</application> fonts when it is restarted.
     
    200204practice. To set up a keyboard for Latin and non-Latin input,
    201205change the XkbLayout keyboard driver option in the InputDevice section
    202 of the <filename>XF86Config</filename> or <filename>xorg.conf</filename> file.  For example:</para>
     206of the <filename>XF86Config</filename> or <filename>xorg.conf</filename> file.
     207For example:</para>
    203208
    204209<screen>   Section "InputDevice"
     
    211216
    212217<para>In this example, you can use the Alt-Shift combination to switch
    213 between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to indicate when
    214 the second layout is active.</para>
     218between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to
     219indicate when the second layout is active.</para>
    215220</sect2>
    216221
     
    219224<title>Setting up fonts</title>
    220225
    221 <para>Users using character sets other than <acronym>ISO</acronym>-8859-1 have to
    222 make a few adjustments to their font settings in order to
    223 make sure that fonts with
    224 the correct encoding are used for "fixed", "variable", "10x20" and
     226<para>Users using character sets other than <acronym>ISO</acronym>-8859-1 have
     227to make a few adjustments to their font settings in order to make sure that
     228fonts with the correct encoding are used for "fixed", "variable", "10x20" and
    225229similar aliases:</para>
    226230   
    227231<para>For Cyrillic alphabet, it is sufficient to put the following line
    228232into the top of the "Files" section in <filename>XF86Config</filename>
    229 or <filename>xorg.conf</filename>
    230 because this directory already contains the needed bitmap fonts and
    231 their aliases:</para>
     233or <filename>xorg.conf</filename> because this directory already contains
     234the needed bitmap fonts and their aliases:</para>
    232235
    233236<screen>FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"</screen>
     
    270273<para>There are many options that can be set in
    271274<application>X</application> and <application>X</application> clients via
    272 resources.  Typically resources are set in the <filename>~/.Xresources</filename>
    273 file.</para>
     275resources.  Typically resources are set in the
     276<filename>~/.Xresources</filename> file.</para>
    274277
    275278<para>The layout of the <filename>~/.Xresources</filename> file consists
     
    277280
    278281<indexterm zone="x-setup x-resources">
    279   <primary sortas="e-AA-.xresources">~/.Xresources</primary>
     282  <primary sortas="e-AA.xresources">~/.Xresources</primary>
    280283</indexterm>
    281284
     
    298301<screen>*background: blue</screen>
    299302
    300 <para>More specific resource variables will override less specific names. </para>
     303<para>More specific resource variables will override less specific names.</para>
    301304
    302305<para>Resource definitions can be found in the man pages for each
    303306respective client.</para>
    304307
    305 <para>In order to load your resources, the <command>xrdb</command>
    306 program must be
    307 called with the appropriate parameters.  Typically, the first time
     308<para>In order to load your resources, the <command>xrdb</command> program
     309must be called with the appropriate parameters. Typically, the first time
    308310resources are loaded, you use:</para>
    309311
    310312<screen><userinput><command>xrdb -load &lt;filename&gt;</command></userinput></screen>
    311313
    312 <para>To add resources to <application>X</application>'s database in memory, use:</para>
     314<para>To add resources to <application>X</application>'s database in memory,
     315use:</para>
     316
    313317<screen><userinput><command>xrdb -merge &lt;filename&gt;</command></userinput></screen>
    314318
     
    322326
    323327</sect2>
     328
    324329</sect1>
    325330
Note: See TracChangeset for help on using the changeset viewer.