source: x/installing/xfree86/xfree86-config.xml@ 071a954

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 071a954 was 071a954, checked in by Bruce Dubbs <bdubbs@…>, 22 years ago

Update to XFree86 4.3

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