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