source: x/installing/x-config.xml@ e004bec

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e004bec was abfff1a5, checked in by DJ Lucas <dj@…>, 16 years ago

Commented out remaining text related to XFree86.

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

  • Property mode set to 100644
File size: 8.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="x-config">
9 <?dbhtml filename="xconfig.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Additional X Window System Configuration</title>
17
18<!-- XFREE86
19 <para>Below you will find information on fine tuning the components of both
20 variants of the <application>X Window System</application>. The documentation
21 links are specifically for <application>XFree86</application>, however, the
22XFREE86 -->
23 <para>Below you will find information on fine tuning the components
24 of the <application>X Window System</application>. The documentation
25 links are specifically for <application>XFree86</application>,
26 which has been retired in BLFS, however, the
27 information contained in those documents usually pertains to
28 <application>Xorg</application> as well. Detailed descriptions are also
29 located in the <filename>xorg.conf</filename> man page.</para>
30<!-- XFREE86
31 or <filename>XF86Config</filename> man pages.</para>
32XFREE86 -->
33
34 <sect2 id='xinput'>
35 <title>Setting up X Input Devices</title>
36
37 <para condition="html" role="usernotes">User Notes:
38 <ulink url="&blfs-wiki;/XInputDevices"/></para>
39
40 <sect3 id='xkeyboard'>
41 <title>Keyboards</title>
42
43 <para>The following external links provide a good introduction
44 to setting up various keyboards.</para>
45
46 <para><ulink url="http://www.xfree86.org/current/XKB-Config.html">The
47 <application>XKB</application> Configuration Guide</ulink></para>
48
49 <para><ulink url="http://www.xfree86.org/current/XKB-Enhancing.html">How
50 to further enhance <application>XKB</application>
51 configuration</ulink></para>
52
53 </sect3>
54
55 <sect3 id='xmice'>
56 <title>Mice</title>
57
58 <para>Multi-button mice can be used to their full potential by mapping
59 the additional buttons to X button events. Wheel mice are a common example.
60 The ordinary ones contain two buttons, and a scroll wheel that doubles as
61 a third button. As far as <application>X</application> is concerned, there
62 are 5 buttons as it counts the 'scroll up' and 'scroll down' functions
63 (internally they are buttons). Here is an example 'InputDevice' section for
64 a typical PS/2 wheel mouse:</para>
65
66<screen><literal>Section "InputDevice"
67 Identifier "Mouse 0"
68 Driver "mouse"
69 Option "Device" "/dev/input/mice"
70 Option "Protocol" "IMPS/2"
71 Option "ZAxisMapping" "4 5"
72 Option "Buttons" "5"
73EndSection</literal></screen>
74
75 <para>Button assignments differ for every mouse type. On more exotic
76 mice, you may find that the rocker wheel buttons are 6 and 7. Simply
77 add those values to the <option>ZAxisMapping</option> option, and set
78 the <option>Buttons</option> option appropriately to enable side to
79 side scrolling. Additional information on button assignment can be
80 found in the following <application>XFree86</application>
81 document:</para>
82
83 <para><ulink url="http://www.xfree86.org/current/mouse.html">Mouse
84 Support in <application>XFree86</application></ulink></para>
85
86 </sect3>
87
88 </sect2>
89
90 <sect2 id='xdisplay'>
91 <title>Fine Tuning Display Settings</title>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/xdisplay"/></para>
95
96 <sect3>
97 <title>The 'Monitor' Section</title>
98
99 <para>One or more monitor sections specify the characteristics of your
100 monitor(s). Usually, the setup program can probe your monitor and setup
101 a monitor properly, however, this does not always work. The most common
102 entries that need to be updated are <option>HorizSync</option> and
103 <option>VertRefresh</option>. If the configuration program does not set
104 these properly, you will notice a resolution much lower than desired.
105 The default <option>HorizSync</option> setting is 28-33kHz which is very
106 conservative. The default <option>VertRefresh</option> is 43-72Hz.
107 Consult your monitor documentation or search online for the proper
108 settings for your monitor.</para>
109
110 <para>It is also possible to control many detailed timing characteristics
111 of a monitor with a <option>Modeline</option> setting. Most users will
112 not need to do this, but details are in the man page referenced above.
113 </para>
114
115 <warning><para>Incorrect monitor settings can destroy your monitor or
116 even set it on fire! For most newer monitors, the result of overly
117 aggressive settings is a blank screen, but older monitors do not all have
118 built in safeguards.</para></warning>
119
120 <para>Other items that may be of interest in this section is the
121 <option>DPMS</option> and associated <option>StandbyTime</option>,
122 <option>SuspendTime</option>, and <option>OffTime</option> options.
123 These parameters control the energy saving features of your monitor. They
124 may also be controlled at runtime with the <command>xset</command> command
125 or via a graphical interface such as <application>KDE</application>'s
126 Control Center.</para>
127
128 <para>A typical monitor section will normally look like:</para>
129
130<screen><literal>Section "Monitor"
131 DisplaySize 400 300 # mm
132 Identifier "Monitor0"
133 VendorName "VSC"
134 ModelName "G810-2"
135 HorizSync 30.0 - 92.0
136 VertRefresh 50.0 - 180.0
137 Option "DPMS"
138 Option "StandbyTime" "10"
139 Option "SuspendTime" "20"
140 Option "OffTime" "30"
141EndSection</literal></screen>
142
143 </sect3>
144
145 <sect3>
146 <title>The 'Device' Section</title>
147
148 <para>This section basically controls your video card. The key entry is
149 the <option>Driver</option> setting. This can be a driver from the
150 <application>X</application> distribution you are using, from the kernel
151 source, or a proprietary driver for devices such as a Nvidia graphics
152 adaptor. The driver often is a kernel module or built into the kernel
153 itself, but there are also separate non-kernel components usually found
154 in the <filename
155 class='directory'>/usr/X11R6/lib/modules/drivers/</filename> directory.
156 These were either built with the <application>X</application> server or
157 installed via external (i.e., proprietary) programs.</para>
158
159 <para>There are many options for device drivers and most are specific to
160 the driver being used. Documentation for many drivers can be found at
161 the <ulink url="http://www.xfree86.org/current/manindex4.html">XFree86
162 Driver Manual Pages</ulink>.</para>
163
164 <para>A typical Device section will look like:</para>
165
166<screen><literal>Section "Device"
167 Identifier "Videocard0"
168 Driver "radeon"
169 VendorName "Videocard vendor"
170 BoardName "ATI Radeon 7500"
171EndSection</literal></screen>
172
173 </sect3>
174
175 </sect2>
176
177 <sect2 id='xlayouts'>
178 <title>Display Layouts</title>
179
180 <para condition="html" role="usernotes">User Notes:
181 <ulink url="&blfs-wiki;/xlayouts"/></para>
182
183 <para>Within the <application>X Window System</application> configuration
184 file there may be multiple layout sections like:</para>
185
186<screen><literal>Section "ServerLayout"
187 Identifier "X.org Configured"
188 Screen 0 "Screen0" 0 0
189 InputDevice "Mouse0" "CorePointer"
190 InputDevice "Keyboard0" "CoreKeyboard"
191EndSection</literal></screen>
192
193 <para>The default layout is the first, but if you have special needs,
194 you can create others with different configurations. The
195 <option>Identifier</option> line in each section is the key. Different
196 layouts can be created using different Screen and InputDevice sections.</para>
197
198 <para>After the configuration file is updated, an alternate configuration
199 can be specified on the <command>startx</command> line. For instance,
200 to start <application>X</application> with an alternate layout with an
201 Identifier of "layout2", use the following command line:</para>
202
203<screen><command>startx -- -layout layout2</command></screen>
204
205
206 </sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.