1 dawes 3.40 XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.39 1999/05/30 07:50:48 dawes Exp $
|
2 dawes 1.1 XCOMM
|
3 dawes 3.31 XCOMM Copyright (c) 1994-1998 by The XFree86 Project, Inc.
|
4 dawes 3.3 XCOMM
5 XCOMM Permission is hereby granted, free of charge, to any person obtaining a
6 XCOMM copy of this software and associated documentation files (the "Software"),
7 XCOMM to deal in the Software without restriction, including without limitation
8 XCOMM the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 XCOMM and/or sell copies of the Software, and to permit persons to whom the
10 XCOMM Software is furnished to do so, subject to the following conditions:
11 XCOMM
12 XCOMM The above copyright notice and this permission notice shall be included in
13 XCOMM all copies or substantial portions of the Software.
14 XCOMM
15 XCOMM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 XCOMM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 XCOMM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 XCOMM THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19 XCOMM WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
20 XCOMM OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 XCOMM SOFTWARE.
22 XCOMM
23 XCOMM Except as contained in this notice, the name of the XFree86 Project shall
24 XCOMM not be used in advertising or otherwise to promote the sale, use or other
25 dawes 3.3 XCOMM dealings in this Software without prior written authorization from the
26 XCOMM XFree86 Project.
|
27 dawes 1.1 XCOMM
|
28 dawes 3.29 XCOMM $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
|
29 dawes 1.1
30 XCOMM **********************************************************************
|
31 dawes 3.31 XCOMM This is a sample configuration file only, intended to illustrate
32 XCOMM what a config file might look like. Refer to the XF86Config(4/5)
33 XCOMM man page for details about the format of this file. This man page
34 XCOMM is installed as MANPAGE
|
35 dawes 1.1 XCOMM **********************************************************************
36
|
37 dawes 3.31 XCOMM The ordering of sections is not important in version 4.0 and later.
38
|
39 dawes 1.1 XCOMM **********************************************************************
40 XCOMM Files section. This allows default font and rgb paths to be set
41 XCOMM **********************************************************************
42
43 Section "Files"
|
44 dawes 3.9
45 XCOMM The location of the RGB database. Note, this is the name of the
46 XCOMM file minus the extension (like ".txt" or ".db"). There is normally
47 XCOMM no need to change the default.
|
48 dawes 1.1
49 RgbPath RGBPATH
50
51 XCOMM Multiple FontPath entries are allowed (which are concatenated together),
52 XCOMM as well as specifying multiple comma-separated entries in one FontPath
53 XCOMM command (or a combination of both methods)
54
|
55 dawes 3.33 FontPath LOCALFONTPATH
|
56 dawes 1.1 FontPath MISCFONTPATH
|
57 dawes 3.31 FontPath DPI75USFONTPATH
58 FontPath DPI100USFONTPATH
59 FontPath T1FONTPATH
|
60 dawes 3.37 FontPath CIDFONTPATH
|
61 dawes 3.31 FontPath SPFONTPATH
62 FontPath DPI75FONTPATH
63 FontPath DPI100FONTPATH
64
65 XCOMM ModulePath can be used to set a search path for the X server modules.
66 XCOMM The default path is shown here.
|
67 dawes 3.26
68 XCOMM ModulePath MODULEPATH
69
|
70 dawes 1.1 EndSection
71
72 XCOMM **********************************************************************
|
73 dawes 3.26 XCOMM Module section -- this is an optional section which is used to specify
|
74 dawes 3.31 XCOMM which run-time loadable modules to load when the X server starts up.
|
75 dawes 3.26 XCOMM **********************************************************************
|
76 dawes 3.31
77 Section "Module"
78
79 XCOMM This loads the DBE extension module.
80
81 Load "dbe"
82
83 XCOMM This loads the miscellaneous extensions module, and disables
84 XCOMM initialisation of the XFree86-DGA extension within that module.
85
86 SubSection "extmod"
87 Option "omit xfree86-dga"
88 EndSubSection
89
90 XCOMM This loads the Type1 and FreeType font modules
91
92 Load "type1"
93 Load "freetype"
|
94 dawes 3.32
95 XCOMM Some examples of XInput devices
96
97 XCOMM SubSection "magellan"
98 XCOMM Option "Device" "/dev/cua0"
99 XCOMM Option "DeviceName" "spaceball"
100 XCOMM EndSubSection
101 XCOMM
102 XCOMM SubSection "spaceorb"
103 XCOMM Option "Device" "/dev/cua0"
104 XCOMM Option "DeviceName" "spaceball"
105 XCOMM EndSubSection
106 XCOMM
107 XCOMM SubSection "microtouch"
108 XCOMM Option "Identifier" "touchscreen0"
109 XCOMM Option "DeviceName" "touchscreen0"
110 XCOMM Option "Device" "/dev/ttyS0"
111 XCOMM Option "MinX" "1412"
112 XCOMM Option "MaxX" "15184"
113 XCOMM Option "MinY" "15372"
114 XCOMM Option "MaxY" "1230"
115 dawes 3.32 XCOMM Option "ScreenNumber" "0"
116 XCOMM Option "ReportingMode" "Scaled"
117 XCOMM Option "ButtonNumber" "1"
118 XCOMM Option "SendCoreEvents" "True"
119 XCOMM EndSubSection
120 XCOMM
121 XCOMM SubSection "elo2300"
122 XCOMM Option "Identifier" "touchscreen0"
123 XCOMM Option "DeviceName" "touchscreen0"
124 XCOMM Option "Device" "/dev/ttyS0"
125 XCOMM Option "MinX" "231"
126 XCOMM Option "MaxX" "3868"
127 XCOMM Option "MinY" "3858"
128 XCOMM Option "MaxY" "272"
129 XCOMM Option "ScreenNumber" "0"
130 XCOMM Option "ReportingMode" "Scaled"
131 XCOMM Option "ButtonThreshold" "17"
132 XCOMM Option "ButtonNumber" "1"
133 XCOMM Option "SendCoreEvents" "True"
134 XCOMM EndSubSection
|
135 dawes 3.31
136 EndSection
137
|
138 dawes 3.26
139 XCOMM **********************************************************************
|
140 dawes 3.31 XCOMM Server flags section. This contains various server-wide Options.
|
141 dawes 1.1 XCOMM **********************************************************************
142
143 Section "ServerFlags"
144
145 XCOMM Uncomment this to cause a core dump at the spot where a signal is
146 XCOMM received. This may leave the console in an unusable state, but may
147 XCOMM provide a better stack trace in the core dump to aid in debugging
148
|
149 dawes 3.31 XCOMM Option "NoTrapSignals"
|
150 dawes 1.1
151 XCOMM Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
|
152 dawes 3.10 XCOMM This allows clients to receive this key event.
|
153 dawes 1.1
|
154 dawes 3.31 XCOMM Option "DontZap"
|
155 dawes 3.10
156 XCOMM Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
157 XCOMM sequences. This allows clients to receive these key events.
158
|
159 dawes 3.31 XCOMM Option "DontZoom"
|
160 dawes 3.16
|
161 dawes 3.18 XCOMM Uncomment this to disable tuning with the xvidtune client. With
162 XCOMM it the client can still run and fetch card and monitor attributes,
163 XCOMM but it will not be allowed to change them. If it tries it will
164 XCOMM receive a protocol error.
|
165 dawes 3.16
|
166 dawes 3.31 XCOMM Option "DisableVidModeExtension"
|
167 dawes 3.16
168 XCOMM Uncomment this to enable the use of a non-local xvidtune client.
169
|
170 dawes 3.31 XCOMM Option "AllowNonLocalXvidtune"
|
171 dawes 3.25
172 XCOMM Uncomment this to disable dynamically modifying the input device
173 XCOMM (mouse and keyboard) settings.
174
|
175 dawes 3.31 XCOMM Option "DisableModInDev"
|
176 dawes 3.25
177 XCOMM Uncomment this to enable the use of a non-local client to
178 XCOMM change the keyboard or mouse settings (currently only xset).
179
|
180 dawes 3.31 XCOMM Option "AllowNonLocalModInDev"
181
182 XCOMM Set the basic blanking screen saver timeout.
183
184 Option "blank time" "10" # 10 minutes
185
186 XCOMM Set the DPMS timeouts. These are set here because they are global
187 XCOMM rather than screen-specific. These settings alone don't enable DPMS.
188 XCOMM It is enabled per-screen (or per-monitor), and even then only when
189 XCOMM the driver supports it.
190
191 Option "standby time" "20"
192 Option "suspend time" "30"
193 Option "off time" "60"
|
194 dawes 1.1
195 EndSection
196
197 XCOMM **********************************************************************
198 XCOMM Input devices
199 XCOMM **********************************************************************
200
201 XCOMM **********************************************************************
|
202 dawes 3.39 XCOMM Core keyboard's InputDevice section
|
203 dawes 1.1 XCOMM **********************************************************************
204
|
205 dawes 3.39 Section "InputDevice"
|
206 dawes 3.31
|
207 dawes 3.39 Identifier "Keyboard1"
208 Driver "keyboard"
|
209 dawes 1.1
|
210 dawes 3.39 XCOMM For most OSs the protocol can be omitted (it defaults to "Standard").
|
211 dawes 3.31 XCOMM When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
212 XCOMM out the above line, and uncomment the following line.
|
213 dawes 1.1
|
214 dawes 3.39 XCOMM Option "Protocol" "Xqueue"
|
215 dawes 1.1
|
216 dawes 3.31 XCOMM Set the keyboard auto repeat parameters. Not all platforms implement
217 XCOMM this.
218
|
219 dawes 3.39 Option "AutoRepeat" "500 5"
|
220 dawes 3.8
|
221 dawes 3.31 XCOMM Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
|
222 dawes 1.1
|
223 dawes 3.39 XCOMM Option "Xleds" "1 2 3"
|
224 dawes 1.1
|
225 dawes 3.20 XCOMM To disable the XKEYBOARD extension, uncomment XkbDisable.
226
|
227 dawes 3.39 XCOMM Option "XkbDisable"
|
228 dawes 3.20
|
229 dawes 3.24 XCOMM To customise the XKB settings to suit your keyboard, modify the
|
230 dawes 3.31 XCOMM lines below (which are the defaults). For example, for a European
231 XCOMM keyboard, you will probably want to use one of:
232 XCOMM
|
233 dawes 3.39 XCOMM Option "XkbModel" "pc102"
234 XCOMM Option "XkbModel" "pc105"
|
235 dawes 3.31 XCOMM
|
236 dawes 3.27 XCOMM If you have a Microsoft Natural keyboard, you can use:
|
237 dawes 3.31 XCOMM
|
238 dawes 3.39 XCOMM Option "XkbModel" "microsoft"
|
239 dawes 3.31 XCOMM
240 XCOMM If you have a US "windows" keyboard you will want:
241 XCOMM
|
242 dawes 3.40 XCOMM Option "XkbModel" "pc104"
|
243 dawes 3.27 XCOMM
244 XCOMM Then to change the language, change the Layout setting.
245 XCOMM For example, a german layout can be obtained with:
|
246 dawes 3.31 XCOMM
|
247 dawes 3.40 XCOMM Option "XkbLayout" "de"
|
248 dawes 3.31 XCOMM
|
249 dawes 3.27 XCOMM or:
|
250 dawes 3.31 XCOMM
|
251 dawes 3.40 XCOMM Option "XkbLayout" "de"
252 XCOMM Option "XkbVariant" "nodeadkeys"
|
253 dawes 3.27 XCOMM
254 XCOMM If you'd like to switch the positions of your capslock and
255 XCOMM control keys, use:
|
256 dawes 3.31 XCOMM
|
257 dawes 3.40 XCOMM Option "XkbOptions" "ctrl:swapcaps"
|
258 dawes 3.27
|
259 dawes 3.19
|
260 dawes 3.24 XCOMM These are the default XKB settings for XFree86
|
261 dawes 3.31 XCOMM
|
262 dawes 3.40 XCOMM Option "XkbRules" "xfree86"
263 XCOMM Option "XkbModel" "pc101"
264 XCOMM Option "XkbLayout" "us"
265 XCOMM Option "XkbVariant" ""
266 XCOMM Option "XkbOptions" ""
|
267 dawes 1.1
268 EndSection
269
270
271 XCOMM **********************************************************************
|
272 dawes 3.38 XCOMM Core Pointer's InputDevice section
|
273 dawes 1.1 XCOMM **********************************************************************
274
|
275 dawes 3.38 Section "InputDevice"
276
277 XCOMM Identifier and driver
278
279 Identifier "Mouse1"
280 Driver "mouse"
|
281 dawes 1.1
|
282 dawes 3.31 XCOMM The mouse protocol and device. The device is normally set to /dev/mouse,
283 XCOMM which is usually a symbolic link to the real device.
284
|
285 dawes 3.38 Option "Protocol" "Microsoft"
286 Option "Device" "/dev/mouse"
|
287 dawes 3.31
288 XCOMM On platforms where PnP mouse detection is supported the following
289 XCOMM protocol setting can be used when using a newer PnP mouse:
290
|
291 dawes 3.38 XCOMM Option "Protocol" "Auto"
|
292 dawes 3.31
293 XCOMM When using mouse connected to a PS/2 port (aka "MousePort), set the
294 XCOMM the protocol as follows. On some platforms some other settings may
295 XCOMM be available.
|
296 dawes 1.1
|
297 dawes 3.38 XCOMM Option "Protocol" "PS/2"
|
298 dawes 3.31
299 XCOMM When using XQUEUE (only for SVR3 and SVR4, but not Solaris), use
300 XCOMM the following instead of any of the lines above. The Device line
301 XCOMM is not required in this case.
|
302 dawes 1.1
|
303 dawes 3.38 XCOMM Option "Protocol" "Xqueue"
|
304 dawes 1.1
|
305 dawes 3.31 XCOMM Baudrate and SampleRate are only for some older Logitech mice. In
306 XCOMM almost every case these lines should be omitted.
|
307 dawes 1.1
|
308 dawes 3.38 XCOMM Option "BaudRate" "9600"
309 XCOMM Option "SampleRate" "150"
|
310 dawes 1.1
|
311 dawes 3.31 XCOMM Emulate3Buttons is an option for 2-button mice
|
312 dawes 3.12 XCOMM Emulate3Timeout is the timeout in milliseconds (default is 50ms)
|
313 dawes 1.1
|
314 dawes 3.38 XCOMM Option "Emulate3Buttons"
315 XCOMM Option "Emulate3Timeout" "50"
|
316 dawes 1.1
|
317 dawes 3.31 XCOMM ChordMiddle is an option for some 3-button Logitech mice, or any
318 XCOMM 3-button mouse where the middle button generates left+right button
319 XCOMM events.
|
320 dawes 1.1
|
321 dawes 3.38 XCOMM Option "ChordMiddle"
|
322 dawes 1.1
323 EndSection
|
324 dawes 3.15
|
325 dawes 3.38 Section "InputDevice"
326 Identifier "Mouse2"
327 Driver "mouse"
328 Option "Protocol" "MouseMan"
329 Option "Device" "/dev/mouse2"
330 EndSection
|
331 dawes 3.15
332 XCOMM **********************************************************************
|
333 dawes 1.1 XCOMM Monitor section
334 XCOMM **********************************************************************
335
336 XCOMM Any number of monitor sections may be present
337
338 Section "Monitor"
339
|
340 dawes 3.31 XCOMM The identifier line must be present.
341
|
342 dawes 1.1 Identifier "Generic Monitor"
|
343 dawes 3.31
344 XCOMM The VendorName and ModelName lines are optional.
|
345 dawes 1.1 VendorName "Unknown"
346 ModelName "Unknown"
347
348 XCOMM HorizSync is in kHz unless units are specified.
349 XCOMM HorizSync may be a comma separated list of discrete values, or a
350 XCOMM comma separated list of ranges of values.
|
351 dawes 3.5 XCOMM NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
352 XCOMM USER MANUAL FOR THE CORRECT NUMBERS.
|
353 dawes 1.1
|
354 dawes 3.31 XCOMM HorizSync 31.5 # typical for a single frequency fixed-sync monitor
|
355 dawes 3.4 XCOMM HorizSync 30-64 # multisync
356 XCOMM HorizSync 31.5, 35.2 # multiple fixed sync frequencies
357 XCOMM HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
|
358 dawes 1.1
359 XCOMM VertRefresh is in Hz unless units are specified.
360 XCOMM VertRefresh may be a comma separated list of discrete values, or a
361 XCOMM comma separated list of ranges of values.
|
362 dawes 3.5 XCOMM NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
363 XCOMM USER MANUAL FOR THE CORRECT NUMBERS.
|
364 dawes 1.1
|
365 dawes 3.31 XCOMM VertRefresh 60 # typical for a single frequency fixed-sync monitor
|
366 dawes 1.1
|
367 dawes 3.4 XCOMM VertRefresh 50-100 # multisync
368 XCOMM VertRefresh 60, 65 # multiple fixed sync frequencies
369 XCOMM VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
370
371 XCOMM Modes can be specified in two formats. A compact one-line format, or
|
372 dawes 1.1 XCOMM a multi-line format.
373
|
374 dawes 3.6 XCOMM A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
|
375 dawes 3.4 XCOMM These two are equivalent
376
|
377 dawes 3.6 XCOMM ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
|
378 dawes 1.1
379 Mode "640x480"
|
380 dawes 3.6 DotClock 25.175
|
381 dawes 1.1 HTimings 640 664 760 800
382 VTimings 480 491 493 525
383 EndMode
|
384 dawes 3.4
385 XCOMM These two are equivalent
|
386 dawes 1.1
387 XCOMM ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
388
389 XCOMM Mode "1024x768i"
390 XCOMM DotClock 45
391 XCOMM HTimings 1024 1048 1208 1264
392 XCOMM VTimings 768 776 784 817
|
393 dawes 3.2 XCOMM Flags "Interlace"
|
394 dawes 1.1 XCOMM EndMode
395
|
396 dawes 3.31 XCOMM If a monitor has DPMS support, that can be indicated here. This will
397 XCOMM enable DPMS when the montor is used with drivers that support it.
398
399 XCOMM Option "dpms"
400
401 XCOMM If a monitor requires that the sync signals be superimposed on the
402 XCOMM green signal, the following option will enable this when used with
403 XCOMM drivers that support it. Only a relatively small range of hardware
404 XCOMM (and drivers) actually support this.
405
406 XCOMM Option "sync on green"
407
|
408 dawes 1.1 EndSection
409
410 XCOMM **********************************************************************
411 XCOMM Graphics device section
412 XCOMM **********************************************************************
413
414 XCOMM Any number of graphics device sections may be present
415
416 Section "Device"
|
417 dawes 3.31
418 XCOMM The Identifier must be present.
419
|
420 dawes 1.1 Identifier "Generic VGA"
|
421 dawes 3.31
422 XCOMM The VendorName and BoardName lines are optional.
423
|
424 dawes 1.1 VendorName "Unknown"
425 BoardName "Unknown"
|
426 dawes 3.31
427 XCOMM The Driver line must be present. When using run-time loadable driver
428 XCOMM modules, this line instructs the server to load the specified driver
429 XCOMM module. Even when not using loadable driver modules, this line
430 XCOMM indicates which driver should interpret the information in this section.
431
432 Driver "vga"
433
434 XCOMM The chipset line is optional in most cases. It can be used to override
435 XCOMM the driver's chipset detection, and should not normally be specified.
436
437 XCOMM Chipset "generic"
438
439 XCOMM Various other lines can be specified to override the driver's automatic
440 XCOMM detection code. In most cases they are not needed.
441
|
442 dawes 1.1 XCOMM VideoRam 256
443 XCOMM Clocks 25.2 28.3
|
444 dawes 3.31
445 XCOMM The BusID line is used to specify which of possibly multiple devices
446 XCOMM this section is intended for. When this line isn't present, a device
447 XCOMM section can only match up with the primary video device. For PCI
448 XCOMM devices a line like the following could be used. This line should not
449 XCOMM normally be included unless there is more than one video device
450 XCOMM intalled.
451
452 XCOMM BusID "PCI:0:10:0"
453
454 XCOMM Various option lines can be added here as required. Some options
455 XCOMM are more appropriate in Screen sections, Display subsections or even
456 XCOMM Monitor sections.
457
458 XCOMM Option "hw cursor" "off"
459
|
460 dawes 3.6 EndSection
|
461 dawes 1.1
|
462 dawes 3.6 Section "Device"
|
463 dawes 3.31 Identifier "any supported Trident chip"
464 Driver "trident"
465 VendorName "Trident"
|
466 dawes 1.1 EndSection
467
|
468 dawes 3.31 Section "Device"
469 Identifier "MGA Millennium I"
470 Driver "mga"
471 Option "hw cursor" "off"
472 BusID "PCI:0:10:0"
473 EndSection
|
474 dawes 1.1
|
475 dawes 3.31 Section "Device"
476 Identifier "MGA G200 AGP"
477 Driver "mga"
478 BusID "PCI:1:0:0"
479 Option "pci retry"
480 EndSection
|
481 dawes 1.1
482
483 XCOMM **********************************************************************
|
484 dawes 3.31 XCOMM Screen sections.
|
485 dawes 1.1 XCOMM **********************************************************************
486
|
487 dawes 3.31 XCOMM Any number of screen sections may be present. Each describes
488 XCOMM the configuration of a single screen. A single specific screen section
489 XCOMM may be specified from the X server command line with the "-screen"
490 XCOMM option.
|
491 dawes 1.1
492 Section "Screen"
|
493 dawes 3.31
494 XCOMM The Identifier, Device and Monitor lines must be present
495
496 Identifier "Screen 1"
|
497 dawes 3.36 Device "Generic VGA"
|
498 dawes 1.1 Monitor "Generic Monitor"
|
499 dawes 3.31
500 XCOMM The favoured Depth and/or Bpp may be specified here
501
502 DefaultDepth 8
503
504 SubSection "Display"
505 Depth 8
506 Modes "640x480"
507 ViewPort 0 0
508 Virtual 800 600
|
509 dawes 1.1 EndSubsection
|
510 dawes 3.31
511 SubSection "Display"
512 Depth 4
513 Modes "640x480"
514 EndSubSection
515
516 SubSection "Display"
517 Depth 1
518 Modes "640x480"
519 EndSubSection
520
|
521 dawes 1.1 EndSection
522
523
524 Section "Screen"
|
525 dawes 3.31 Identifier "Screen MGA1"
526 Device "MGA Millennium I"
527 Monitor "Generic Monitor"
528 Option "no accel"
529 DefaultDepth 16
530 XCOMM DefaultDepth 24
531
532 SubSection "Display"
533 Depth 8
534 Modes "1280x1024"
535 Option "rgb bits" "8"
536 Visual "StaticColor"
537 EndSubSection
538 SubSection "Display"
539 Depth 16
540 Modes "1280x1024"
541 EndSubSection
542 SubSection "Display"
543 Depth 24
544 Modes "1280x1024"
545 EndSubSection
|
546 dawes 1.1 EndSection
547
548
549 Section "Screen"
|
550 dawes 3.31 Identifier "Screen MGA2"
551 Device "MGA G200 AGP"
552 Monitor "Generic Monitor"
553 DefaultDepth 8
554
555 SubSection "Display"
556 Depth 8
557 Modes "1280x1024"
558 Option "rgb bits" "8"
559 Visual "StaticColor"
560 EndSubSection
561 EndSection
562
563
564 XCOMM **********************************************************************
565 XCOMM ServerLayout sections.
566 XCOMM **********************************************************************
567
568 XCOMM Any number of ServerLayout sections may be present. Each describes
569 XCOMM the way multiple screens are organised. A specific ServerLayout
570 XCOMM section may be specified from the X server command line with the
571 dawes 3.31 XCOMM "-layout" option. In the absence of this, the first section is used.
572 XCOMM When now ServerLayout section is present, the first Screen section
573 XCOMM is used alone.
574
575 Section "ServerLayout"
576
577 XCOMM The Identifier line must be present
578
579 Identifier "Main Layout"
580
581 XCOMM Each Screen line specifies a Screen section name, and optionally
582 XCOMM the relative position of other screens. The four names after
583 XCOMM primary screen name are the screens to the top, bottom, left and right
584 XCOMM of the primary screen. In this example, screen 2 is located to the
585 XCOMM right of screen 1.
586
587 Screen "Screen MGA 1" "" "" "" "Screen MGA 2"
588 Screen "Screen MGA 2" "" "" "Screen MGA 1" ""
589
|
590 dawes 3.38 XCOMM Each InputDevice line specifies an InputDevice section name and
591 XCOMM optionally some options to specify the way the device is to be
592 XCOMM used. Those options include "CorePointer", "CoreKeyboard" and
593 XCOMM "SendCoreEvents". In this example, "Mouse1" is the core pointer,
594 XCOMM and "Mouse2" is an extended input device that also generates core
595 XCOMM pointer events (i.e., both mice will move the standard pointer).
596
597 InputDevice "Mouse1" "CorePointer"
598 InputDevice "Mouse2" "SendCoreEvents"
|
599 dawes 3.39 InputDevice "Keyboard1" "CoreKeyboard"
|
600 dawes 3.38
|
601 dawes 1.1 EndSection
|
602 dawes 3.14
|
603 dawes 1.1
|
604 dawes 3.31 Section "ServerLayout"
605 Identifier "another layout"
606 Screen "Screen 1"
607 Screen "Screen MGA 1"
|
608 dawes 3.38 InputDevice "Mouse1" "CorePointer"
|
609 dawes 3.39 InputDevice "Keyboard1" "CoreKeyboard"
|
610 dawes 3.31 EndSection
611
|
612 dawes 1.1
|
613 dawes 3.31 Section "ServerLayout"
614 Identifier "simple layout"
615 Screen "Screen 1"
|
616 dawes 3.38 InputDevice "Mouse1" "CorePointer"
|
617 dawes 3.39 InputDevice "Keyboard1" "CoreKeyboard"
|
618 dawes 3.31 EndSection
|
619 dawes 1.1
|