2 # Copyright (c) 1994-1998 by The XFree86 Project, Inc.
4 # Permission is hereby granted, free of charge, to any person obtaining a
5 # copy of this software and associated documentation files (the "Software"),
6 # to deal in the Software without restriction, including without limitation
7 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 # and/or sell copies of the Software, and to permit persons to whom the
9 # Software is furnished to do so, subject to the following conditions:
11 # The above copyright notice and this permission notice shall be included in
12 # all copies or substantial portions of the Software.
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19 # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 # Except as contained in this notice, the name of the XFree86 Project shall
23 # not be used in advertising or otherwise to promote the sale, use or other
24 # dealings in this Software without prior written authorization from the
27 # $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
29 # **********************************************************************
30 # This is a sample configuration file only, intended to illustrate
31 # what a config file might look like. Refer to the xorg.conf(__filemansuffix__)
32 # man page for details about the format of this file.
33 # **********************************************************************
35 # The ordering of sections is not important in XFree86 4.0 and later,
36 # nor in any Xorg release.
38 # **********************************************************************
39 # Files section. This allows default font and module paths to be set
40 # **********************************************************************
44 # Multiple FontPath entries are allowed (which are concatenated together),
45 # as well as specifying multiple comma-separated entries in one FontPath
46 # command (or a combination of both methods).
47 # The default path is shown here.
49 # FontPath DEFAULTFONTPATH
51 # ModulePath can be used to set a search path for the X server modules.
52 # The default path is shown here.
54 # ModulePath MODULEPATH
58 # **********************************************************************
59 # Module section -- this is an optional section which is used to specify
60 # which run-time loadable modules to load when the X server starts up.
61 # **********************************************************************
65 # This loads the DBE extension module.
69 # This loads the miscellaneous extensions module, and disables
70 # initialisation of the XFree86-DGA extension within that module.
73 Option
"omit xfree86-dga"
79 # **********************************************************************
80 # Server flags section. This contains various server-wide Options.
81 # **********************************************************************
85 # Uncomment this to cause a core dump at the spot where a signal is
86 # received. This may leave the console in an unusable state, but may
87 # provide a better stack trace in the core dump to aid in debugging
89 # Option "NoTrapSignals"
91 # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
92 # (where n is 1 through 12). This allows clients to receive these key
95 # Option "DontVTSwitch"
97 # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
98 # This allows clients to receive this key event.
100 # Option "DontZap" "false"
102 # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
103 # sequences. This allows clients to receive these key events.
107 # Uncomment this to disable tuning with the xvidtune client. With
108 # it the client can still run and fetch card and monitor attributes,
109 # but it will not be allowed to change them. If it tries it will
110 # receive a protocol error.
112 # Option "DisableVidModeExtension"
114 # Uncomment this to enable the use of a non-local xvidtune client.
116 # Option "AllowNonLocalXvidtune"
118 # Set the basic blanking screen saver timeout.
120 Option
"BlankTime" "10" # 10 minutes
122 # Set the DPMS timeouts. These are set here because they are global
123 # rather than screen-specific. These settings alone don't enable DPMS.
124 # It is enabled per-screen (or per-monitor), and even then only when
125 # the driver supports it.
127 Option "StandbyTime" "10" # 10 minutes
128 Option "SuspendTime" "10" # 10 minutes
129 Option "OffTime" "10" # 10 minutes
133 # **********************************************************************
135 # **********************************************************************
137 # **********************************************************************
138 # Core keyboard's InputDevice section
139 # **********************************************************************
141 Section
"InputDevice"
143 Identifier
"Keyboard1"
146 # Set the keyboard auto repeat parameters. Not all platforms implement
149 Option
"AutoRepeat" "500 5"
151 # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
153 # Option "Xleds" "1 2 3"
155 # To customise the XKB settings to suit your keyboard, modify the
156 # lines below (which are the defaults). For example, for a European
157 # keyboard, you will probably want to use one of:
159 # Option "XkbModel" "pc102"
160 # Option "XkbModel" "pc105"
162 # If you have a Microsoft Natural keyboard, you can use:
164 # Option "XkbModel" "microsoft"
166 # If you have a US "windows" keyboard you will want:
168 # Option "XkbModel" "pc104"
170 # Then to change the language, change the Layout setting.
171 # For example, a german layout can be obtained with:
173 # Option "XkbLayout" "de"
177 # Option "XkbLayout" "de"
178 # Option "XkbVariant" "nodeadkeys"
180 # If you'd like to switch the positions of your capslock and
183 # Option "XkbOptions" "ctrl:swapcaps"
186 # These are the default XKB settings for xorg
188 # Option "XkbRules" "xorg"
189 # Option "XkbModel" "pc105"
190 # Option "XkbLayout" "us"
191 # Option "XkbVariant" ""
192 # Option "XkbOptions" ""
197 # **********************************************************************
198 # Core Pointer's InputDevice section
199 # **********************************************************************
201 Section
"InputDevice"
203 # Identifier and driver
208 # The mouse protocol and device. The device is normally set to /dev/mouse,
209 # which is usually a symbolic link to the real device.
211 Option
"Protocol" "Microsoft"
212 Option
"Device" "/dev/mouse"
214 # On platforms where PnP mouse detection is supported the following
215 # protocol setting can be used when using a newer PnP mouse:
217 # Option "Protocol" "Auto"
219 # When using mouse connected to a PS/2 port (aka "MousePort"), set the
220 # the protocol as follows. On some platforms some other settings may
223 # Option "Protocol" "PS/2"
225 # Baudrate and SampleRate are only for some older Logitech mice. In
226 # almost every case these lines should be omitted.
228 # Option "BaudRate" "9600"
229 # Option "SampleRate" "150"
231 # Emulate3Buttons is an option for 2-button mice
232 # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
234 # Option "Emulate3Buttons"
235 # Option "Emulate3Timeout" "50"
237 # ChordMiddle is an option for some 3-button Logitech mice, or any
238 # 3-button mouse where the middle button generates left+right button
241 # Option "ChordMiddle"
245 Section
"InputDevice"
248 Option
"Protocol" "MouseMan"
249 Option
"Device" "/dev/mouse2"
252 # Some examples of extended input devices
254 # Section "InputDevice"
255 # Identifier "spaceball"
257 # Option "Device" "/dev/cua0"
260 # Section "InputDevice"
261 # Identifier "spaceball2"
263 # Option "Device" "/dev/cua0"
266 # Section "InputDevice"
267 # Identifier "touchscreen0"
268 # Driver "microtouch"
269 # Option "Device" "/dev/ttyS0"
270 # Option "MinX" "1412"
271 # Option "MaxX" "15184"
272 # Option "MinY" "15372"
273 # Option "MaxY" "1230"
274 # Option "ScreenNumber" "0"
275 # Option "ReportingMode" "Scaled"
276 # Option "ButtonNumber" "1"
277 # Option "SendCoreEvents"
280 # Section "InputDevice"
281 # Identifier "touchscreen1"
283 # Option "Device" "/dev/ttyS0"
284 # Option "MinX" "231"
285 # Option "MaxX" "3868"
286 # Option "MinY" "3858"
287 # Option "MaxY" "272"
288 # Option "ScreenNumber" "0"
289 # Option "ReportingMode" "Scaled"
290 # Option "ButtonThreshold" "17"
291 # Option "ButtonNumber" "1"
292 # Option "SendCoreEvents"
295 # **********************************************************************
297 # **********************************************************************
299 # Any number of monitor sections may be present
303 # The identifier line must be present.
305 Identifier
"Generic Monitor"
307 # HorizSync is in kHz unless units are specified.
308 # HorizSync may be a comma separated list of discrete values, or a
309 # comma separated list of ranges of values.
310 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
311 # USER MANUAL FOR THE CORRECT NUMBERS.
313 # HorizSync 31.5 # typical for a single frequency fixed-sync monitor
314 # HorizSync 30-64 # multisync
315 # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
316 # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
318 # VertRefresh is in Hz unless units are specified.
319 # VertRefresh may be a comma separated list of discrete values, or a
320 # comma separated list of ranges of values.
321 # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
322 # USER MANUAL FOR THE CORRECT NUMBERS.
324 # VertRefresh 60 # typical for a single frequency fixed-sync monitor
326 # VertRefresh 50-100 # multisync
327 # VertRefresh 60, 65 # multiple fixed sync frequencies
328 # VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
330 # Modes can be specified in two formats. A compact one-line format, or
331 # a multi-line format.
333 # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
334 # These two are equivalent
336 # ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
340 HTimings
640 664 760 800
341 VTimings
480 491 493 525
344 # These two are equivalent
346 # ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
350 # HTimings 1024 1048 1208 1264
351 # VTimings 768 776 784 817
355 # If a monitor has DPMS support, that can be indicated here. This will
356 # enable DPMS when the monitor is used with drivers that support it.
360 # If a monitor requires that the sync signals be superimposed on the
361 # green signal, the following option will enable this when used with
362 # drivers that support it. Only a relatively small range of hardware
363 # (and drivers) actually support this.
365 # Option "sync on green"
369 # **********************************************************************
370 # Graphics device section
371 # **********************************************************************
373 # Any number of graphics device sections may be present
377 # The Identifier must be present.
379 Identifier
"Generic VESA"
381 # The Driver line must be present. When using run-time loadable driver
382 # modules, this line instructs the server to load the specified driver
383 # module. Even when not using loadable driver modules, this line
384 # indicates which driver should interpret the information in this section.
388 # The chipset line is optional in most cases. It can be used to override
389 # the driver's chipset detection, and should not normally be specified.
393 # Various other lines can be specified to override the driver's automatic
394 # detection code. In most cases they are not needed.
399 # The BusID line is used to specify which of possibly multiple devices
400 # this section is intended for. When this line isn't present, a device
401 # section can only match up with the primary video device. For PCI
402 # devices a line like the following could be used. This line should not
403 # normally be included unless there is more than one video device
408 # Various option lines can be added here as required. Some options
409 # are more appropriate in Screen sections, Display subsections or even
412 # Option "hw cursor" "off"
417 Identifier "any supported Trident chip"
422 Identifier "MGA Millennium I"
424 Option "hw cursor" "off"
429 Identifier "MGA G200 AGP"
436 # **********************************************************************
438 # **********************************************************************
440 # Any number of screen sections may be present. Each describes
441 # the configuration of a single screen. A single specific screen section
442 # may be specified from the X server command line with the "-screen"
447 # The Identifier, Device and Monitor lines must be present
449 Identifier "Screen 1"
450 Device "Generic VESA"
451 Monitor "Generic Monitor"
453 # The favoured Depth and/or Bpp may be specified here
478 Identifier "Screen MGA1"
479 Device "MGA Millennium I"
480 Monitor "Generic Monitor"
488 Option "rgb bits" "8"
503 Identifier "Screen MGA2"
504 Device "MGA G200 AGP"
505 Monitor "Generic Monitor"
511 Option "rgb bits" "8"
517 # **********************************************************************
518 # ServerLayout sections.
519 # **********************************************************************
521 # Any number of ServerLayout sections may be present. Each describes
522 # the way multiple screens are organised. A specific ServerLayout
523 # section may be specified from the X server command line with the
524 # "-layout" option. In the absence of this, the first section is used.
525 # When now ServerLayout section is present, the first Screen section
528 Section "ServerLayout"
530 # The Identifier line must be present
532 Identifier "Main Layout"
534 # Each Screen line specifies a Screen section name, and optionally
535 # the relative position of other screens. The four names after
536 # primary screen name are the screens to the top, bottom, left and right
537 # of the primary screen. In this example, screen 2 is located to the
540 Screen "Screen MGA 1" "" "" "" "Screen MGA 2"
541 Screen "Screen MGA 2" "" "" "Screen MGA 1" ""
543 # Each InputDevice line specifies an InputDevice section name and
544 # optionally some options to specify the way the device is to be
545 # used. Those options include "CorePointer", "CoreKeyboard" and
546 # "SendCoreEvents". In this example, "Mouse1" is the core pointer,
547 # and "Mouse2" is an extended input device that also generates core
548 # pointer events (i.e., both mice will move the standard pointer).
550 InputDevice "Mouse1" "CorePointer"
551 InputDevice "Mouse2" "SendCoreEvents"
552 InputDevice "Keyboard1" "CoreKeyboard"
557 Section "ServerLayout"
558 Identifier "another layout"
560 Screen "Screen MGA 1"
561 InputDevice "Mouse1" "CorePointer"
562 InputDevice "Keyboard1" "CoreKeyboard"
566 Section "ServerLayout"
567 Identifier "simple layout"
569 InputDevice "Mouse1" "CorePointer"
570 InputDevice "Keyboard1" "CoreKeyboard"