Advertisement
Guest User

xorg.conf-vesa

a guest
Apr 19th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.05 KB | None | 0 0
  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. Load "dri"
  75.  
  76. EndSection
  77.  
  78. Section "DRI"
  79. Group "video"
  80. Mode 0666
  81. EndSection
  82.  
  83. # **********************************************************************
  84. # Files section. This allows default font and rgb paths to be set
  85. # **********************************************************************
  86.  
  87. Section "Files"
  88.  
  89. # The location of the RGB database. Note, this is the name of the
  90. # file minus the extension (like ".txt" or ".db"). There is normally
  91. # no need to change the default.
  92.  
  93. RgbPath "/usr/share/X11/rgb"
  94.  
  95. # Multiple FontPath entries are allowed (which are concatenated together),
  96. # as well as specifying multiple comma-separated entries in one FontPath
  97. # command (or a combination of both methods)
  98. #
  99. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  100. # programs take long to start up, try moving the Type1 and Speedo directory
  101. # to the end of this list (or comment them out).
  102. #
  103.  
  104. FontPath "/usr/share/fonts/local/"
  105. FontPath "/usr/share/fonts/misc/"
  106. FontPath "/usr/share/fonts/OTF/"
  107. FontPath "/usr/share/fonts/TTF/"
  108. FontPath "/usr/share/fonts/Type1/"
  109. FontPath "/usr/share/fonts/CID/"
  110. FontPath "/usr/share/fonts/Speedo/"
  111. FontPath "/usr/share/fonts/75dpi/:unscaled"
  112. FontPath "/usr/share/fonts/100dpi/:unscaled"
  113. FontPath "/usr/share/fonts/75dpi/"
  114. FontPath "/usr/share/fonts/100dpi/"
  115. FontPath "/usr/share/fonts/cyrillic/"
  116.  
  117. # ModulePath can be used to set a search path for the X server modules.
  118. # The default path is shown here.
  119.  
  120. # ModulePath "/usr/lib/xorg/modules"
  121.  
  122. EndSection
  123.  
  124. # **********************************************************************
  125. # Server flags section.
  126. # **********************************************************************
  127.  
  128. Section "ServerFlags"
  129.  
  130. # Uncomment this to cause a core dump at the spot where a signal is
  131. # received. This may leave the console in an unusable state, but may
  132. # provide a better stack trace in the core dump to aid in debugging
  133.  
  134. # Option "NoTrapSignals"
  135.  
  136. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  137. # (where n is 1 through 12). This allows clients to receive these key
  138. # events.
  139.  
  140. # Option "DontVTSwitch"
  141.  
  142. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  143. # This allows clients to receive this key event.
  144.  
  145. # Option "DontZap"
  146.  
  147. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  148. # sequences. This allows clients to receive these key events.
  149.  
  150. # Option "DontZoom"
  151.  
  152. # Uncomment this to disable tuning with the xvidtune client. With
  153. # it the client can still run and fetch card and monitor attributes,
  154. # but it will not be allowed to change them. If it tries it will
  155. # receive a protocol error.
  156.  
  157. # Option "DisableVidModeExtension"
  158.  
  159. # Uncomment this to enable the use of a non-local xvidtune client.
  160.  
  161. # Option "AllowNonLocalXvidtune"
  162.  
  163. # Uncomment this to disable dynamically modifying the input device
  164. # (mouse and keyboard) settings.
  165.  
  166. # Option "DisableModInDev"
  167.  
  168. # Uncomment this to enable the use of a non-local client to
  169. # change the keyboard or mouse settings (currently only xset).
  170.  
  171. # Option "AllowNonLocalModInDev"
  172.  
  173. # Set the basic blanking screen saver timeout.
  174.  
  175. # Option "blank time" "10" # 10 minutes
  176.  
  177. # Set the DPMS timeouts. These are set here because they are global
  178. # rather than screen-specific. These settings alone don't enable DPMS.
  179. # It is enabled per-screen (or per-monitor), and even then only when
  180. # the driver supports it.
  181.  
  182. # Option "standby time" "20"
  183. # Option "suspend time" "30"
  184. # Option "off time" "60"
  185.  
  186. # On some platform the server needs to estimate the sizes of PCI
  187. # memory and pio ranges. This is done by assuming that PCI ranges
  188. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  189. # devices wrong. Here one can adjust how aggressive the assumptions
  190. # should be. Default is 0.
  191.  
  192. # Option "EstimateSizesAggresively" "0"
  193.  
  194. EndSection
  195.  
  196. # **********************************************************************
  197. # Input devices
  198. # **********************************************************************
  199.  
  200. # **********************************************************************
  201. # Core keyboard's InputDevice section
  202. # **********************************************************************
  203.  
  204. Section "InputDevice"
  205.  
  206. Identifier "Keyboard1"
  207. Driver "kbd"
  208. # For most OSs the protocol can be omitted (it defaults to "Standard").
  209. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  210. # uncomment the following line.
  211.  
  212. # Option "Protocol" "Xqueue"
  213.  
  214. # Set the keyboard auto repeat parameters. Not all platforms implement
  215. # this.
  216.  
  217. # Option "AutoRepeat" "500 5"
  218.  
  219. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  220.  
  221. # Option "Xleds" "1 2 3"
  222.  
  223. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  224.  
  225. # Option "XkbDisable"
  226.  
  227. # To customise the XKB settings to suit your keyboard, modify the
  228. # lines below (which are the defaults). For example, for a European
  229. # keyboard, you will probably want to use one of:
  230. #
  231. # Option "XkbModel" "pc102"
  232. # Option "XkbModel" "pc105"
  233. #
  234. # If you have a Microsoft Natural keyboard, you can use:
  235. #
  236. # Option "XkbModel" "microsoft"
  237. #
  238. # If you have a US "windows" keyboard you will want:
  239. #
  240. # Option "XkbModel" "pc104"
  241. #
  242. # Then to change the language, change the Layout setting.
  243. # For example, a german layout can be obtained with:
  244. #
  245. # Option "XkbLayout" "de"
  246. #
  247. # or:
  248. #
  249. # Option "XkbLayout" "de"
  250. # Option "XkbVariant" "nodeadkeys"
  251. #
  252. # If you'd like to switch the positions of your capslock and
  253. # control keys, use:
  254. #
  255. # Option "XkbOptions" "ctrl:swapcaps"
  256.  
  257.  
  258. # These are the default XKB settings for X.Org
  259. #
  260. # Option "XkbRules" "xorg"
  261. # Option "XkbModel" "pc105"
  262. # Option "XkbLayout" "us"
  263. # Option "XkbVariant" ""
  264. # Option "XkbOptions" ""
  265.  
  266. EndSection
  267.  
  268.  
  269. # **********************************************************************
  270. # Core Pointer's InputDevice section
  271. # **********************************************************************
  272.  
  273. Section "InputDevice"
  274.  
  275. # Identifier and driver
  276.  
  277. Identifier "Mouse1"
  278. Driver "mouse"
  279.  
  280. # On platforms where PnP mouse detection is supported the following
  281. # protocol setting can be used when using a newer PnP mouse:
  282.  
  283. # Option "Protocol" "Auto"
  284.  
  285. # The available mouse protocols types that you can set below are:
  286. # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
  287. # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
  288. # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
  289. # ThinkingMouse ThinkingMousePS/2 Xqueue
  290. Option "Protocol" "PS/2"
  291.  
  292. # The mouse device. The device is normally set to /dev/mouse,
  293. # which is usually a symbolic link to the real device.
  294.  
  295. Option "Device" "/dev/mouse"
  296. # Option "Device" "/dev/psaux"
  297. # Option "Device" "/dev/ttyS0"
  298. # Option "Device" "/dev/ttyS1"
  299.  
  300. # When using XQUEUE, comment out the above two lines, and uncomment
  301. # the following line.
  302.  
  303. # Option "Protocol" "Xqueue"
  304.  
  305. # Baudrate and SampleRate are only for some Logitech mice. In
  306. # almost every case these lines should be omitted.
  307.  
  308. # Option "BaudRate" "9600"
  309. # Option "SampleRate" "150"
  310.  
  311. # Emulate3Buttons is an option for 2-button Microsoft mice
  312. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  313.  
  314. # Option "Emulate3Buttons"
  315. # Option "Emulate3Timeout" "50"
  316.  
  317. # ChordMiddle is an option for some 3-button Logitech mice
  318.  
  319. # Option "ChordMiddle"
  320.  
  321. EndSection
  322.  
  323. # Some examples of extended input devices
  324.  
  325. # Section "InputDevice"
  326. # Identifier "spaceball"
  327. # Driver "magellan"
  328. # Option "Device" "/dev/cua0"
  329. # EndSection
  330. #
  331. # Section "InputDevice"
  332. # Identifier "spaceball2"
  333. # Driver "spaceorb"
  334. # Option "Device" "/dev/cua0"
  335. # EndSection
  336. #
  337. # Section "InputDevice"
  338. # Identifier "touchscreen0"
  339. # Driver "microtouch"
  340. # Option "Device" "/dev/ttyS0"
  341. # Option "MinX" "1412"
  342. # Option "MaxX" "15184"
  343. # Option "MinY" "15372"
  344. # Option "MaxY" "1230"
  345. # Option "ScreenNumber" "0"
  346. # Option "ReportingMode" "Scaled"
  347. # Option "ButtonNumber" "1"
  348. # Option "SendCoreEvents"
  349. # EndSection
  350. #
  351. # Section "InputDevice"
  352. # Identifier "touchscreen1"
  353. # Driver "elo2300"
  354. # Option "Device" "/dev/ttyS0"
  355. # Option "MinX" "231"
  356. # Option "MaxX" "3868"
  357. # Option "MinY" "3858"
  358. # Option "MaxY" "272"
  359. # Option "ScreenNumber" "0"
  360. # Option "ReportingMode" "Scaled"
  361. # Option "ButtonThreshold" "17"
  362. # Option "ButtonNumber" "1"
  363. # Option "SendCoreEvents"
  364. # EndSection
  365.  
  366. # **********************************************************************
  367. # Monitor section
  368. # **********************************************************************
  369.  
  370. # Any number of monitor sections may be present
  371.  
  372. Section "Monitor"
  373.  
  374. Identifier "My Monitor"
  375.  
  376. # HorizSync is in kHz unless units are specified.
  377. # HorizSync may be a comma separated list of discrete values, or a
  378. # comma separated list of ranges of values.
  379. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  380. # USER MANUAL FOR THE CORRECT NUMBERS.
  381.  
  382. HorizSync 31.5 - 50.0
  383.  
  384. # HorizSync 30-64 # multisync
  385. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  386. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  387.  
  388. # VertRefresh is in Hz unless units are specified.
  389. # VertRefresh may be a comma separated list of discrete values, or a
  390. # comma separated list of ranges of values.
  391. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  392. # USER MANUAL FOR THE CORRECT NUMBERS.
  393.  
  394. VertRefresh 40-90
  395.  
  396. EndSection
  397.  
  398.  
  399. # **********************************************************************
  400. # Graphics device section
  401. # **********************************************************************
  402.  
  403. # Any number of graphics device sections may be present
  404.  
  405. Section "Device"
  406. Identifier "VESA Framebuffer"
  407. Driver "vesa"
  408. #VideoRam 4096
  409. # Insert Clocks lines here if appropriate
  410. EndSection
  411.  
  412. # **********************************************************************
  413. # Screen sections
  414. # **********************************************************************
  415.  
  416. # Any number of screen sections may be present. Each describes
  417. # the configuration of a single screen. A single specific screen section
  418. # may be specified from the X server command line with the "-screen"
  419. # option.
  420. Section "Screen"
  421. Identifier "Screen 1"
  422. Device "VESA Framebuffer"
  423. Monitor "My Monitor"
  424.  
  425. # If your card can handle it, a higher default color depth (like 24 or 32)
  426. # is highly recommended.
  427.  
  428. # DefaultDepth 8
  429. # DefaultDepth 16
  430. DefaultDepth 24
  431. # DefaultDepth 32
  432.  
  433. # "1024x768" is also a conservative usable default resolution. If you
  434. # have a better monitor, feel free to try resolutions such as
  435. # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
  436. # card/monitor can produce)
  437.  
  438. Subsection "Display"
  439. Depth 8
  440. Modes "1024x768" "800x600" "640x480"
  441. EndSubsection
  442. Subsection "Display"
  443. Depth 16
  444. Modes "1024x768" "800x600" "640x480"
  445. EndSubsection
  446. Subsection "Display"
  447. Depth 24
  448. Modes "1024x768" "800x600" "640x480"
  449. EndSubsection
  450. Subsection "Display"
  451. Depth 32
  452. Modes "1024x768" "800x600" "640x480"
  453. EndSubsection
  454.  
  455. EndSection
  456.  
  457. # **********************************************************************
  458. # ServerLayout sections.
  459. # **********************************************************************
  460.  
  461. # Any number of ServerLayout sections may be present. Each describes
  462. # the way multiple screens are organised. A specific ServerLayout
  463. # section may be specified from the X server command line with the
  464. # "-layout" option. In the absence of this, the first section is used.
  465. # When now ServerLayout section is present, the first Screen section
  466. # is used alone.
  467.  
  468. Section "ServerLayout"
  469.  
  470. # The Identifier line must be present
  471. Identifier "Simple Layout"
  472.  
  473. # Each Screen line specifies a Screen section name, and optionally
  474. # the relative position of other screens. The four names after
  475. # primary screen name are the screens to the top, bottom, left and right
  476. # of the primary screen. In this example, screen 2 is located to the
  477. # right of screen 1.
  478.  
  479. Screen "Screen 1"
  480.  
  481. # Each InputDevice line specifies an InputDevice section name and
  482. # optionally some options to specify the way the device is to be
  483. # used. Those options include "CorePointer", "CoreKeyboard" and
  484. # "SendCoreEvents".
  485.  
  486. InputDevice "Mouse1" "CorePointer"
  487. InputDevice "Keyboard1" "CoreKeyboard"
  488.  
  489. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement