source: x/installing/xfree86/xfree86-config.xml@ 2bdf04b

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
Last change on this file since 2bdf04b was 2bdf04b, checked in by Igor Živković <igor@…>, 21 years ago

s/X Windows/X Window System/

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

  • Property mode set to 100644
File size: 3.3 KB
Line 
1<sect2>
2<title>Configuring XFree86</title>
3
4<para>Edit <filename>/etc/ld.so.conf</filename> and add
5<filename>/usr/X11R6/lib</filename>.
6Run <screen><userinput>ldconfig</userinput></screen></para>
7
8<para>Add <filename class='directory'>/usr/X11R6/bin</filename> to your
9<envar>PATH</envar> environment
10variable in <filename>.bash_profile</filename>. The statement should
11look something like <userinput>PATH=$PATH:/usr/X11R6/bin</userinput>
12and be placed before the <userinput>export PATH</userinput>
13statement.</para>
14
15<para>Run
16<screen><userinput>source ~/.bash_profile</userinput></screen></para>
17
18<para>Set up your mouse:
19<screen><userinput>cd /dev
20ln -s psaux mouse</userinput></screen>
21
22Adjust the symbolic link as necessary for other types of mice. For instance,
23a serial mouse on the first serial port would be linked to ttyS1.</para>
24
25<para>Create the XF86Config file with
26<screen><userinput>cd ~
27XFree86 -configure</userinput></screen>
28The screen will go black and you may hear some clicking of the monitor. This
29command will create a file, <filename>XF86Config.new</filename> in your home
30directory.</para>
31
32<para>Edit <filename>XF86Config.new</filename> to suit your system. The
33details of the file are located in the man
34page <userinput>man XF86Config</userinput>. Some things you may want to
35do are:</para>
36
37<itemizedlist>
38
39<listitem><para>Section "Files". Change the order of the font paths searched.
40You may want to put 100dpi fonts ahead of 75dpi fonts if your system normally
41comes up closer to 100 dots per inch. You may want to remove some font
42directories completely.</para></listitem>
43
44<listitem><para>Section "Module". Remove or comment out some of the modules.
45The "glx" and "dri" sections are not operational until we install DRI
46below. Leaving modules in does not hurt anything.</para></listitem>
47
48<listitem><para>Section "InputDevice". You may want to change the keyboard
49autorepeat rate by
50adding <userinput>Option "Autorepeat" "250 30"</userinput>.</para></listitem>
51
52<listitem><para>Section "Screen". Add a DefaultDepth statement such
53as: <userinput>DefaultDepth 16</userinput>. In the SubSection for your
54default depth, add a modes line such
55as: <userinput> Modes "1280x1024" "1024x768"</userinput>.
56The first mode listed will normally be the starting
57resolution.</para></listitem>
58
59</itemizedlist>
60
61<para>Test the system with
62<screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen>
63You will only get a gray background with an X-shaped mouse cursor, but it
64confirms the system is working. Exit with Control-Alt-Backspace. If the
65system does not work, take a look
66at <filename>/var/log/XFree86.0.log</filename> to see what went
67wrong.</para>
68
69<para>Move the configuration file to its final location
70<screen><userinput>mv ~/XF86Config.new /etc/X11/XF86Config-4</userinput></screen></para>
71
72<para>Create <filename>.xinitrc</filename>
73<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
74# Begin .xinitrc file
75xterm -g 80x40+0+0 &amp;
76xclock -g 100x100-0+0 &amp;
77twm
78EOF</userinput></screen>
79This provides an initial screen with an xterm and a clock that is managed by a
80simple window manager, Tab Window Manager. For details of twm, see the
81man page.</para>
82
83<para>Start X with
84<screen><userinput>startx</userinput></screen>
85to get basic functional X Window System.</para>
86
87</sect2>
88
Note: See TracBrowser for help on using the repository browser.