Advertisement
Guest User

Untitled

a guest
Dec 17th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.06 KB | None | 0 0
  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(5x) 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/X11R7/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/X11R7/lib/X11/fonts/misc/"
  83. # FontPath "/usr/X11R7/lib/X11/fonts/TTF/"
  84. # FontPath "/usr/X11R7/lib/X11/fonts/OTF"
  85. # FontPath "/usr/X11R7/lib/X11/fonts/Type1/"
  86. # FontPath "/usr/X11R7/lib/X11/fonts/100dpi/"
  87. # FontPath "/usr/X11R7/lib/X11/fonts/75dpi/"
  88. # FontPath "/usr/X11R7/lib/X11/fonts/local/"
  89. # FontPath "/usr/X11R7/lib/X11/fonts/Speedo/"
  90. # FontPath "/usr/X11R7/lib/X11/fonts/TrueType/"
  91. # FontPath "/usr/X11R7/lib/X11/fonts/freefont/"
  92.  
  93. # The module search path. The default path is shown here.
  94.  
  95. # ModulePath "/usr/X11R7/lib/modules"
  96.  
  97. EndSection
  98.  
  99. # **********************************************************************
  100. # Server flags section.
  101. # **********************************************************************
  102.  
  103. Section "ServerFlags"
  104.  
  105. # Uncomment this to cause a core dump at the spot where a signal is
  106. # received. This may leave the console in an unusable state, but may
  107. # provide a better stack trace in the core dump to aid in debugging
  108.  
  109. # Option "NoTrapSignals"
  110.  
  111. # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
  112. # (where n is 1 through 12). This allows clients to receive these key
  113. # events.
  114.  
  115. # Option "DontVTSwitch"
  116.  
  117. # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
  118. # This allows clients to receive this key event.
  119.  
  120. # Option "DontZap"
  121.  
  122. # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
  123. # sequences. This allows clients to receive these key events.
  124.  
  125. # Option "Dont Zoom"
  126.  
  127. # Uncomment this to disable tuning with the xvidtune client. With
  128. # it the client can still run and fetch card and monitor attributes,
  129. # but it will not be allowed to change them. If it tries it will
  130. # receive a protocol error.
  131.  
  132. # Option "DisableVidModeExtension"
  133.  
  134. # Uncomment this to enable the use of a non-local xvidtune client.
  135.  
  136. # Option "AllowNonLocalXvidtune"
  137.  
  138. # Uncomment this to disable dynamically modifying the input device
  139. # (mouse and keyboard) settings.
  140.  
  141. # Option "DisableModInDev"
  142.  
  143. # Uncomment this to enable the use of a non-local client to
  144. # change the keyboard or mouse settings (currently only xset).
  145.  
  146. # Option "AllowNonLocalModInDev"
  147.  
  148. EndSection
  149.  
  150. # **********************************************************************
  151. # Input devices
  152. # **********************************************************************
  153.  
  154. # **********************************************************************
  155. # Core keyboard's InputDevice section
  156. # **********************************************************************
  157.  
  158. Section "InputDevice"
  159.  
  160. Identifier "Keyboard1"
  161. Driver "kbd"
  162.  
  163. # For most OSs the protocol can be omitted (it defaults to "Standard").
  164. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  165. # uncomment the following line.
  166.  
  167. # Option "Protocol" "Xqueue"
  168.  
  169. Option "AutoRepeat" "500 30"
  170.  
  171. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  172. # Option "Xleds" "1 2 3"
  173.  
  174. # Option "LeftAlt" "Meta"
  175. # Option "RightAlt" "ModeShift"
  176.  
  177. # To customise the XKB settings to suit your keyboard, modify the
  178. # lines below (which are the defaults). For example, for a non-U.S.
  179. # keyboard, you will probably want to use:
  180. # Option "XkbModel" "pc105"
  181. # If you have a US Microsoft Natural keyboard, you can use:
  182. # Option "XkbModel" "microsoft"
  183. #
  184. # Then to change the language, change the Layout setting.
  185. # For example, a german layout can be obtained with:
  186. # Option "XkbLayout" "de"
  187. # or:
  188. # Option "XkbLayout" "de"
  189. # Option "XkbVariant" "nodeadkeys"
  190. #
  191. # If you'd like to switch the positions of your capslock and
  192. # control keys, use:
  193. # Option "XkbOptions" "ctrl:swapcaps"
  194.  
  195. # These are the default XKB settings for Xorg
  196. # Option "XkbRules" "xorg"
  197. # Option "XkbModel" "pc105"
  198. # Option "XkbLayout" "us"
  199. # Option "XkbVariant" ""
  200. # Option "XkbOptions" ""
  201.  
  202. # Option "XkbDisable"
  203.  
  204. Option "XkbRules" "xorg"
  205. Option "XkbModel" "pc105"
  206. Option "XkbLayout" "us"
  207.  
  208. EndSection
  209.  
  210.  
  211. # **********************************************************************
  212. # Core Pointer's InputDevice section
  213. # **********************************************************************
  214.  
  215. Section "InputDevice"
  216.  
  217. # Identifier and driver
  218.  
  219. Identifier "Mouse1"
  220. Driver "mouse"
  221. Option "Protocol" "Auto" # Auto detect
  222. Option "Device" "/dev/input/mice"
  223.  
  224. # When using XQUEUE, comment out the above two lines, and uncomment
  225. # the following line.
  226.  
  227. # Option "Protocol" "Xqueue"
  228.  
  229. # Mouse-speed setting for PS/2 mouse.
  230.  
  231. # Option "Resolution" "256"
  232.  
  233. # Baudrate and SampleRate are only for some Logitech mice. In
  234. # almost every case these lines should be omitted.
  235.  
  236. # Option "BaudRate" "9600"
  237. # Option "SampleRate" "150"
  238.  
  239. # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
  240. # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
  241. # 3 buttons and you need to map the wheel to different button ids to avoid
  242. # conflicts.
  243.  
  244. Option "ZAxisMapping" "4 5 6 7"
  245.  
  246. # Emulate3Buttons is an option for 2-button mice
  247. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  248.  
  249. Option "Emulate3Buttons"
  250. # Option "Emulate3Timeout" "50"
  251.  
  252. # ChordMiddle is an option for some 3-button Logitech mice
  253.  
  254. # Option "ChordMiddle"
  255.  
  256. EndSection
  257.  
  258.  
  259. # **********************************************************************
  260. # Other input device sections
  261. # this is optional and is required only if you
  262. # are using extended input devices. This is for example only. Refer
  263. # to the xorg.conf man page for a description of the options.
  264. # **********************************************************************
  265. #
  266. # Section "InputDevice"
  267. # Identifier "Mouse2"
  268. # Driver "mouse"
  269. # Option "Protocol" "MouseMan"
  270. # Option "Device" "/dev/mouse2"
  271. # EndSection
  272. #
  273. # Section "InputDevice"
  274. # Identifier "spaceball"
  275. # Driver "magellan"
  276. # Option "Device" "/dev/cua0"
  277. # EndSection
  278. #
  279. # Section "InputDevice"
  280. # Identifier "spaceball2"
  281. # Driver "spaceorb"
  282. # Option "Device" "/dev/cua0"
  283. # EndSection
  284. #
  285. # Section "InputDevice"
  286. # Identifier "touchscreen0"
  287. # Driver "microtouch"
  288. # Option "Device" "/dev/ttyS0"
  289. # Option "MinX" "1412"
  290. # Option "MaxX" "15184"
  291. # Option "MinY" "15372"
  292. # Option "MaxY" "1230"
  293. # Option "ScreenNumber" "0"
  294. # Option "ReportingMode" "Scaled"
  295. # Option "ButtonNumber" "1"
  296. # Option "SendCoreEvents"
  297. # EndSection
  298. #
  299. # Section "InputDevice"
  300. # Identifier "touchscreen1"
  301. # Driver "elo2300"
  302. # Option "Device" "/dev/ttyS0"
  303. # Option "MinX" "231"
  304. # Option "MaxX" "3868"
  305. # Option "MinY" "3858"
  306. # Option "MaxY" "272"
  307. # Option "ScreenNumber" "0"
  308. # Option "ReportingMode" "Scaled"
  309. # Option "ButtonThreshold" "17"
  310. # Option "ButtonNumber" "1"
  311. # Option "SendCoreEvents"
  312. # EndSection
  313.  
  314. # **********************************************************************
  315. # Monitor section
  316. # **********************************************************************
  317.  
  318. # Any number of monitor sections may be present
  319.  
  320. Section "Monitor"
  321.  
  322. Identifier "My Monitor"
  323.  
  324. # HorizSync is in kHz unless units are specified.
  325. # HorizSync may be a comma separated list of discrete values, or a
  326. # comma separated list of ranges of values.
  327. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  328. # USER MANUAL FOR THE CORRECT NUMBERS.
  329.  
  330. HorizSync 31.5 - 48.5
  331.  
  332. # HorizSync 30-64 # multisync
  333. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  334. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  335.  
  336. # VertRefresh is in Hz unless units are specified.
  337. # VertRefresh may be a comma separated list of discrete values, or a
  338. # comma separated list of ranges of values.
  339. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  340. # USER MANUAL FOR THE CORRECT NUMBERS.
  341.  
  342. VertRefresh 50-100
  343.  
  344. EndSection
  345.  
  346.  
  347. # **********************************************************************
  348. # Graphics device section
  349. # **********************************************************************
  350.  
  351. # Any number of graphics device sections may be present
  352.  
  353. # Standard VGA Device:
  354.  
  355. Section "Device"
  356. Identifier "Standard VGA"
  357. VendorName "Unknown"
  358. BoardName "Unknown"
  359.  
  360. # The chipset line is optional in most cases. It can be used to override
  361. # the driver's chipset detection, and should not normally be specified.
  362.  
  363. # Chipset "generic"
  364.  
  365. # The Driver line must be present. When using run-time loadable driver
  366. # modules, this line instructs the server to load the specified driver
  367. # module. Even when not using loadable driver modules, this line
  368. # indicates which driver should interpret the information in this section.
  369.  
  370. Driver "vga"
  371. # The BusID line is used to specify which of possibly multiple devices
  372. # this section is intended for. When this line isn't present, a device
  373. # section can only match up with the primary video device. For PCI
  374. # devices a line like the following could be used. This line should not
  375. # normally be included unless there is more than one video device
  376. # intalled.
  377.  
  378. # BusID "PCI:0:10:0"
  379.  
  380. # VideoRam 256
  381.  
  382. # Clocks 25.2 28.3
  383.  
  384. EndSection
  385.  
  386. # Device configured by xorgconfig:
  387.  
  388. Section "Device"
  389. Identifier "My Video Card"
  390. Driver "vga"
  391. # unsupported card
  392. #VideoRam 262144
  393. # Insert Clocks lines here if appropriate
  394. EndSection
  395.  
  396.  
  397. # **********************************************************************
  398. # Screen sections
  399. # **********************************************************************
  400.  
  401. # Any number of screen sections may be present. Each describes
  402. # the configuration of a single screen. A single specific screen section
  403. # may be specified from the X server command line with the "-screen"
  404. # option.
  405. Section "Screen"
  406. Identifier "Screen 1"
  407. Device "My Video Card"
  408. Monitor "My Monitor"
  409. DefaultDepth 24
  410.  
  411. Subsection "Display"
  412. Depth 8
  413. Modes "1280x1024" "1024x768" "800x600" "640x480"
  414. ViewPort 0 0
  415. EndSubsection
  416. Subsection "Display"
  417. Depth 16
  418. Modes "1280x1024" "1024x768" "800x600" "640x480"
  419. ViewPort 0 0
  420. EndSubsection
  421. Subsection "Display"
  422. Depth 24
  423. Modes "1280x1024" "1024x768" "800x600" "640x480"
  424. ViewPort 0 0
  425. EndSubsection
  426. EndSection
  427.  
  428. # **********************************************************************
  429. # ServerLayout sections.
  430. # **********************************************************************
  431.  
  432. # Any number of ServerLayout sections may be present. Each describes
  433. # the way multiple screens are organised. A specific ServerLayout
  434. # section may be specified from the X server command line with the
  435. # "-layout" option. In the absence of this, the first section is used.
  436. # When now ServerLayout section is present, the first Screen section
  437. # is used alone.
  438.  
  439. Section "ServerLayout"
  440.  
  441. # The Identifier line must be present
  442. Identifier "Simple Layout"
  443.  
  444. # Each Screen line specifies a Screen section name, and optionally
  445. # the relative position of other screens. The four names after
  446. # primary screen name are the screens to the top, bottom, left and right
  447. # of the primary screen. In this example, screen 2 is located to the
  448. # right of screen 1.
  449.  
  450. Screen "Screen 1"
  451.  
  452. # Each InputDevice line specifies an InputDevice section name and
  453. # optionally some options to specify the way the device is to be
  454. # used. Those options include "CorePointer", "CoreKeyboard" and
  455. # "SendCoreEvents".
  456.  
  457. InputDevice "Mouse1" "CorePointer"
  458. InputDevice "Keyboard1" "CoreKeyboard"
  459.  
  460. EndSection
  461.  
  462. # Section "DRI"
  463. # Mode 0666
  464. # EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement