Advertisement
Guest User

Untitled

a guest
Dec 30th, 2010
3,408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.55 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.  
  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. # Multiple FontPath entries are allowed (which are concatenated together),
  88. # as well as specifying multiple comma-separated entries in one FontPath
  89. # command (or a combination of both methods)
  90. #
  91. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  92. # programs take long to start up, try moving the Type1 and Speedo directory
  93. # to the end of this list (or comment them out).
  94. #
  95.  
  96. FontPath "/usr/X11R6/lib/X11/fonts/local/"
  97. FontPath "/usr/X11R6/lib/X11/fonts/misc/"
  98. FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  99. FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  100. FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
  101. FontPath "/usr/X11R6/lib/X11/fonts/CID/"
  102. FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
  103. FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
  104. FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
  105. FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
  106.  
  107. # ModulePath can be used to set a search path for the X server modules.
  108. # The default path is shown here.
  109.  
  110. # ModulePath "/usr/X11R6/lib/modules"
  111.  
  112. EndSection
  113.  
  114. # **********************************************************************
  115. # Server flags section.
  116. # **********************************************************************
  117.  
  118. Section "ServerFlags"
  119.  
  120. # Uncomment this to cause a core dump at the spot where a signal is
  121. # received. This may leave the console in an unusable state, but may
  122. # provide a better stack trace in the core dump to aid in debugging
  123.  
  124. # Option "NoTrapSignals"
  125.  
  126. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  127. # (where n is 1 through 12). This allows clients to receive these key
  128. # events.
  129.  
  130. # Option "DontVTSwitch"
  131.  
  132. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  133. # This allows clients to receive this key event.
  134.  
  135. # Option "DontZap"
  136.  
  137. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  138. # sequences. This allows clients to receive these key events.
  139.  
  140. # Option "DontZoom"
  141.  
  142. # Uncomment this to disable tuning with the xvidtune client. With
  143. # it the client can still run and fetch card and monitor attributes,
  144. # but it will not be allowed to change them. If it tries it will
  145. # receive a protocol error.
  146.  
  147. # Option "DisableVidModeExtension"
  148.  
  149. # Uncomment this to enable the use of a non-local xvidtune client.
  150.  
  151. # Option "AllowNonLocalXvidtune"
  152.  
  153. # Uncomment this to disable dynamically modifying the input device
  154. # (mouse and keyboard) settings.
  155.  
  156. # Option "DisableModInDev"
  157.  
  158. # Uncomment this to enable the use of a non-local client to
  159. # change the keyboard or mouse settings (currently only xset).
  160.  
  161. # Option "AllowNonLocalModInDev"
  162.  
  163. # Set the basic blanking screen saver timeout.
  164.  
  165. # Option "blank time" "10" # 10 minutes
  166.  
  167. # Set the DPMS timeouts. These are set here because they are global
  168. # rather than screen-specific. These settings alone don't enable DPMS.
  169. # It is enabled per-screen (or per-monitor), and even then only when
  170. # the driver supports it.
  171.  
  172. # Option "standby time" "20"
  173. # Option "suspend time" "30"
  174. # Option "off time" "60"
  175.  
  176. # On some platform the server needs to estimate the sizes of PCI
  177. # memory and pio ranges. This is done by assuming that PCI ranges
  178. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  179. # devices wrong. Here one can adjust how aggressive the assumptions
  180. # should be. Default is 0.
  181.  
  182. # Option "EstimateSizesAggresively" "0"
  183.  
  184. EndSection
  185.  
  186. # **********************************************************************
  187. # Input devices
  188. # **********************************************************************
  189.  
  190. # **********************************************************************
  191. # Core keyboard's InputDevice section
  192. # **********************************************************************
  193.  
  194. Section "InputDevice"
  195.  
  196. Identifier "Keyboard1"
  197. Driver "kbd"
  198. # For most OSs the protocol can be omitted (it defaults to "Standard").
  199. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  200. # uncomment the following line.
  201.  
  202. # Option "Protocol" "Xqueue"
  203.  
  204. # Set the keyboard auto repeat parameters. Not all platforms implement
  205. # this.
  206.  
  207. # Option "AutoRepeat" "500 5"
  208.  
  209. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  210.  
  211. # Option "Xleds" "1 2 3"
  212.  
  213. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  214.  
  215. # Option "XkbDisable"
  216.  
  217. # To customise the XKB settings to suit your keyboard, modify the
  218. # lines below (which are the defaults). For example, for a European
  219. # keyboard, you will probably want to use one of:
  220. #
  221. # Option "XkbModel" "pc102"
  222. # Option "XkbModel" "pc105"
  223. #
  224. # If you have a Microsoft Natural keyboard, you can use:
  225. #
  226. # Option "XkbModel" "microsoft"
  227. #
  228. # If you have a US "windows" keyboard you will want:
  229. #
  230. # Option "XkbModel" "pc104"
  231. #
  232. # Then to change the language, change the Layout setting.
  233. # For example, a german layout can be obtained with:
  234. #
  235. # Option "XkbLayout" "de"
  236. #
  237. # or:
  238. #
  239. # Option "XkbLayout" "de"
  240. # Option "XkbVariant" "nodeadkeys"
  241. #
  242. # If you'd like to switch the positions of your capslock and
  243. # control keys, use:
  244. #
  245. # Option "XkbOptions" "ctrl:swapcaps"
  246.  
  247.  
  248. # These are the default XKB settings for X.Org
  249. #
  250. # Option "XkbRules" "xorg"
  251. # Option "XkbModel" "pc101"
  252. # Option "XkbLayout" "us"
  253. # Option "XkbVariant" ""
  254. # Option "XkbOptions" ""
  255.  
  256. Option "XkbModel" "pc105"
  257. Option "XkbLayout" "us"
  258. EndSection
  259.  
  260.  
  261. # **********************************************************************
  262. # Core Pointer's InputDevice section
  263. # **********************************************************************
  264.  
  265. Section "InputDevice"
  266.  
  267. # Identifier and driver
  268.  
  269. Identifier "Mouse1"
  270. Driver "mouse"
  271.  
  272. Option "ZAxisMapping" "4 5"
  273. Option "Buttons" "3"
  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" "IMPS/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 - 150.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 75-85
  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 "1024x768" "1152x864" "1280x1024"
  436. EndSubsection
  437. Subsection "Display"
  438. Depth 16
  439. Modes "1024x768" "1152x864" "1280x1024"
  440. EndSubsection
  441. Subsection "Display"
  442. Depth 24
  443. Modes "1152x864"
  444. EndSubsection
  445. Subsection "Display"
  446. Depth 32
  447. Modes "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