Changeset 19e9cee for x/installing/xfree86
- Timestamp:
- 09/14/2002 09:47:22 PM (22 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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- bc013897
- Parents:
- 07ba0069
- Location:
- x/installing/xfree86
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xfree86/xfree86-config.xml
r07ba0069 r19e9cee 9 9 variable in <filename>.bash_profile</filename>. The statement should 10 10 look something like <userinput>PATH=$PATH:/usr/X11R6/bin</userinput> 11 and be placed before the <userinput>export PATH</userinput> statement. 11 and be placed before the <userinput>export PATH</userinput> 12 statement.</para> 12 13 13 Run14 <para>Run 14 15 <screen>source ~/.bash_profile</screen></para> 15 16 16 <para>Set up your mouse 17 <screen> cd /dev18 ln -s psaux mouse</ screen>17 <para>Set up your mouse: 18 <screen><userinput>cd /dev 19 ln -s psaux mouse</userinput></screen> 19 20 20 21 Adjust the symbolic link as necessary for other types of mice. For instance, 21 a serial mouse on the first serial port would be linked to ttyS1. 22 </para> 22 a serial mouse on the first serial port would be linked to ttyS1.</para> 23 23 24 24 <para>Create the XF86Config file with 25 <screen> cd ~26 XFree86 -configure</ screen>25 <screen><userinput>cd ~ 26 XFree86 -configure</userinput></screen> 27 27 The screen will go black and you may hear some clicking of the monitor. This 28 28 command will create a file, <filename>XF86Config.new</filename> in your home 29 directory. 30 </para> 29 directory.</para> 31 30 32 <para> 33 Edit <filename>XF86Config.new</filename> to suit your system. The details 34 of the file are located in the man page <userinput>man XF86Config</userinput>. 35 Some things you may want to do are:</para> 31 <para>Edit <filename>XF86Config.new</filename> to suit your system. The 32 details of the file are located in the man 33 page <userinput>man XF86Config</userinput>. Some things you may want to 34 do are:</para> 35 36 36 <itemizedlist> 37 37 38 <listitem><para>Section "Files". Change the order of the font paths searched. 38 You may want to put 39 100dpi fonts ahead of 75dpi fonts if your system normally comes up closer 40 to 100 dots per inch. You may want to remove some font directories completely. 41 </para></listitem> 42 <listitem><para> 43 Section "Module". Remove or comment out some of the modules. The "glx" 44 and "dri" sections are not operational until we install DRI below. Leaving 45 modules in does not hurt anything. 46 </para></listitem> 47 <listitem><para> 48 Section "InputDevice". You may want to change the keyboard autorepeat rate 49 by adding 50 <userinput>Option "Autorepeat" "250 30"</userinput>. 51 </para></listitem> 52 <listitem><para> 53 Section "Screen". Add a DefaultDepth statement such as: 54 <userinput>DefaultDepth 16</userinput>. In the SubSection for your default 55 depth, add a modes line such as: 56 <userinput> Modes "1280x1024" "1024x768"</userinput>. 57 The first mode listed will normally be the starting resolution. 58 </para></listitem> 39 You may want to put 100dpi fonts ahead of 75dpi fonts if your system normally 40 comes up closer to 100 dots per inch. You may want to remove some font 41 directories completely.</para></listitem> 42 43 <listitem><para>Section "Module". Remove or comment out some of the modules. 44 The "glx" and "dri" sections are not operational until we install DRI 45 below. Leaving modules in does not hurt anything.</para></listitem> 46 47 <listitem><para>Section "InputDevice". You may want to change the keyboard 48 autorepeat rate by 49 adding <userinput>Option "Autorepeat" "250 30"</userinput>.</para></listitem> 50 51 <listitem><para>Section "Screen". Add a DefaultDepth statement such 52 as: <userinput>DefaultDepth 16</userinput>. In the SubSection for your 53 default depth, add a modes line such 54 as: <userinput> Modes "1280x1024" "1024x768"</userinput>. 55 The first mode listed will normally be the starting 56 resolution.</para></listitem> 57 59 58 </itemizedlist> 60 59 61 <para> 62 Test the system with 63 <screen>XFree86 -xf86config ~/XF86Config.new</screen> 60 <para>Test the system with 61 <screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen> 64 62 You will only get a grey background with an X-shaped mouse cursor, but it 65 63 confirms the system is working. Exit with Control-Alt-Backspace. If the 66 system does not work, take a look at 67 <filename>/var/log/XFree86.0.log</filename> to see what went wrong. 68 </para> 69 <para> 70 Move the confiuration file to its final location 71 <screen>mv ~/XF86Config.new /etc/X11/XF86Config-4</screen> 72 </para> 73 <para> 74 Create <filename>.xinitrc</filename> 64 system does not work, take a look 65 at <filename>/var/log/XFree86.0.log</filename> to see what went 66 wrong.</para> 67 68 <para>Move the confiuration file to its final location 69 <screen><userinput>mv ~/XF86Config.new /etc/X11/XF86Config-4</userinput></screen></para> 70 71 <para>Create <filename>.xinitrc</filename> 75 72 <screen><userinput>cat > ~/.xinitrc << "EOF" 76 73 # Begin .xinitrc file … … 81 78 This provides an initial screen with an xterm and a clock that is managed by a 82 79 simple window manager, Tab Winow Manager. For details of twm, see the 83 man page. 84 </para> 80 man page.</para> 85 81 86 <para> 87 Start X with 88 <screen>startx</screen> 89 to get basic funtional X Windows System. 90 </para> 82 <para>Start X with 83 <screen><userinput>startx</userinput></screen> 84 to get basic funtional X Windows System.</para> 85 91 86 </sect2> 92 87 -
x/installing/xfree86/xfree86-desc.xml
r07ba0069 r19e9cee 26 26 <sect3><title>xf86config</title> 27 27 <para>An interactive program for generating an XF86Config file for use with 28 XFree86 X servers. 29 </para></sect3> 28 XFree86 X servers.</para></sect3> 30 29 31 30 <sect3><title>xf86cfg</title> 32 31 <para>A tool to configure XFree86 that can be used to either write the 33 initial configuration file or make customizations to the current configuration.34 </para></sect3>32 initial configuration file or make customizations to the current 33 configuration.</para></sect3> 35 34 36 35 <sect3><title>startx</title> 37 <para>A script to initialize the X session. It runs xinit. 38 </para></sect3> 36 <para>A script to initialize the X session. It runs xinit.</para></sect3> 39 37 40 38 <sect3><title>xinit</title> 41 <para>This program is used to start the X Window System server. 42 </para></sect3> 39 <para>This program is used to start the X Window System server.</para></sect3> 43 40 44 41 <sect3><title>twm</title> 45 <para>A Tab Window Manager for the X Window System. 46 </para></sect3> 42 <para>A Tab Window Manager for the X Window System.</para></sect3> 47 43 48 44 <sect3><title>xterm</title> 49 <para>A terminal emulator for X. 50 </para></sect3> 45 <para>A terminal emulator for X.</para></sect3> 51 46 52 47 <sect3><title>xwininfo</title> 53 <para>A window information utility for X. 54 </para></sect3> 48 <para>A window information utility for X.</para></sect3> 55 49 56 50 <sect3><title>x11perf</title> 57 <para>An X11 server performance test program. 58 </para></sect3> 51 <para>An X11 server performance test program.</para></sect3> 59 52 60 53 <sect3><title>xlsfonts</title> 61 <para>A program to list fonts available to the X server. 62 </para></sect3> 54 <para>A program to list fonts available to the X server.</para></sect3> 63 55 64 56 <sect3><title>xvidtune</title> 65 <para>A video mode tuner for XFree86. 66 </para></sect3> 57 <para>A video mode tuner for XFree86.</para></sect3> 67 58 68 59 <sect3><title>xload</title> 69 <para>A system load average display for X. 70 </para></sect3> 60 <para>A system load average display for X.</para></sect3> 71 61 72 62 <sect3><title>xcalc</title> 73 <para>A scientific calculator for X. 74 </para></sect3> 63 <para>A scientific calculator for X.</para></sect3> 75 64 76 65 <sect3><title>xclock and oclock</title> 77 <para>Clock programs for X. 78 </para></sect3> 66 <para>Clock programs for X.</para></sect3> 79 67 80 68 <sect3><title>xmodmap</title> 81 <para>A utility for modifying keymaps and pointer button mappings in X.82 </para></sect3>69 <para>A utility for modifying keymaps and pointer button mappings 70 in X.</para></sect3> 83 71 84 72 </sect2> -
x/installing/xfree86/xfree86-exp.xml
r07ba0069 r19e9cee 2 2 <title>Command explanations</title> 3 3 4 <para> 5 <userinput>make World 2>&1 | tee xfree-compile.log &&</userinput> 6 : This command runs multiple makefiles to completely rebuild the system. 4 <para><userinput>make World 2>&1 | tee xfree-compile.log &&</userinput>: 5 This command runs multiple makefiles to completely rebuild the system. 7 6 <userinput>2>&1</userinput> redirects error messages to the same location 8 as normal output. The <userinput>tee</userinput> 9 command allows viewing ofthe output while logging the results to a file.</para>7 as normal output. The <userinput>tee</userinput> command allows viewing of 8 the output while logging the results to a file.</para> 10 9 11 <note><para> 12 When rebuildng, a separate command that may be used if only minor changes 13 are made to the sources is <userinput>make Everything</userinput>. This does 14 not automatically remove generated files and only rebuilds those files or 15 programs that are out of date. 16 </para></note> 10 <note><para>When rebuildng, a separate command that may be used if only minor 11 changes are made to the sources is <userinput>make 12 Everything</userinput>. This does not automatically remove generated 13 files and only rebuilds those files or programs that are out 14 of date.</para></note> 17 15 18 <para> 19 <userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>, 16 <para><userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>, 20 17 <userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</userinput>, and 21 18 <userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput>: … … 24 21 says: 25 22 "In general, software must not be installed or managed via the above 26 symbolic links. They are intended for utilization by users only." 27 </para> 28 </sect2> 23 symbolic links. They are intended for utilization by users only."</para></sect2> 29 24 -
x/installing/xfree86/xfree86-inst.xml
r07ba0069 r19e9cee 2 2 <title>Installation of XFree86</title> 3 3 4 5 4 <sect3> 6 5 <title>Kernel Compilation Settings</title> 7 <para> 8 If you have an Intel P6 (Pentium Pro, Pentium II and later) it is recommneded 6 <para>If you have an Intel P6 (Pentium Pro, Pentium II and later) it is recommneded 9 7 that you compile MTRR (Memory Type Range Registers) support into the kernel. 10 8 The kernel can map Cyrix and AMD CPUs to the MTRR interface so selecting this … … 12 10 This option is found in the 13 11 "Processor type and features" menu. It can increase performance of 14 image write operations 2.5 times or more on PCI or AGP video cards. 15 </para> 12 image write operations 2.5 times or more on PCI or AGP video cards.</para> 16 13 17 <para> 18 In the "Character Devices" section, enable AGP Support and select the chipset 14 <para>In the "Character Devices" section, enable AGP Support and select the chipset 19 15 support on your motherboard. If you do not know the chipset, you may select 20 16 all the chip types at the expense of extra kernel size. You can usually 21 17 determine your motherboard's chipset by doing: 22 <screen><userinput>cat /proc/pci</userinput></screen> 23 </para> 18 <screen><userinput>cat /proc/pci</userinput></screen></para> 24 19 25 <para> 26 In the "Character Devices" section, <emphasis>disable</emphasis> Direct 20 <para>In the "Character Devices" section, <emphasis>disable</emphasis> Direct 27 21 Rendering Manager unless you have a Direct Rendering Infrastructure (DRI) 28 22 supported video card. See the DRI section below for a list. If you do 29 23 enable DRI here, make sure you select the video card(s) you want to support 30 as a <emphasis>module</emphasis>. 24 as a <emphasis>module</emphasis>.</para> 25 26 <para>If you made any changes to the kernel configuration, recompile with 27 <screen><userinput>make dep && 28 make bzImage && 29 make modules && 30 make modules_install</userinput></screen> 31 31 </para> 32 32 33 <para>If you made any changes to the kernel configuration, recompile with 34 <screen>make dep && 35 make bzImage && 36 make modules && 37 make modules_install</screen> 38 </para> 39 40 <para> 41 Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and 33 <para>Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and 42 34 <filename>/usr/src/linux/System.map</filename> to 43 35 <filename>/boot</filename>, edit <filename>/etc/lilo.conf</filename> 44 appropriately and run <userinput>lilo</userinput>. 45 </para> 36 appropriately and run <userinput>lilo</userinput>.</para> 46 37 47 <note><para> 48 If you build XFree86 in a chroot environment, make sure the kernel version of the base 49 system and the target system are the same. This is especially important if you 50 enabled DRI support as a module as instructed above. 51 </para></note> 38 <note><para>If you build XFree86 in a chroot environment, make sure the kernel 39 version of the base system and the target system are the same. This is 40 especially important if you enabled DRI support as a module as 41 instructed above.</para></note> 52 42 53 43 </sect3> 44 54 45 <sect3><title>Creating <filename>host.def</filename></title> 55 46 … … 76 67 77 68 /* #define HasMTRRSupport YES */ /* Enabled in kernel see kernel docs */ 78 /* #define HasMMXSupport NO 69 /* #define HasMMXSupport NO */ /* Any i586 or above */ 79 70 /* #define HasKatmaiSupport NO */ /* PIII SSE instuctions */ 80 71 /* #define Has3DNowSupport NO */ /* AMD instructions */ … … 99 90 /* FONT SERVER AND LIBRARY SETTINGS ****************************************/ 100 91 101 102 92 /* These setting should be set by default, but we are making sure. *********/ 103 93 104 #define BuildFontServer YES /* Need for GhostScript Print Server */ 105 #define BuildFreetype2Library YES /* For using TrueType Fonts */ 106 #define SharedLibFont YES /* Needed for Truetype */ 107 #define CompressAllFonts YES 108 #define GzipFontCompression YES 94 #define BuildFontServer YES /* Need for GhostScript Print Server */ 95 #define SharedLibFont YES 96 #define CompressAllFonts YES 97 #define GzipFontCompression YES 98 99 /* These setting ensure we use the proper version of freetype **************/ 100 #define HasFreetype2 YES 101 #define BuildFreetype2Library NO 102 #define Freetype2Dir /usr 109 103 110 104 /* The font path can be redefined in the XF86Config file *******************/ … … 172 166 173 167 <para>Edit the file for your hardware and desires.</para> 168 174 169 </sect3> 175 170 … … 179 174 180 175 181 <para><screen><userinput>patch -Np1 -i ../4.2.0-4.2.1.diff && </userinput>182 <userinput>make World 2>&1 | tee xfree-compile.log &&</userinput> 183 <userinput>make install &&</userinput> 184 <userinput>make install.man &&</userinput> 185 <userinput>ln -sf /usr/X11R6/bin /usr/bin/X11 &&</userinput> 186 <userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11 &&</userinput> 187 <userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput></screen></para>176 <para><screen><userinput>patch -Np1 -i ../4.2.0-4.2.1.diff && 177 make World 2>&1 | tee xfree-compile.log && 178 make install && 179 make install.man && 180 ln -sf /usr/X11R6/bin /usr/bin/X11 && 181 ln -sf /usr/X11R6/lib/X11 /usr/lib/X11 && 182 ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput></screen></para> 188 183 189 184 </sect3> -
x/installing/xfree86/xfree86-intro.xml
r07ba0069 r19e9cee 8 8 Estimated build time: 63m (667 MHz)</screen> 9 9 10 <para><screen>XFree86 depends on: LFS base installation</screen></para>10 <para><screen>XFree86 depends on: <xref linkend="freetype2"/></screen></para> 11 11 12 12 <para>Because XFree86 is such a large package, you may find that … … 18 18 hardware (the mouse, keyboard, and video displays) and the desktop environment 19 19 while also providing both the windowing infrastructure and a standardized 20 application interface (API). 21 </para> 20 application interface (API).</para> 22 21 23 <para> 24 There are several files that need to be fetched from the download location: 22 <para>There are several files that need to be fetched from the download location: 25 23 <screen>X420src-1.tgz 25354 KB 26 24 X420src-2.tgz 22683 KB 27 X420src-3.tgz 9089 KB 28 </screen> 29 </para> 25 X420src-3.tgz 9089 KB</screen></para> 30 26 31 <para> 32 In addition, the following file will be needed: 33 <screen><ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.2.1/patches/4.2.0-4.2.1.diff.gz"/></screen> 34 </para> 27 <para>In addition, the following file will be needed: 28 <screen><ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.2.1/patches/4.2.0-4.2.1.diff.gz"/></screen></para> 35 29 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.