Guest

AndyWxy

By: a guest on Mar 8th, 2008  |  syntax: None  |  size: 16.58 KB  |  hits: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. # File generated by xorgconfig.
  2.  
  3. #
  4. # Copyright 2004 The X.Org Foundation
  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 X.Org Foundation 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 X.Org Foundation 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
  27. # The X.Org Foundation.
  28. #
  29.  
  30. # **********************************************************************
  31. # Refer to the xorg.conf(5) man page for details about the format of
  32. # this file.
  33. # **********************************************************************
  34.  
  35. # **********************************************************************
  36. # Module section -- this  section  is used to specify
  37. # which dynamically loadable modules to load.
  38. # **********************************************************************
  39. #
  40. Section "Module"
  41.  
  42. # This loads the DBE extension module.
  43.  
  44.     Load        "dbe"   # Double buffer extension
  45.  
  46. # This loads the miscellaneous extensions module, and disables
  47. # initialisation of the XFree86-DGA extension within that module.
  48.     SubSection  "extmod"
  49.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  50.     EndSubSection
  51.  
  52. # This loads the font modules
  53. #    Load        "type1"
  54.     Load        "freetype"
  55. #    Load        "xtt"
  56.  
  57. # This loads the GLX module
  58.     Load       "glx"
  59. # This loads the DRI module
  60.     Load       "dri"
  61.  
  62. EndSection
  63.  
  64. # **********************************************************************
  65. # Files section.  This allows default font and rgb paths to be set
  66. # **********************************************************************
  67.  
  68. Section "Files"
  69.  
  70. # The location of the RGB database.  Note, this is the name of the
  71. # file minus the extension (like ".txt" or ".db").  There is normally
  72. # no need to change the default.
  73.  
  74. #    RgbPath    "/usr/share/X11/rgb"
  75.  
  76. # Multiple FontPath entries are allowed (which are concatenated together),
  77. # as well as specifying multiple comma-separated entries in one FontPath
  78. # command (or a combination of both methods)
  79. #
  80. #
  81.  
  82.     FontPath   "/usr/share/fonts/misc"
  83.     FontPath   "/usr/share/fonts/100dpi:unscaled"
  84.     FontPath   "/usr/share/fonts/75dpi:unscaled"
  85.     FontPath   "/usr/share/fonts/TTF"
  86. #    FontPath   "/usr/share/fonts/wenquanyi/wqy-zenhei"
  87. #    FontPath   "/usr/share/fonts/wqy-bitmapfont"
  88. #    FontPath   "/usr/share/fonts/Type1"
  89. #    FontPath   "/usr/lib/X11/fonts/local/"
  90. #    FontPath   "/usr/lib/X11/fonts/misc/"
  91. #    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
  92. #    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
  93. #    FontPath   "/usr/lib/X11/fonts/Speedo/"
  94. #    FontPath   "/usr/lib/X11/fonts/Type1/"
  95. #    FontPath   "/usr/lib/X11/fonts/TrueType/"
  96. #    FontPath   "/usr/lib/X11/fonts/freefont/"
  97. #    FontPath   "/usr/lib/X11/fonts/75dpi/"
  98. #    FontPath   "/usr/lib/X11/fonts/100dpi/"
  99.  
  100. # The module search path.  The default path is shown here.
  101.  
  102. #    ModulePath "/usr/lib/modules"
  103.  
  104. EndSection
  105.  
  106. # **********************************************************************
  107. # Server flags section.
  108. # **********************************************************************
  109.  
  110. Section "ServerFlags"
  111.  
  112. # Uncomment this to cause a core dump at the spot where a signal is
  113. # received.  This may leave the console in an unusable state, but may
  114. # provide a better stack trace in the core dump to aid in debugging
  115.  
  116. #    Option "NoTrapSignals"
  117.  
  118. # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
  119. # (where n is 1 through 12).  This allows clients to receive these key
  120. # events.
  121.  
  122. #    Option "DontVTSwitch"
  123.  
  124. # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
  125. # This allows clients to receive this key event.
  126.  
  127. #    Option "DontZap"
  128.  
  129. # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
  130. # sequences.  This allows clients to receive these key events.
  131.  
  132. #    Option "Dont Zoom"
  133.  
  134. # Uncomment this to disable tuning with the xvidtune client. With
  135. # it the client can still run and fetch card and monitor attributes,
  136. # but it will not be allowed to change them. If it tries it will
  137. # receive a protocol error.
  138.  
  139. #    Option "DisableVidModeExtension"
  140.  
  141. # Uncomment this to enable the use of a non-local xvidtune client.
  142.  
  143. #    Option "AllowNonLocalXvidtune"
  144.  
  145. # Uncomment this to disable dynamically modifying the input device
  146. # (mouse and keyboard) settings.
  147.  
  148. #    Option "DisableModInDev"
  149.  
  150. # Uncomment this to enable the use of a non-local client to
  151. # change the keyboard or mouse settings (currently only xset).
  152.  
  153. #    Option "AllowNonLocalModInDev"
  154.  
  155. EndSection
  156.  
  157. # **********************************************************************
  158. # Input devices
  159. # **********************************************************************
  160.  
  161. # **********************************************************************
  162. # Core keyboard's InputDevice section
  163. # **********************************************************************
  164.  
  165. Section "InputDevice"
  166.  
  167.     Identifier  "Keyboard1"
  168.     Driver      "kbd"
  169.  
  170.     Option "AutoRepeat" "500 30"
  171.  
  172. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  173. #    Option     "Xleds"      "1 2 3"
  174.  
  175. #    Option "LeftAlt"     "Meta"
  176. #    Option "RightAlt"    "ModeShift"
  177.  
  178. # To customise the XKB settings to suit your keyboard, modify the
  179. # lines below (which are the defaults).  For example, for a non-U.S.
  180. # keyboard, you will probably want to use:
  181. #    Option "XkbModel"    "pc105"
  182. # If you have a US Microsoft Natural keyboard, you can use:
  183. #    Option "XkbModel"    "microsoft"
  184. #
  185. # Then to change the language, change the Layout setting.
  186. # For example, a german layout can be obtained with:
  187. #    Option "XkbLayout"   "de"
  188. # or:
  189. #    Option "XkbLayout"   "de"
  190. #    Option "XkbVariant"  "nodeadkeys"
  191. #
  192. # If you'd like to switch the positions of your capslock and
  193. # control keys, use:
  194. #    Option "XkbOptions"  "ctrl:swapcaps"
  195.  
  196. # These are the default XKB settings for Xorg
  197. #    Option "XkbRules"    "xorg"
  198. #    Option "XkbModel"    "pc105"
  199. #    Option "XkbLayout"   "us"
  200. #    Option "XkbVariant"  ""
  201. #    Option "XkbOptions"  ""
  202.  
  203. #    Option "XkbDisable"
  204.  
  205.     Option "XkbRules"   "xorg"
  206.     Option "XkbModel"   "pc105"
  207.     Option "XkbLayout"  "cn"
  208.  
  209. EndSection
  210.  
  211.  
  212. # **********************************************************************
  213. # Core Pointer's InputDevice section
  214. # **********************************************************************
  215.  
  216. Section "InputDevice"
  217.  
  218. # Identifier and driver
  219.  
  220.     Identifier  "Mouse1"
  221.     Driver      "mouse"
  222.     Option      "CorePointer"
  223.     Option      "Protocol"    "Auto"    # Auto detect
  224.     Option      "Device"      "/dev/input/mice"
  225.  
  226. # Mouse-speed setting for PS/2 mouse.
  227.  
  228. #    Option "Resolution"        "256"
  229.  
  230. # Baudrate and SampleRate are only for some Logitech mice. In
  231. # almost every case these lines should be omitted.
  232.  
  233. #    Option "BaudRate"  "9600"
  234. #    Option "SampleRate"        "150"
  235.  
  236. # ption      "YAxisMapping"        "4 5"
  237. #       Option      "XAxisMapping"        "6 7"
  238. # Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
  239. # horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
  240. # 3 buttons and you need to map the wheel to different button ids to avoid
  241. # conflicts.
  242.    
  243.     Option      "YAxisMapping"        "4 5"
  244.     Option      "XAxisMapping"        "6 7"
  245.     Option      "ZAxisMapping"   "4 5"
  246.  
  247. # Emulate3Buttons is an option for 2-button mice
  248. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  249.  
  250.     Option      "Emulate3Buttons"
  251.     Option      "Emulate3Timeout"    "50"
  252.     Option      "EmulateWheel"        "on"
  253.     Option      "EmulateWheelTimeOut" "200"
  254.     Option      "EmulateWheelButton"  "2"
  255.  
  256. # ChordMiddle is an option for some 3-button Logitech mice
  257.  
  258. #    Option "ChordMiddle"
  259.  
  260. EndSection
  261.  
  262.  
  263. # **********************************************************************
  264. # Other input device sections
  265. # this is optional and is required only if you
  266. # are using extended input devices.  This is for example only.  Refer
  267. # to the xorg.conf man page for a description of the options.
  268. # **********************************************************************
  269.  
  270. Section "InputDevice"
  271.  
  272.   Identifier    "Synaptics Touchpad"
  273.   Driver        "synaptics"
  274.   Option        "SendCoreEvents"        "true"
  275.   Option        "Device"        "/dev/psaux"
  276.   Option        "Protocol"      "auto-dev"
  277.   Option        "HorizScrollDelta"      "0"
  278.   Option        "SHMConfig"     "on"
  279.  
  280. EndSection
  281.  
  282. # Section "InputDevice"
  283. #    Identifier  "Mouse2"
  284. #    Driver      "mouse"
  285. #    Option      "Protocol"      "MouseMan"
  286. #    Option      "Device"        "/dev/mouse2"
  287. # EndSection
  288. #
  289. # Section "InputDevice"
  290. #    Identifier "spaceball"
  291. #    Driver     "magellan"
  292. #    Option     "Device"        "/dev/cua0"
  293. # EndSection
  294. #
  295. # Section "InputDevice"
  296. #    Identifier "spaceball2"
  297. #    Driver     "spaceorb"
  298. #    Option     "Device"        "/dev/cua0"
  299. # EndSection
  300. #
  301. # Section "InputDevice"
  302. #    Identifier "touchscreen0"
  303. #    Driver     "microtouch"
  304. #    Option     "Device"        "/dev/ttyS0"
  305. #    Option     "MinX"          "1412"
  306. #    Option     "MaxX"          "15184"
  307. #    Option     "MinY"          "15372"
  308. #    Option     "MaxY"          "1230"
  309. #    Option     "ScreenNumber"  "0"
  310. #    Option     "ReportingMode" "Scaled"
  311. #    Option     "ButtonNumber"  "1"
  312. #    Option     "SendCoreEvents"
  313. # EndSection
  314. #
  315. # Section "InputDevice"
  316. #    Identifier "touchscreen1"
  317. #    Driver     "elo2300"
  318. #    Option     "Device"        "/dev/ttyS0"
  319. #    Option     "MinX"          "231"
  320. #    Option     "MaxX"          "3868"
  321. #    Option     "MinY"          "3858"
  322. #    Option     "MaxY"          "272"
  323. #    Option     "ScreenNumber"  "0"
  324. #    Option     "ReportingMode" "Scaled"
  325. #    Option     "ButtonThreshold"       "17"
  326. #    Option     "ButtonNumber"  "1"
  327. #    Option     "SendCoreEvents"
  328. # EndSection
  329.  
  330. # **********************************************************************
  331. # Monitor section
  332. # **********************************************************************
  333.  
  334. # Any number of monitor sections may be present
  335.  
  336. Section "Monitor"
  337.  
  338.     Identifier  "Generic Monitor"
  339.  
  340. # HorizSync is in kHz unless units are specified.
  341. # HorizSync may be a comma separated list of discrete values, or a
  342. # comma separated list of ranges of values.
  343. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  344. # USER MANUAL FOR THE CORRECT NUMBERS.
  345.  
  346.     HorizSync   30-93
  347.  
  348. #    HorizSync  30-64         # multisync
  349. #    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
  350. #    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies
  351.  
  352. # VertRefresh is in Hz unless units are specified.
  353. # VertRefresh may be a comma separated list of discrete values, or a
  354. # comma separated list of ranges of values.
  355. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  356. # USER MANUAL FOR THE CORRECT NUMBERS.
  357.  
  358.     VertRefresh 56-76
  359.     DisplaySize 430 270 #1680x1050 99dpi
  360.     # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  361.     #Modeline "1680x1050"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
  362.     #Option "PreferredMode" "1680x1050"
  363.     #Option "Enable" "true"
  364.     Option "dpms"
  365.     Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
  366.  
  367. EndSection
  368.  
  369.  
  370. # **********************************************************************
  371. # Graphics device section
  372. # **********************************************************************
  373.  
  374. # Any number of graphics device sections may be present
  375.  
  376. # Standard VGA Device:
  377.  
  378. Section "Device"
  379.     Identifier  "Standard VGA"
  380.     VendorName  "Unknown"
  381.     BoardName   "Unknown"
  382. # The chipset line is optional in most cases.  It can be used to override
  383. # the driver's chipset detection, and should not normally be specified.
  384.  
  385. #    Chipset    "generic"
  386.  
  387. # The Driver line must be present.  When using run-time loadable driver
  388. # modules, this line instructs the server to load the specified driver
  389. # module.  Even when not using loadable driver modules, this line
  390. # indicates which driver should interpret the information in this section.
  391.  
  392.     Driver     "vga"
  393. # The BusID line is used to specify which of possibly multiple devices
  394. # this section is intended for.  When this line isn't present, a device
  395. # section can only match up with the primary video device.  For PCI
  396. # devices a line like the following could be used.  This line should not
  397. # normally be included unless there is more than one video device
  398. # intalled.
  399.  
  400. #    BusID      "PCI:0:10:0"
  401.  
  402. #    VideoRam   256
  403.  
  404. #    Clocks     25.2 28.3
  405.  
  406. EndSection
  407.  
  408. # Device configured by xorgconfig:
  409.  
  410. Section "Device"
  411.     Identifier  "Intel GMA900"
  412. #    Driver      "i810"
  413.     Driver      "intel"
  414.     VideoRam    131072
  415.     Option "XAANoOffscreenPixmaps" "true"
  416.     Option "DRI" "true"
  417.     Option      "AccelMethod"   "exa"
  418.     Option       "MigrationHeuristic" "greedy"
  419.     #Option      "BIOSHotkeys" "on"
  420.     # Insert Clocks lines here if appropriate
  421. EndSection
  422.  
  423.  
  424. # **********************************************************************
  425. # Screen sections
  426. # **********************************************************************
  427.  
  428. # Any number of screen sections may be present.  Each describes
  429. # the configuration of a single screen.  A single specific screen section
  430. # may be specified from the X server command line with the "-screen"
  431. # option.
  432. Section "Screen"
  433.     Identifier  "Screen 1"
  434.     Device      "Intel GMA900"
  435.     Monitor     "Generic Monitor"
  436.     DefaultDepth 24
  437.  
  438.     Subsection "Display"
  439.         Depth       8
  440.         Modes       "1680x1050" "1024x768"
  441.         ViewPort    0 0
  442.     EndSubsection
  443.     Subsection "Display"
  444.         Depth       16
  445.         Modes       "1680x1050" "1024x768"
  446.         ViewPort    0 0
  447.     EndSubsection
  448.     Subsection "Display"
  449.         Depth       24
  450.         Modes       "1680x1050" "1024x768"
  451.         ViewPort    0 0
  452.     EndSubsection
  453. EndSection
  454.  
  455. # **********************************************************************
  456. # ServerLayout sections.
  457. # **********************************************************************
  458.  
  459. # Any number of ServerLayout sections may be present.  Each describes
  460. # the way multiple screens are organised.  A specific ServerLayout
  461. # section may be specified from the X server command line with the
  462. # "-layout" option.  In the absence of this, the first section is used.
  463. # When now ServerLayout section is present, the first Screen section
  464. # is used alone.
  465.  
  466. Section "ServerLayout"
  467. # Set the DPMS timeouts. These are set here because they are global
  468. # rather than screen-specific. These settings alone don't enable DPMS.
  469. # It is enabled per-screen (or per-monitor), and even then only when
  470. # the driver supports it.
  471.  
  472. # Option "standby time" "1"
  473. # Option "suspend time" "1"
  474.  Option "off time" "180"
  475.  
  476. # The Identifier line must be present
  477.     Identifier  "Simple Layout"
  478.     Option "AIGLX" "true"
  479.  
  480. # Each Screen line specifies a Screen section name, and optionally
  481. # the relative position of other screens.  The four names after
  482. # primary screen name are the screens to the top, bottom, left and right
  483. # of the primary screen.  In this example, screen 2 is located to the
  484. # right of screen 1.
  485.  
  486.     Screen "Screen 1"
  487.  
  488. # Each InputDevice line specifies an InputDevice section name and
  489. # optionally some options to specify the way the device is to be
  490. # used.  Those options include "CorePointer", "CoreKeyboard" and
  491. # "SendCoreEvents".
  492.  
  493. #    InputDevice "Mouse1" "CorePointer"
  494.     InputDevice "Mouse1"
  495.     InputDevice "Keyboard1" "CoreKeyboard"
  496.     InputDevice "Synaptics Touchpad"
  497. EndSection
  498.  
  499. Section "DRI"
  500.     Group 0
  501.     Mode 0666
  502. EndSection
  503.  
  504. Section "Extensions"
  505.   Option "Composite" "Enable"
  506. EndSection