Ticket #2521: xfree.diff

File xfree.diff, 7.6 KB (added by Ag. Hatzimanikas, 17 years ago)
  • TabularUnified x/installing/x-setup.xml

     
    8080    create a basic X Window System configuration file with the following
    8181    commands:</para>
    8282
    83     <para>For <application>Xorg</application>:</para>
    8483<screen><userinput>cd ~ &amp;&amp;
    8584Xorg -configure</userinput></screen>
    8685
    87     <para>For <application>XFree86</application>:</para>
    88 <screen><userinput>cd ~ &amp;&amp;
    89 XFree86 -configure</userinput></screen>
    90 
    9186    <indexterm zone="x-setup xconfig">
    9287      <primary sortas="e-etc-X11-xorg-conf">/etc/X11/xorg.conf</primary>
    9388    </indexterm>
    9489
    95     <indexterm zone="x-setup xconfig">
    96       <primary sortas="e-etc-X11-XF86Config">/etc/X11/XF86Config</primary>
    97     </indexterm>
    98 
    9990    <para>The screen will go black and you may hear some clicking of the
    100     monitor.  This command will create a file in your
    101     home directory, <filename>xorg.conf.new</filename> for
    102     <application>Xorg</application>, or <filename>XF86Config.new</filename>
    103     for <application>XFree86</application>.</para>
     91    monitor.  This command will create the <filename>xorg.conf.new</filename>
     92    file in your home directory</para>
    10493
    10594    <para>Edit the newly created configuration file to suit your system. The
    10695    details of the files are located in the <filename>xorg.conf.5x</filename>
    107     and <filename>XF86Config.5x</filename> man
    108     pages. Some things you may want to do are:</para>
     96    man page. Some things you may want to do are:</para>
    10997
    11098    <itemizedlist>
    11199      <listitem>
     
    141129      </listitem>
    142130    </itemizedlist>
    143131
    144     <para>Test the system with one of the following commands:</para>
     132    <para>Test the system with one of the following command:</para>
    145133
    146     <para>For <application>Xorg</application>:</para>
    147134<screen><userinput>X -config ~/xorg.conf.new</userinput></screen>
    148135
    149     <para>For <application>XFree86</application>:</para>
    150 <screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen>
    151 
    152136    <para>You will only get a gray background with an X-shaped mouse cursor,
    153137    but it confirms the system is working. Exit with
    154138    <keycap>Control+Alt+Backspace</keycap>. If the system does not work, take
    155     a look at <filename>/var/log/Xorg.0.log</filename> or
    156     <filename>/var/log/XFree86.0.log</filename> to see what went
     139    a look at <filename>/var/log/Xorg.0.log</filename> to see what went
    157140    wrong.</para>
    158141
    159142    <para>As the <systemitem class="username">root</systemitem> user, create
     
    163146    <para>For <application>Xorg</application>:</para>
    164147<screen role="root"><userinput>install -v -m644 -D ~/xorg.conf.new /etc/X11/xorg.conf</userinput></screen>
    165148
    166     <para>For <application>XFree86</application>:</para>
    167 <screen role="root"><userinput>install -v -m644 -D ~/XF86Config.new /etc/X11/XF86Config</userinput></screen>
    168 
    169149    <para>As a convenience, Xorg-&xorg7-version; users should populate the
    170150    <filename class="directory">/etc/X11</filename> directory with symlinks
    171151    to various configuration directories that were located in
    172152    <filename class="directory">/etc/X11</filename> with previous
    173     versions of <application>Xorg</application>.  This step is not needed
    174     for <application>XFree86</application> users.  Execute the following
    175     commands as the <systemitem class="username">root</systemitem>
    176     user:</para>
     153    versions of <application>Xorg</application>.
     154    Execute the following commands as the
     155    <systemitem class="username">root</systemitem> user:</para>
    177156
    178157<screen><userinput role="root">mkdir $XORG_PREFIX/share/X11/twm &amp;&amp;
    179158ln -svt /etc/X11 \
     
    200179    </indexterm>
    201180
    202181    <note>
    203       <para>Both the default, and the BLFS configuration for
    204       <application>Xorg</application> include <application>xterm</application>.
    205       <application>Xorg</application>'s modular distribution no longer includes
    206       <application>xterm</application>, and
    207       as a result, the <command>startx</command> command will fail if you have
    208       not installed <xref linkend="xterm2"/> when using the modular X Window
    209       System.  You can remove the <application>xterm</application> line in the
    210       above config file to test the xserver, or install one of the other
    211       terminal emulators and make appropriate changes.</para>
     182      <para><application>Xorg</application> modular distribution no longer
     183      includes the <application>xterm</application> terminal emulator, and
     184      as a result, the <command>startx</command> command will fail if you don't
     185      have <xref linkend="xterm2"/> installed. You can remove the
     186      <application>xterm</application> line in the above config file to test
     187      the xserver, or install one of the other terminal emulators and make
     188      appropriate changes.</para>
    212189    </note>
    213190
    214191    <para>When needed, the X Window System creates the directory
     
    281258    </note>
    282259
    283260    <para>To check if DRI is installed properly, check the log file
    284     <filename>/var/log/XFree86.0.log</filename> or
    285261    <filename>/var/log/Xorg.0.log</filename> for statements like:</para>
    286262
    287263<screen><literal>(II) R128(0): Direct rendering enabled</literal></screen>
     
    332308      <primary sortas="e-etc-X11-xorg-conf">/etc/X11/xorg.conf</primary>
    333309    </indexterm>
    334310
    335     <indexterm zone="x-setup fonts">
    336       <primary sortas="e-etc-X11-XF86Config">/etc/X11/XF86Config</primary>
    337     </indexterm>
    338 
    339311    <sect3>
    340312      <title>Core X Font Protocol</title>
    341313
     
    344316      </indexterm>
    345317
    346318      <para>The core X font protocol finds fonts from the server configuration
    347       file (<filename>xorg.conf</filename> or <filename>XF86Config</filename>).
    348       If no font paths exist in the configuration file, the server will fall
    349       back to an internal hard-coded path.  Assuming the prefix for your
    350       <application>X</application> installation is
    351       <filename class="directory">/usr/X11R6</filename>, the core fonts will
    352       reside in subdirectories of <filename
    353       class="directory">/usr/X11R6/lib/X11/fonts</filename>.  For each
     319      file (<filename>xorg.conf</filename>). If no font paths exist in the
     320      configuration file, the server will fall back to an internal hard-coded
     321      path.  Assuming the prefix for your <application>X</application>
     322      installation is <filename class="directory">/usr/X11R6</filename>, the
     323      core fonts will reside in subdirectories of
     324      <filename class="directory">/usr/X11R6/lib/X11/fonts</filename>. For each
    354325      directory in the path, the server reads three files:</para>
    355326
    356327      <itemizedlist>
     
    379350      <filename>fonts.scale</filename> files by the server.  The core X font
    380351      system uses the "freetype" module for non-antialiased rendering of these
    381352      fonts.  Ensure that the "freetype" module is loaded in the
    382       <filename>XF86config</filename> or <filename>xorg.conf</filename>
    383       file by adding it to the "Module" section:</para>
     353      <filename>xorg.conf</filename> file by adding it to the "Module" section:
     354      </para>
    384355
    385356<screen><literal>Section "Module"
    386357    ...
     
    556527    keyboard layouts do not include Latin configurations as was previous
    557528    practice. To set up a keyboard for Latin and non-Latin input, change
    558529    the XkbLayout keyboard driver option in the InputDevice section
    559     of the <filename>XF86Config</filename> or <filename>xorg.conf</filename>
    560     file. For example:</para>
     530    of the <filename>xorg.conf</filename> file. For example:</para>
    561531
    562532<screen><literal>Section "InputDevice"
    563533    Identifier          "Keyboard0"