Advertisement
razec

xorg.conf-vesa

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