1. # File generated by xf86config.
  2.  
  3. #
  4. # Copyright (c) 1999 by The XFree86 Project, Inc.
  5. #
  6. # Permission is hereby granted, free of charge, to any person obtaining a
  7. # copy of this software and associated documentation files (the "Software"),
  8. # to deal in the Software without restriction, including without limitation
  9. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  10. # and/or sell copies of the Software, and to permit persons to whom the
  11. # Software is furnished to do so, subject to the following conditions:
  12. #
  13. # The above copyright notice and this permission notice shall be included in
  14. # all copies or substantial portions of the Software.
  15. #
  16. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  17. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  19. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  20. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  21. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  22. # SOFTWARE.
  23. #
  24. # Except as contained in this notice, the name of the XFree86 Project shall
  25. # not be used in advertising or otherwise to promote the sale, use or other
  26. # dealings in this Software without prior written authorization from the
  27. # XFree86 Project.
  28. #
  29.  
  30. # **********************************************************************
  31. # Refer to the XF86Config(4/5) man page for details about the format of
  32. # this file.
  33. # **********************************************************************
  34.  
  35. # NOTE: This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
  36. # driver instead of the fbdev driver. Thanks to Kenneth Fanyo who pointed
  37. # this out to me. :)
  38.  
  39. # This XF86Config file is designed for use with the VESA framebuffer.
  40. # This generic interface should work with nearly all video cards
  41. # (although not every card will support every resolution).
  42.  
  43. # With the new driver, it should no longer be required to have frame buffer
  44. # support in the kernel, or to run it on the console.
  45. #
  46. # Enjoy! :)
  47. # -- volkerdi@slackware.com
  48. #
  49.  
  50. # **********************************************************************
  51. # Module section -- this section is used to specify
  52. # which dynamically loadable modules to load.
  53. # **********************************************************************
  54. #
  55. Section "Module"
  56.  
  57. # This loads the DBE extension module.
  58.  
  59. Load "dbe" # Double buffer extension
  60.  
  61. # This loads the miscellaneous extensions module, and disables
  62. # initialisation of the XFree86-DGA extension within that module.
  63. SubSection "extmod"
  64. Option "omit xfree86-dga" # don't initialise the DGA extension
  65. EndSubSection
  66.  
  67. # This loads the font modules
  68. Load "type1"
  69. Load "freetype"
  70. #Load "speedo"
  71.  
  72. # This loads the GLX module
  73. Load "glx"
  74.  
  75. EndSection
  76.  
  77. # **********************************************************************
  78. # Files section. This allows default font and rgb paths to be set
  79. # **********************************************************************
  80.  
  81. Section "Files"
  82.  
  83. # The location of the RGB database. Note, this is the name of the
  84. # file minus the extension (like ".txt" or ".db"). There is normally
  85. # no need to change the default.
  86.  
  87. RgbPath "/usr/share/X11/rgb"
  88.  
  89. # Multiple FontPath entries are allowed (which are concatenated together),
  90. # as well as specifying multiple comma-separated entries in one FontPath
  91. # command (or a combination of both methods)
  92. #
  93. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  94. # programs take long to start up, try moving the Type1 and Speedo directory
  95. # to the end of this list (or comment them out).
  96. #
  97.  
  98. FontPath "/usr/share/fonts/local/"
  99. FontPath "/usr/share/fonts/misc/"
  100. FontPath "/usr/share/fonts/OTF/"
  101. FontPath "/usr/share/fonts/TTF/"
  102. FontPath "/usr/share/fonts/Type1/"
  103. FontPath "/usr/share/fonts/CID/"
  104. FontPath "/usr/share/fonts/Speedo/"
  105. FontPath "/usr/share/fonts/75dpi/:unscaled"
  106. FontPath "/usr/share/fonts/100dpi/:unscaled"
  107. FontPath "/usr/share/fonts/75dpi/"
  108. FontPath "/usr/share/fonts/100dpi/"
  109. FontPath "/usr/share/fonts/cyrillic/"
  110.  
  111. # ModulePath can be used to set a search path for the X server modules.
  112. # The default path is shown here.
  113.  
  114. # ModulePath "/usr/lib/xorg/modules"
  115.  
  116. EndSection
  117.  
  118. # **********************************************************************
  119. # Server flags section.
  120. # **********************************************************************
  121.  
  122. Section "ServerFlags"
  123.  
  124. # Uncomment this to cause a core dump at the spot where a signal is
  125. # received. This may leave the console in an unusable state, but may
  126. # provide a better stack trace in the core dump to aid in debugging
  127.  
  128. # Option "NoTrapSignals"
  129.  
  130. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  131. # (where n is 1 through 12). This allows clients to receive these key
  132. # events.
  133.  
  134. # Option "DontVTSwitch"
  135.  
  136. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  137. # This allows clients to receive this key event.
  138.  
  139. # Option "DontZap"
  140.  
  141. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  142. # sequences. This allows clients to receive these key events.
  143.  
  144. # Option "DontZoom"
  145.  
  146. # Uncomment this to disable tuning with the xvidtune client. With
  147. # it the client can still run and fetch card and monitor attributes,
  148. # but it will not be allowed to change them. If it tries it will
  149. # receive a protocol error.
  150.  
  151. # Option "DisableVidModeExtension"
  152.  
  153. # Uncomment this to enable the use of a non-local xvidtune client.
  154.  
  155. # Option "AllowNonLocalXvidtune"
  156.  
  157. # Uncomment this to disable dynamically modifying the input device
  158. # (mouse and keyboard) settings.
  159.  
  160. # Option "DisableModInDev"
  161.  
  162. # Uncomment this to enable the use of a non-local client to
  163. # change the keyboard or mouse settings (currently only xset).
  164.  
  165. # Option "AllowNonLocalModInDev"
  166.  
  167. # Set the basic blanking screen saver timeout.
  168.  
  169. # Option "blank time" "10" # 10 minutes
  170.  
  171. # Set the DPMS timeouts. These are set here because they are global
  172. # rather than screen-specific. These settings alone don't enable DPMS.
  173. # It is enabled per-screen (or per-monitor), and even then only when
  174. # the driver supports it.
  175.  
  176. # Option "standby time" "20"
  177. # Option "suspend time" "30"
  178. # Option "off time" "60"
  179.  
  180. # On some platform the server needs to estimate the sizes of PCI
  181. # memory and pio ranges. This is done by assuming that PCI ranges
  182. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  183. # devices wrong. Here one can adjust how aggressive the assumptions
  184. # should be. Default is 0.
  185.  
  186. # Option "EstimateSizesAggresively" "0"
  187.  
  188. EndSection
  189.  
  190. # **********************************************************************
  191. # Input devices
  192. # **********************************************************************
  193.  
  194. # **********************************************************************
  195. # Core keyboard's InputDevice section
  196. # **********************************************************************
  197.  
  198. Section "InputDevice"
  199.  
  200. Identifier "Keyboard1"
  201. Driver "kbd"
  202. # For most OSs the protocol can be omitted (it defaults to "Standard").
  203. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  204. # uncomment the following line.
  205.  
  206. # Option "Protocol" "Xqueue"
  207.  
  208. # Set the keyboard auto repeat parameters. Not all platforms implement
  209. # this.
  210.  
  211. # Option "AutoRepeat" "500 5"
  212.  
  213. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  214.  
  215. # Option "Xleds" "1 2 3"
  216.  
  217. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  218.  
  219. # Option "XkbDisable"
  220.  
  221. # To customise the XKB settings to suit your keyboard, modify the
  222. # lines below (which are the defaults). For example, for a European
  223. # keyboard, you will probably want to use one of:
  224. #
  225. # Option "XkbModel" "pc102"
  226. # Option "XkbModel" "pc105"
  227. #
  228. # If you have a Microsoft Natural keyboard, you can use:
  229. #
  230. # Option "XkbModel" "microsoft"
  231. #
  232. # If you have a US "windows" keyboard you will want:
  233. #
  234. # Option "XkbModel" "pc104"
  235. #
  236. # Then to change the language, change the Layout setting.
  237. # For example, a german layout can be obtained with:
  238. #
  239. # Option "XkbLayout" "de"
  240. #
  241. # or:
  242. #
  243. # Option "XkbLayout" "de"
  244. # Option "XkbVariant" "nodeadkeys"
  245. #
  246. # If you'd like to switch the positions of your capslock and
  247. # control keys, use:
  248. #
  249. # Option "XkbOptions" "ctrl:swapcaps"
  250.  
  251.  
  252. # These are the default XKB settings for X.Org
  253. #
  254. # Option "XkbRules" "xorg"
  255. # Option "XkbModel" "pc105"
  256. # Option "XkbLayout" "us"
  257. # Option "XkbVariant" ""
  258. # Option "XkbOptions" ""
  259.  
  260. EndSection
  261.  
  262.  
  263. # **********************************************************************
  264. # Core Pointer's InputDevice section
  265. # **********************************************************************
  266.  
  267. Section "InputDevice"
  268.  
  269. # Identifier and driver
  270.  
  271. Identifier "Mouse1"
  272. Driver "mouse"
  273.  
  274. # On platforms where PnP mouse detection is supported the following
  275. # protocol setting can be used when using a newer PnP mouse:
  276.  
  277. # Option "Protocol" "Auto"
  278.  
  279. # The available mouse protocols types that you can set below are:
  280. # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
  281. # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
  282. # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
  283. # ThinkingMouse ThinkingMousePS/2 Xqueue
  284. Option "Protocol" "PS/2"
  285.  
  286. # The mouse device. The device is normally set to /dev/mouse,
  287. # which is usually a symbolic link to the real device.
  288.  
  289. Option "Device" "/dev/mouse"
  290. # Option "Device" "/dev/psaux"
  291. # Option "Device" "/dev/ttyS0"
  292. # Option "Device" "/dev/ttyS1"
  293.  
  294. # When using XQUEUE, comment out the above two lines, and uncomment
  295. # the following line.
  296.  
  297. # Option "Protocol" "Xqueue"
  298.  
  299. # Baudrate and SampleRate are only for some Logitech mice. In
  300. # almost every case these lines should be omitted.
  301.  
  302. # Option "BaudRate" "9600"
  303. # Option "SampleRate" "150"
  304.  
  305. # Emulate3Buttons is an option for 2-button Microsoft mice
  306. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  307.  
  308. # Option "Emulate3Buttons"
  309. # Option "Emulate3Timeout" "50"
  310.  
  311. # ChordMiddle is an option for some 3-button Logitech mice
  312.  
  313. # Option "ChordMiddle"
  314.  
  315. EndSection
  316.  
  317. # Some examples of extended input devices
  318.  
  319. # Section "InputDevice"
  320. # Identifier "spaceball"
  321. # Driver "magellan"
  322. # Option "Device" "/dev/cua0"
  323. # EndSection
  324. #
  325. # Section "InputDevice"
  326. # Identifier "spaceball2"
  327. # Driver "spaceorb"
  328. # Option "Device" "/dev/cua0"
  329. # EndSection
  330. #
  331. # Section "InputDevice"
  332. # Identifier "touchscreen0"
  333. # Driver "microtouch"
  334. # Option "Device" "/dev/ttyS0"
  335. # Option "MinX" "1412"
  336. # Option "MaxX" "15184"
  337. # Option "MinY" "15372"
  338. # Option "MaxY" "1230"
  339. # Option "ScreenNumber" "0"
  340. # Option "ReportingMode" "Scaled"
  341. # Option "ButtonNumber" "1"
  342. # Option "SendCoreEvents"
  343. # EndSection
  344. #
  345. # Section "InputDevice"
  346. # Identifier "touchscreen1"
  347. # Driver "elo2300"
  348. # Option "Device" "/dev/ttyS0"
  349. # Option "MinX" "231"
  350. # Option "MaxX" "3868"
  351. # Option "MinY" "3858"
  352. # Option "MaxY" "272"
  353. # Option "ScreenNumber" "0"
  354. # Option "ReportingMode" "Scaled"
  355. # Option "ButtonThreshold" "17"
  356. # Option "ButtonNumber" "1"
  357. # Option "SendCoreEvents"
  358. # EndSection
  359.  
  360. # **********************************************************************
  361. # Monitor section
  362. # **********************************************************************
  363.  
  364. # Any number of monitor sections may be present
  365.  
  366. Section "Monitor"
  367.  
  368. Identifier "My Monitor"
  369.  
  370. # HorizSync is in kHz unless units are specified.
  371. # HorizSync may be a comma separated list of discrete values, or a
  372. # comma separated list of ranges of values.
  373. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  374. # USER MANUAL FOR THE CORRECT NUMBERS.
  375.  
  376. HorizSync 31.5 - 50.0
  377.  
  378. # HorizSync 30-64 # multisync
  379. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  380. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  381.  
  382. # VertRefresh is in Hz unless units are specified.
  383. # VertRefresh may be a comma separated list of discrete values, or a
  384. # comma separated list of ranges of values.
  385. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  386. # USER MANUAL FOR THE CORRECT NUMBERS.
  387.  
  388. VertRefresh 40-90
  389.  
  390. EndSection
  391.  
  392.  
  393. # **********************************************************************
  394. # Graphics device section
  395. # **********************************************************************
  396.  
  397. # Any number of graphics device sections may be present
  398.  
  399. Section "Device"
  400. Identifier "VESA Framebuffer"
  401. Driver "vesa"
  402. #VideoRam 4096
  403. # Insert Clocks lines here if appropriate
  404. EndSection
  405.  
  406. # **********************************************************************
  407. # Screen sections
  408. # **********************************************************************
  409.  
  410. # Any number of screen sections may be present. Each describes
  411. # the configuration of a single screen. A single specific screen section
  412. # may be specified from the X server command line with the "-screen"
  413. # option.
  414. Section "Screen"
  415. Identifier "Screen 1"
  416. Device "VESA Framebuffer"
  417. Monitor "My Monitor"
  418.  
  419. # If your card can handle it, a higher default color depth (like 24 or 32)
  420. # is highly recommended.
  421.  
  422. # DefaultDepth 8
  423. # DefaultDepth 16
  424. DefaultDepth 24
  425. # DefaultDepth 32
  426.  
  427. # "1024x768" is also a conservative usable default resolution. If you
  428. # have a better monitor, feel free to try resolutions such as
  429. # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
  430. # card/monitor can produce)
  431.  
  432. Subsection "Display"
  433. Depth 8
  434. Modes "1024x768" "800x600" "640x480"
  435. EndSubsection
  436. Subsection "Display"
  437. Depth 16
  438. Modes "1024x768" "800x600" "640x480"
  439. EndSubsection
  440. Subsection "Display"
  441. Depth 24
  442. Modes "1024x768" "800x600" "640x480"
  443. EndSubsection
  444. Subsection "Display"
  445. Depth 32
  446. Modes "1024x768" "800x600" "640x480"
  447. EndSubsection
  448.  
  449. EndSection
  450.  
  451. # **********************************************************************
  452. # ServerLayout sections.
  453. # **********************************************************************
  454.  
  455. # Any number of ServerLayout sections may be present. Each describes
  456. # the way multiple screens are organised. A specific ServerLayout
  457. # section may be specified from the X server command line with the
  458. # "-layout" option. In the absence of this, the first section is used.
  459. # When now ServerLayout section is present, the first Screen section
  460. # is used alone.
  461.  
  462. Section "ServerLayout"
  463.  
  464. # The Identifier line must be present
  465. Identifier "Simple Layout"
  466.  
  467. # Each Screen line specifies a Screen section name, and optionally
  468. # the relative position of other screens. The four names after
  469. # primary screen name are the screens to the top, bottom, left and right
  470. # of the primary screen. In this example, screen 2 is located to the
  471. # right of screen 1.
  472.  
  473. Screen "Screen 1"
  474.  
  475. # Each InputDevice line specifies an InputDevice section name and
  476. # optionally some options to specify the way the device is to be
  477. # used. Those options include "CorePointer", "CoreKeyboard" and
  478. # "SendCoreEvents".
  479.  
  480. InputDevice "Mouse1" "CorePointer"
  481. InputDevice "Keyboard1" "CoreKeyboard"
  482.  
  483. EndSection