home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / live / usr / X11R6 / lib / X11 / XF86Config.eg < prev    next >
Text File  |  1999-09-03  |  14KB  |  484 lines

  1. # $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.29.2.3 1999/06/02 07:50:27 hohndel Exp $
  2. #
  3. # Copyright (c) 1994 by The XFree86 Project, Inc.
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software"),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # 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.
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  16. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  17. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  18. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. # SOFTWARE.
  20. # Except as contained in this notice, the name of the XFree86 Project shall
  21. # not be used in advertising or otherwise to promote the sale, use or other
  22. # dealings in this Software without prior written authorization from the
  23. # XFree86 Project.
  24. #
  25. # $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
  26.  
  27. # **********************************************************************
  28. # Refer to the XF86Config(4/5) man page for details about the format of 
  29. # this file. This man page is installed as /usr/X11R6/man/man5/XF86Config.5x 
  30. # **********************************************************************
  31.  
  32. # **********************************************************************
  33. # Files section.  This allows default font and rgb paths to be set
  34. # **********************************************************************
  35.  
  36. Section "Files"
  37.  
  38. # The location of the RGB database.  Note, this is the name of the
  39. # file minus the extension (like ".txt" or ".db").  There is normally
  40. # no need to change the default.
  41.  
  42.     RgbPath    "/usr/X11R6/lib/X11/rgb"
  43.  
  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.  
  48. FontPath  "/usr/X11R6/lib/X11/fonts/local/"
  49.     FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
  50. FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  51. FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  52. FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
  53. FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
  54. FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
  55. FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
  56.  
  57. # For OSs that support Dynamically loaded modules, ModulePath can be
  58. # used to set a search path for the modules.  This is currently supported
  59. # for Linux ELF, FreeBSD 2.x and NetBSD 1.x.  The default path is shown
  60. # here.
  61.  
  62. #    ModulePath    "/usr/X11R6/lib/modules"
  63.  
  64. EndSection
  65.  
  66. # **********************************************************************
  67. # Module section -- this is an optional section which is used to specify
  68. # which dynamically loadable modules to load.  Dynamically loadable
  69. # modules are currently supported only for Linux ELF, FreeBSD 2.x
  70. # and NetBSD 1.x.  Currently, dynamically loadable modules are used
  71. # only for some extended input (XInput) device drivers.
  72. # **********************************************************************
  73. #
  74. # Section "Module"
  75. #
  76. # This loads the module for the Joystick driver
  77. #
  78. # Load "xf86Jstk.so"
  79. #
  80. # EndSection
  81.  
  82. # **********************************************************************
  83. # Server flags section.
  84. # **********************************************************************
  85.  
  86. Section "ServerFlags"
  87.  
  88. # Uncomment this to cause a core dump at the spot where a signal is 
  89. # received.  This may leave the console in an unusable state, but may
  90. # provide a better stack trace in the core dump to aid in debugging
  91.  
  92. #    NoTrapSignals
  93.  
  94. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  95. # This allows clients to receive this key event.
  96.  
  97. #    DontZap
  98.  
  99. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  100. # sequences.  This allows clients to receive these key events.
  101.  
  102. #    DontZoom
  103.  
  104. # Uncomment this to disable tuning with the xvidtune client. With
  105. # it the client can still run and fetch card and monitor attributes,
  106. # but it will not be allowed to change them. If it tries it will
  107. # receive a protocol error.
  108.  
  109. #    DisableVidModeExtension
  110.  
  111. # Uncomment this to enable the use of a non-local xvidtune client.
  112.  
  113. #    AllowNonLocalXvidtune
  114.  
  115. # Uncomment this to disable dynamically modifying the input device
  116. # (mouse and keyboard) settings.
  117.  
  118. #    DisableModInDev
  119.  
  120. # Uncomment this to enable the use of a non-local client to
  121. # change the keyboard or mouse settings (currently only xset).
  122.  
  123. #    AllowNonLocalModInDev
  124.  
  125. EndSection
  126.  
  127. # **********************************************************************
  128. # Input devices
  129. # **********************************************************************
  130.  
  131. # **********************************************************************
  132. # Keyboard section
  133. # **********************************************************************
  134.  
  135. Section "Keyboard"
  136.  
  137.     Protocol    "Standard"
  138.  
  139. # when using XQUEUE, comment out the above line, and uncomment the
  140. # following line
  141.  
  142. #    Protocol    "Xqueue"
  143.  
  144.     AutoRepeat    500 5
  145.  
  146. # Let the server do the NumLock processing.  This should only be required
  147. # when using pre-R6 clients
  148. #    ServerNumLock
  149.  
  150. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
  151. #    Xleds      1 2 3
  152.  
  153. # To set the LeftAlt to Meta, RightAlt key to ModeShift, 
  154. # RightCtl key to Compose, and ScrollLock key to ModeLock:
  155.  
  156. #    LeftAlt     Meta
  157. #    RightAlt    ModeShift
  158. #    RightCtl    Compose
  159. #    ScrollLock  ModeLock
  160.  
  161. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  162.  
  163. # XkbDisable
  164.  
  165. # To customise the XKB settings to suit your keyboard, modify the
  166. # lines below (which are the defaults).  For example, for a non-U.S.
  167. # keyboard, you will probably want to use:
  168. #    XkbModel    "pc102"
  169. # If you have a Microsoft Natural keyboard, you can use:
  170. #    XkbModel    "microsoft"
  171. #
  172. # Then to change the language, change the Layout setting.
  173. # For example, a german layout can be obtained with:
  174. #    XkbLayout   "de"
  175. # or:
  176. #    XkbLayout   "de"
  177. #    XkbVariant  "nodeadkeys"
  178. #
  179. # If you'd like to switch the positions of your capslock and
  180. # control keys, use:
  181. #    XkbOptions  "ctrl:swapcaps"
  182.  
  183.  
  184. # These are the default XKB settings for XFree86
  185. #    XkbRules    "xfree86"
  186. #    XkbModel    "pc101"
  187. #    XkbLayout   "us"
  188. #    XkbVariant  ""
  189. #    XkbOptions  ""
  190.  
  191. EndSection
  192.  
  193.  
  194. # **********************************************************************
  195. # Pointer section
  196. # **********************************************************************
  197.  
  198. Section "Pointer"
  199.  
  200.     Protocol    "Microsoft"
  201.     Device    "/dev/mouse"
  202.  
  203. # When using XQUEUE, comment out the above two lines, and uncomment
  204. # the following line.
  205.  
  206. #    Protocol    "Xqueue"
  207.  
  208. # Baudrate and SampleRate are only for some Logitech mice
  209.  
  210. #    BaudRate    9600
  211. #    SampleRate    150
  212.  
  213. # Emulate3Buttons is an option for 2-button Microsoft mice
  214. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  215.  
  216. #    Emulate3Buttons
  217. #    Emulate3Timeout    50
  218.  
  219. # ChordMiddle is an option for some 3-button Logitech mice
  220.  
  221. #    ChordMiddle
  222.  
  223. EndSection
  224.  
  225.  
  226. # **********************************************************************
  227. # Xinput section -- this is optional and is required only if you
  228. # are using extended input devices.  This is for example only.  Refer
  229. # to the XF86Config man page for a description of the options.
  230. # **********************************************************************
  231. #
  232. # Section "Xinput"
  233. #    SubSection "WacomStylus"
  234. #        Port "/dev/ttyS1"
  235. #        DeviceName "Wacom"
  236. #        AlwaysCore
  237. #    EndSubSection
  238. #    SubSection "WacomCursor"
  239. #        Port "/dev/ttyS1"
  240. #        AlwaysCore
  241. #    EndSubSection
  242. #    SubSection "WacomEraser"
  243. #        Port "/dev/ttyS1"
  244. #        AlwaysCore
  245. #    EndSubSection
  246. #
  247. #    SubSection "Elographics"
  248. #        Port "/dev/ttyS1"
  249. #        DeviceName "Elo"
  250. #        MinimumXPosition 300
  251. #        MaximumXPosition 3500
  252. #        MinimumYPosition 300
  253. #        MaximumYPosition 3500
  254. #        Screen 0
  255. #        UntouchDelay 10
  256. #        ReportDelay 10
  257. #        AlwaysCore
  258. #    EndSubSection
  259. #   
  260. #    SubSection "Joystick"
  261. #        Port "/dev/joy0"
  262. #        DeviceName "Joystick"
  263. #        TimeOut 10
  264. #        MinimumXPosition 100
  265. #        MaximumXPosition 1300
  266. #        MinimumYPosition 100
  267. #        MaximumYPosition 1100
  268. #        # CenterX 700
  269. #        # CenterY 600
  270. #        Delta 20
  271. #    EndSubSection
  272. #
  273. #    Subsection "AceCad"
  274. #        Port "/dev/ttyS1"
  275. #        Devicename "AceCad"
  276. #        AlwaysCore
  277. #        Mode Absolute
  278. #        Cursor Stylus
  279. #        Model Flair
  280. #    Endsubsection
  281. #
  282. # The Mouse Subsection contains the same type of entries as the
  283. # standard Pointer Section (see above), with the addition of the
  284. # DeviceName entry.
  285. #
  286. #    SubSection "Mouse"
  287. #        Port "/dev/mouse2"
  288. #        DeviceName "Second Mouse"
  289. #        Protocol "Logitech"
  290. #        AlwaysCore
  291. #    EndSubSection
  292. # EndSection
  293.  
  294.  
  295. # **********************************************************************
  296. # Monitor section
  297. # **********************************************************************
  298.  
  299. # Any number of monitor sections may be present
  300.  
  301. Section "Monitor"
  302.  
  303.     Identifier    "Generic Monitor"
  304.     VendorName    "Unknown"
  305.     ModelName    "Unknown"
  306.  
  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.
  312.  
  313.     HorizSync   31.5  # typical for a single frequency fixed-sync monitor
  314.  
  315. #    HorizSync    30-64         # multisync
  316. #    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
  317. #    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies
  318.  
  319. # VertRefresh is in Hz unless units are specified.
  320. # VertRefresh may be a comma separated list of discrete values, or a
  321. # comma separated list of ranges of values.
  322. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  323. # USER MANUAL FOR THE CORRECT NUMBERS.
  324.  
  325.     VertRefresh 60  # typical for a single frequency fixed-sync monitor
  326.  
  327. #    VertRefresh    50-100        # multisync
  328. #    VertRefresh    60, 65        # multiple fixed sync frequencies
  329. #    VertRefresh    40-50, 80-100 # multiple ranges of sync frequencies
  330.  
  331. # Modes can be specified in two formats.  A compact one-line format, or
  332. # a multi-line format.
  333.  
  334. # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
  335. # These two are equivalent
  336.  
  337. #    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
  338.  
  339.     Mode "640x480"
  340.         DotClock    25.175
  341.         HTimings    640 664 760 800
  342.         VTimings    480 491 493 525
  343.     EndMode
  344.  
  345. # These two are equivalent
  346.  
  347. #    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
  348.  
  349. #    Mode "1024x768i"
  350. #        DotClock    45
  351. #        HTimings    1024 1048 1208 1264
  352. #        VTimings    768 776 784 817
  353. #        Flags        "Interlace"
  354. #    EndMode
  355.  
  356. EndSection
  357.  
  358. # **********************************************************************
  359. # Graphics device section
  360. # **********************************************************************
  361.  
  362. # Any number of graphics device sections may be present
  363.  
  364. Section "Device"
  365.     Identifier    "Generic VGA"
  366.     VendorName    "Unknown"
  367.     BoardName    "Unknown"
  368.     Chipset    "generic"
  369. #    VideoRam    256
  370. #    Clocks    25.2 28.3
  371. EndSection
  372.  
  373. Section "Device"
  374.     # SVGA server auto-detected chipset
  375.     Identifier    "Generic SVGA"
  376.     VendorName    "Unknown"
  377.     BoardName    "Unknown"
  378. EndSection
  379.  
  380. # Section "Device"
  381. #    Identifier    "Any Trident TVGA 9000"
  382. #    VendorName    "Trident"
  383. #    BoardName    "TVGA 9000"
  384. #    Chipset    "tvga9000"
  385. #    VideoRam    512
  386. #    Clocks    25 28 45 36 57 65 50 40 25 28 0 45 72 77 80 75
  387. # EndSection
  388.  
  389. # Section "Device"
  390. #    Identifier    "Actix GE32+ 2MB"
  391. #    VendorName    "Actix"
  392. #    BoardName    "GE32+"
  393. #    Ramdac    "ATT20C490"
  394. #    Dacspeed    110
  395. #    Option    "dac_8_bit"
  396. #    Clocks     25.0  28.0  40.0   0.0  50.0  77.0  36.0  45.0
  397. #    Clocks    130.0 120.0  80.0  31.0 110.0  65.0  75.0  94.0
  398. # EndSection
  399.  
  400. # Section "Device"
  401. #    Identifier    "Hercules mono"
  402. # EndSection
  403.  
  404. # **********************************************************************
  405. # Screen sections
  406. # **********************************************************************
  407.  
  408. # The colour SVGA server
  409.  
  410. Section "Screen"
  411.     Driver    "svga"
  412.     Device    "Generic SVGA"
  413.     Monitor    "Generic Monitor"
  414.     DefaultColorDepth 8
  415.     Subsection "Display"
  416.         Depth        8
  417.         Modes        "640x480"
  418.         ViewPort    0 0
  419.         Virtual     800 600
  420.     EndSubsection
  421. EndSection
  422.  
  423. # The 16-colour VGA server
  424.  
  425. Section "Screen"
  426.     Driver    "vga16"
  427.     Device    "Generic VGA"
  428.     Monitor    "Generic Monitor"
  429.     Subsection "Display"
  430.         Modes        "640x480"
  431.         ViewPort    0 0
  432.         Virtual     800 600
  433.     EndSubsection
  434. EndSection
  435.  
  436. # The Mono server
  437.  
  438. Section "Screen"
  439.     Driver    "vga2"
  440.     Device    "Generic VGA"
  441.     Monitor    "Generic Monitor"
  442.     Subsection "Display"
  443.         Modes        "640x480"
  444.         ViewPort    0 0
  445.         Virtual     800 600
  446.     EndSubsection
  447. EndSection
  448.  
  449. # The hercules driver in the Mono and VGA16 servers
  450. #
  451. # Section "Screen"
  452. #     Driver    "mono"
  453. #     Device    "Hercules Mono"
  454. #     Monitor    "Generic Monitor"
  455. #     Subsection "Display"
  456. #     EndSubsection
  457. # EndSection
  458.  
  459. # The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32)
  460.  
  461. # Section "Screen"
  462. #     Driver    "accel"
  463. #     Device    "Actix GE32+ 2MB"
  464. #     Monitor    "Generic Monitor"
  465. #     DefaultColorDepth 8
  466. #     Subsection  "Display"
  467. #         Depth        8
  468. #         Modes        "640x480"
  469. #         ViewPort    0 0
  470. #         Virtual        1280 1024
  471. #     EndSubsection
  472. #     SubSection "Display"
  473. #         Depth        16
  474. #         Weight        565
  475. #         Modes        "640x480"
  476. #         ViewPort    0 0
  477. #         Virtual        1024 768
  478. #     EndSubsection
  479. # EndSection
  480.  
  481.