Changeset b9ad2f9a for x/installing
- Timestamp:
- 10/02/2003 03:28:50 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 0d2f891
- Parents:
- a294e133
- Location:
- x/installing
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/installing.xml
ra294e133 rb9ad2f9a 1 1 <chapter id="x-installing"> 2 2 <?dbhtml filename="installing.html" dir="x"?> 3 <title>Installing X</title> 3 <title>X Window Environment</title> 4 5 <para>This chapter contains a graphical user environment.</para> 4 6 5 7 &xfree86; -
x/installing/xfree86-setup.xml
ra294e133 rb9ad2f9a 1 1 <sect1 id="x-setup"> 2 2 <?dbhtml filename="xfree86-setup.html" dir="x"?> 3 <title>Setting up XFree86 Components</title> 4 5 <sect2> 6 <title>Checking Direct Rendering Infrastructure (DRI) Installation</title> 7 <para>DRI is a framework for allowing software to access graphics hardware 8 in a safe and efficient manner. It is installed in XFree86 by default if 9 you have a supported video card. To check if DRI is installed properly, 3 <title>XFree86 Components</title> 4 5 <sect2> 6 <title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>) Installation</title> 7 <para><acronym>DRI</acronym> is a framework for allowing software to access graphics hardware 8 in a safe and efficient manner. It is installed in 9 <application>XFree86</application> by default if 10 you have a supported video card. To check if <acronym>DRI</acronym> is installed properly, 10 11 check the log file <filename>/var/log/XFree86.0.log</filename> for statements 11 12 like:</para> … … 13 14 <para><screen>(II) R128(0): Direct rendering enabled</screen></para> 14 15 15 <para>From an xterm, run <userinput>glxinfo</userinput> and look for the phrase:</para>16 < para><screen>direct rendering: Yes</screen></para>17 18 <para>You can also run the test program < userinput>glxgears</userinput>.16 <para>From an <command>xterm</command>, run <command>glxinfo</command> and look for the phrase:</para> 17 <screen>direct rendering: Yes</screen> 18 19 <para>You can also run the test program <command>glxgears</command>. 19 20 This program brings up a window with three gears turning. The 20 < filename>xterm</filename> will display how many frames were drawn every21 <command>xterm</command> will display how many frames were drawn every 21 22 five seconds so this is a reasonable benchmark. The window is scalable, and 22 23 the frames drawn per second is highly dependent on the size of 23 24 the window.</para> 24 25 25 <para>For troubleshooting problems, check the DRIUsers Guide at26 <para>For troubleshooting problems, check the <acronym>DRI</acronym> Users Guide at 26 27 <userinput><ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/></userinput>. 27 28 </para> … … 31 32 32 33 <sect2> 33 <title>Adding TrueType fonts to XFree86</title> 34 35 <para>TrueType font support is built into XFree86. The following items need to 34 <title>Adding <application>TrueType</application> fonts to 35 <application>XFree86</application></title> 36 37 <para><application>TrueType</application> font support is built into 38 <application>XFree86</application>. The following items need to 36 39 be completed to make the fonts available.</para> 37 40 … … 39 42 40 43 <listitem><para>Establish a directory for the fonts and move any 41 TrueTypefonts you want into that directory.</para></listitem>44 <application>TrueType</application> fonts you want into that directory.</para></listitem> 42 45 43 46 <listitem><para>Create the <filename>fonts.scale</filename> and 44 <filename>fonts.dir</filename> files in the TrueType font 47 <filename>fonts.dir</filename> files in the 48 <application>TrueType</application> font 45 49 directory.</para></listitem> 46 50 47 <listitem><para>Ensure the truetypemodule is loaded in51 <listitem><para>Ensure the <application>TrueType</application> module is loaded in 48 52 <filename>XF86Config</filename>.</para></listitem> 49 53 50 54 <listitem><para>Ensure the <parameter>FontPath</parameter> in 51 <filename>XF86Config</filename> contains the TrueType font 55 <filename>XF86Config</filename> contains the 56 <application>TrueType</application> font 52 57 directory.</para></listitem> 53 58 54 59 </itemizedlist> 55 60 56 <sect3><title>Establish a TrueType font directory</title> 57 58 <para>The build of XFree86 as given above automatically creates a TrueType 59 font directory: <filename>/usr/X11R6/lib/X11/fonts/TTF</filename>. This 60 directory already has some TrueType fonts and is set up correctly. 61 If this directory is satisfactory, copy any other TrueType fonts you want 61 <sect3><title>Establish a <application>TrueType</application> font directory</title> 62 63 <para>The build of <application>XFree86</application> as given above 64 automatically creates a <application>TrueType</application> 65 font directory: <filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>. This 66 directory already has some <application>TrueType</application> fonts and is set up correctly. 67 If this directory is satisfactory, copy any other 68 <application>TrueType</application> fonts you want 62 69 into that directory. If not, create a new directory, preferably in 63 the <filename >/usr/X11R6/lib/X11/fonts/</filename> directory and put64 your TrueTypefonts there.</para></sect3>70 the <filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and put 71 your <application>TrueType</application> fonts there.</para></sect3> 65 72 66 73 <sect3><title>Create <filename>fonts.scale</filename> and 67 74 <filename>fonts.dir</filename></title> 68 75 69 <para>Now change to the directory where you have your TrueType fonts and run 70 <screen><userinput>mkfontscale && 71 mkfontdir</userinput></screen></para></sect3> 72 73 <sect3><title>Ensure TrueType is loaded in <filename>XF86Config</filename></title> 76 <para>Now change to the directory where you have your 77 <application>TrueType</application> fonts and run 78 <screen><userinput><command>mkfontscale && 79 mkfontdir</command></userinput></screen></para></sect3> 80 81 <sect3><title>Ensure <application>TrueType</application> is loaded in <filename>XF86Config</filename></title> 74 82 <para>The "Module" section should look like: 75 83 <screen>Section "Module" … … 80 88 81 89 <sect3><title>Ensure the <parameter>FontPath</parameter> in 82 <filename>XF86Config</filename> points to the TrueType font directory</title> 90 <filename>XF86Config</filename> points to the 91 <application>TrueType</application> font directory</title> 83 92 <para>The "Files" section should look like 84 93 <screen>Section "Files" … … 92 101 <para>Finally, to update all the font 93 102 cache files specified in <filename>/etc/fonts/fonts.conf</filename>, run 94 <screen><userinput> fc-cache</userinput></screen>103 <screen><userinput><command>fc-cache</command></userinput></screen> 95 104 </para> 96 105 97 <para>XFree86 will now be able to use TrueType fonts when it is restarted. 106 <para><application>XFree86</application> will now be able to use 107 <application>TrueType</application> fonts when it is restarted. 98 108 You can check to see if the new fonts are available with the 99 < userinput>xlsfonts</userinput> or <userinput>xfontsel</userinput>109 <command>xlsfonts</command> or <command>xfontsel</command> 100 110 program.</para> 101 111 102 <note><para>You should re-run <userinput>mkfontscale</userinput> and 103 <userinput>mkfontdir</userinput> any time you add or delete TrueType fonts. 104 You should also rerun <userinput>fc-cache</userinput> each time 112 <note><para>You should re-run <command>mkfontscale</command> and 113 <command>mkfontdir</command> any time you add or delete 114 <application>TrueType</application> fonts. 115 You should also rerun <command>fc-cache</command> each time 105 116 you add or remove any fonts.</para></note> 106 117 … … 111 122 <sect2> 112 123 <title>Setting up keyboards</title> 113 <para>In this version of XFree86, it has been reported that non-latin124 <para>In this version of <application>XFree86</application>, it has been reported that non-latin 114 125 keyboard layouts do not include latin configurations as was previous 115 126 practice. To set up a keyboard for latin and non-latin input, … … 126 137 127 138 <para>In this example, you can use the Alt-Shift combination to switch 128 between keyboard layouts and use the Scroll Lock LEDto indicate when139 between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to indicate when 129 140 the second layout is active.</para> 130 141 </sect2> -
x/installing/xfree86.xml
ra294e133 rb9ad2f9a 1 <sect1 id="xfree86" xreflabel=" xfree86-&xfree86-version;">1 <sect1 id="xfree86" xreflabel="XFree86-&xfree86-version;"> 2 2 <?dbhtml filename="xfree86.html" dir="x"?> 3 3 <title>XFree86-&xfree86-version;</title> -
x/installing/xfree86/xfree86-exp.xml
ra294e133 rb9ad2f9a 2 2 <title>Command explanations</title> 3 3 4 <para>< userinput>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</userinput>:4 <para><command>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</command>: 5 5 This command runs multiple makefiles to completely rebuild the system. 6 WORLDOPTS="" disables the default setting to continue after encountering an error.7 < userinput>2>&1</userinput> redirects error messages to the same location8 as normal output. The < userinput>tee</userinput> command allows viewing of6 <envar>WORLDOPTS</envar>="" disables the default setting to continue after encountering an error. 7 <parameter>2>&1</parameter> redirects error messages to the same location 8 as normal output. The <command>tee</command> command allows viewing of 9 9 the output while logging the results to a file.</para> 10 10 11 <note><para>When rebuilding XFree86, a separate command that may be used if only minor12 changes are made to the sources is < userinput>make13 Everything</ userinput>. This does not automatically remove generated11 <note><para>When rebuilding <application>XFree86</application>, a separate command that may be used if only minor 12 changes are made to the sources is <command>make 13 Everything</command>. This does not automatically remove generated 14 14 files and only rebuilds those files or programs that are out 15 15 of date.</para></note> 16 16 17 <para>< userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,18 < userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</userinput>, and19 < userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput>: These17 <para><command>ln -sf /usr/X11R6/bin /usr/bin/X11</command>, 18 <command>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</command>, and 19 <command>ln -sf /usr/X11R6/include/X11 /usr/include/X11</command>: These 20 20 commands are present to enable other (broken) packages to build 21 against XFree86. We do this even though the Filesystem Hierarchy Standard21 against <application>XFree86</application>. We do this even though the Filesystem Hierarchy Standard 22 22 says: 23 23 "In general, software must not be installed or managed via the above 24 24 symbolic links. They are intended for utilization by users only."</para> 25 25 26 <para>< userinput>make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</userinput>: This builds the27 XFree86compatible kernel modules using the same compiler used to compile26 <para><command>make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</command>: This builds the 27 <application>XFree86</application> compatible kernel modules using the same compiler used to compile 28 28 the kernel.</para> 29 29 30 <para>< userinput>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o31 /lib/modules/`uname -r`/kernel/drivers/char/drm/</ userinput>: Put the kernel30 <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o 31 /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel 32 32 module(s) where the kernel can find them. You only need to copy the driver you 33 33 need to support your video card.</para> 34 34 35 <para>< userinput>depmod -a</userinput>: Update the modules.dep file for module35 <para><command>depmod -a</command>: Update the modules.dep file for module 36 36 management.</para> 37 37
Note:
See TracChangeset
for help on using the changeset viewer.