mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

595 lines
19 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/x11/xorg/xorg.conf.data
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. # File generated by xf86config.
  23. # and additional hand edited by Rene Rebe - ROCK Linux Project
  24. #
  25. # YOU MUST ONLY ADD A CARD SECTION AND MODIFY SOME MONITOR SETTINGS
  26. # TO GET A WORKING X CONFIGURATION.
  27. #
  28. #
  29. # Copyright (c) 1999 by The XFree86 Project, Inc.
  30. #
  31. # Permission is hereby granted, free of charge, to any person obtaining a
  32. # copy of this software and associated documentation files (the "Software"),
  33. # to deal in the Software without restriction, including without limitation
  34. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  35. # and/or sell copies of the Software, and to permit persons to whom the
  36. # Software is furnished to do so, subject to the following conditions:
  37. #
  38. # The above copyright notice and this permission notice shall be included in
  39. # all copies or substantial portions of the Software.
  40. #
  41. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  42. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  43. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  44. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  45. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  46. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  47. # SOFTWARE.
  48. #
  49. # Except as contained in this notice, the name of the XFree86 Project shall
  50. # not be used in advertising or otherwise to promote the sale, use or other
  51. # dealings in this Software without prior written authorization from the
  52. # XFree86 Project.
  53. #
  54. # **********************************************************************
  55. # Refer to the XF86Config(4/5) man page for details about the format of
  56. # this file.
  57. # **********************************************************************
  58. # **********************************************************************
  59. # Module section -- this section is used to specify
  60. # which dynamically loadable modules to load.
  61. # **********************************************************************
  62. #
  63. Section "Module"
  64. Load "dbe" # DBE (double buffer extension)
  65. Load "ddc" # Display Data Channel extension
  66. # This loads the miscellaneous extensions module
  67. SubSection "extmod"
  68. # Option "omit xfree86-dga" # don't initialise the DGA extension
  69. # Option "omit XFree86-VidModeExtension" # disable mode-switching-supoprt
  70. EndSubSection
  71. # This loads the Type1 and FreeType font modules
  72. Load "type1"
  73. Load "freetype"
  74. # Load "glx" # GLX extension (OpenGL visuals)
  75. # Load "dri" # Direct Rendering Interface extension (OpenGL)
  76. # Load "v4l" # Video 4 Linux extension (provides a xv adapter)
  77. EndSection
  78. # this enabled normal users to use DRI - the Direct Rendering Extension.
  79. # it is also possible to use a group to control access.
  80. #
  81. Section "DRI"
  82. Mode 0666
  83. EndSection
  84. # **********************************************************************
  85. # Files section. This allows default font and rgb paths to be set
  86. # **********************************************************************
  87. Section "Files"
  88. # The location of the RGB database. Note, this is the name of the
  89. # file minus the extension (like ".txt" or ".db"). There is normally
  90. # no need to change the default.
  91. RgbPath "/usr/X11R6/lib/X11/rgb"
  92. # Multiple FontPath entries are allowed (which are concatenated together),
  93. # as well as specifying multiple comma-separated entries in one FontPath
  94. # command (or a combination of both methods)
  95. #
  96. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  97. # programs take long to start up, try moving the Type1 and Speedo directory
  98. # to the end of this list (or comment them out).
  99. #
  100. FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  101. FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  102. FontPath "/usr/X11R6/lib/X11/fonts/CID/"
  103. FontPath "/usr/X11R6/lib/X11/fonts/PEX/"
  104. FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
  105. FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
  106. FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
  107. FontPath "/usr/X11R6/lib/X11/fonts/encodings/"
  108. FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
  109. FontPath "/usr/X11R6/lib/X11/fonts/latin2/"
  110. FontPath "/usr/X11R6/lib/X11/fonts/local/"
  111. FontPath "/usr/X11R6/lib/X11/fonts/misc/"
  112. FontPath "/usr/X11R6/lib/X11/fonts/sharefont"
  113. FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
  114. FontPath "/usr/share/ghostscript/fonts/"
  115. # The module search path. The default path is shown here.
  116. # ModulePath "/usr/X11R6/lib/modules"
  117. EndSection
  118. # **********************************************************************
  119. # Server flags section.
  120. # **********************************************************************
  121. Section "ServerFlags"
  122. # Uncomment this to cause a core dump at the spot where a signal is
  123. # received. This may leave the console in an unusable state, but may
  124. # provide a better stack trace in the core dump to aid in debugging
  125. # Option "NoTrapSignals"
  126. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  127. # This allows clients to receive this key event.
  128. # Option "DontZap"
  129. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  130. # sequences. This allows clients to receive these key events.
  131. # Option "Dont Zoom"
  132. # Uncomment this to disable tuning with the xvidtune client. With
  133. # it the client can still run and fetch card and monitor attributes,
  134. # but it will not be allowed to change them. If it tries it will
  135. # receive a protocol error.
  136. # Option "DisableVidModeExtension"
  137. # Uncomment this to enable the use of a non-local xvidtune client.
  138. # Option "AllowNonLocalXvidtune"
  139. # Uncomment this to disable dynamically modifying the input device
  140. # (mouse and keyboard) settings.
  141. # Option "DisableModInDev"
  142. # Uncomment this to enable the use of a non-local client to
  143. # change the keyboard or mouse settings (currently only xset).
  144. # Option "AllowNonLocalModInDev"
  145. EndSection
  146. # **********************************************************************
  147. # Input devices
  148. # **********************************************************************
  149. # **********************************************************************
  150. # Core keyboard's InputDevice section
  151. # **********************************************************************
  152. Section "InputDevice"
  153. Identifier "Keyboard1"
  154. Driver "kbd"
  155. # For most OSs the protocol can be omitted (it defaults to "Standard").
  156. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  157. # uncomment the following line.
  158. # Option "Protocol" "Xqueue"
  159. Option "AutoRepeat" "250 30"
  160. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  161. # Option "Xleds" "1 2 3"
  162. # Option "LeftAlt" "Meta"
  163. # Option "RightAlt" "ModeShift"
  164. # To customise the XKB settings to suit your keyboard, modify the
  165. # lines below (which are the defaults). For example, for a non-U.S.
  166. # keyboard, you will probably want to use:
  167. # Option "XkbModel" "pc102"
  168. # If you have a US Microsoft Natural keyboard, you can use:
  169. # Option "XkbModel" "microsoft"
  170. #
  171. # Then to change the language, change the Layout setting.
  172. # For example, a german layout can be obtained with:
  173. # Option "XkbLayout" "de"
  174. # or:
  175. # Option "XkbLayout" "de"
  176. # Option "XkbVariant" "nodeadkeys"
  177. #
  178. # If you'd like to switch the positions of your capslock and
  179. # control keys, use:
  180. # Option "XkbOptions" "ctrl:swapcaps"
  181. # These are the default XKB settings for XFree86
  182. # Option "XkbRules" "xfree86"
  183. # Option "XkbModel" "pc101"
  184. # Option "XkbLayout" "us"
  185. # Option "XkbVariant" ""
  186. # Option "XkbOptions" ""
  187. # Option "XkbDisable"
  188. Option "XkbRules" "xfree86"
  189. Option "XkbModel" "pc105"
  190. # Option "XkbLayout" "de" # german keyboard layout
  191. # Option "XkbVariant" "nodeadkeys" # normally not wanted
  192. EndSection
  193. # **********************************************************************
  194. # Core Pointer's InputDevice section
  195. # **********************************************************************
  196. # auto-detected mouse
  197. Section "InputDevice"
  198. # Identifier and driver
  199. Identifier "Mouse1"
  200. Driver "mouse"
  201. Option "Protocol" "ImPS/2"
  202. Option "Device" "/dev/input/mice"
  203. Option "ZaxisMapping" "4 5"
  204. #Option "Emulate3Buttons" "true" # for a two button touch-pad
  205. EndSection
  206. # for a normal ps2 mouse:
  207. #Section "InputDevice"
  208. #
  209. # Identifier and driver
  210. #
  211. # Identifier "Mouse1"
  212. # Driver "mouse"
  213. # Option "Protocol" "PS/2"
  214. # Option "Device" "/dev/misc/psaux"
  215. #
  216. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  217. #EndSection
  218. # for a normal serial mouse
  219. #Section "InputDevice"
  220. #
  221. # Identifier "Mouse1"
  222. # Driver "mouse"
  223. # Option "Protocol" "Microsoft"
  224. # Option "Device" "/dev/tts/0"
  225. #
  226. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  227. #EndSection
  228. # for a usb Logitech wheel mouse
  229. #Section "InputDevice"
  230. #
  231. # Identifier "Mouse1"
  232. # Driver "mouse"
  233. # Option "Protocol" "IMPS/2"
  234. # Option "Device" "/dev/input/mouse0"
  235. # Option "Buttons" "5"
  236. # Option "ZaxisMapping" "4 5"
  237. #
  238. #EndSection
  239. # **********************************************************************
  240. # Other input device sections
  241. # this is optional and is required only if you
  242. # are using extended input devices. This is for example only. Refer
  243. # to the XF86Config man page for a description of the options.
  244. # **********************************************************************
  245. #
  246. # Section "InputDevice"
  247. # Identifier "Mouse2"
  248. # Driver "mouse"
  249. # Option "Protocol" "MouseMan"
  250. # Option "Device" "/dev/mouse2"
  251. # EndSection
  252. #
  253. # Section "InputDevice"
  254. # Identifier "Spaceball"
  255. # Driver "magellan"
  256. # Option "Device" "/dev/cua0"
  257. # EndSection
  258. #
  259. # Section "InputDevice"
  260. # Identifier "Spaceball2"
  261. # Driver "spaceorb"
  262. # Option "Device" "/dev/cua0"
  263. # EndSection
  264. #
  265. # Section "InputDevice"
  266. # Identifier "Touchscreen0"
  267. # Driver "microtouch"
  268. # Option "Device" "/dev/ttyS0"
  269. # Option "MinX" "1412"
  270. # Option "MaxX" "15184"
  271. # Option "MinY" "15372"
  272. # Option "MaxY" "1230"
  273. # Option "ScreenNumber" "0"
  274. # Option "ReportingMode" "Scaled"
  275. # Option "ButtonNumber" "1"
  276. # Option "SendCoreEvents"
  277. # EndSection
  278. #
  279. # Section "InputDevice"
  280. # Identifier "Touchscreen1"
  281. # Driver "elo2300"
  282. # Option "Device" "/dev/ttyS0"
  283. # Option "MinX" "231"
  284. # Option "MaxX" "3868"
  285. # Option "MinY" "3858"
  286. # Option "MaxY" "272"
  287. # Option "ScreenNumber" "0"
  288. # Option "ReportingMode" "Scaled"
  289. # Option "ButtonThreshold" "17"
  290. # Option "ButtonNumber" "1"
  291. # Option "SendCoreEvents"
  292. # EndSection
  293. # Section "InputDevice"
  294. # Identifier "Tablet1"
  295. # Driver "summa"
  296. # Option "Device" "/dev/ttyS0"
  297. # Option "MinX" "231"
  298. # Option "MaxX" "3868"
  299. # Option "MinY" "3858"
  300. # Option "MaxY" "272"
  301. # Option "ScreenNumber" "0"
  302. # Option "ReportingMode" "Scaled"
  303. # Option "ButtonThreshold" "17"
  304. # Option "ButtonNumber" "1"
  305. # Option "SendCoreEvents"
  306. # Option "BaudRate" "19200"
  307. # Option "DataBits" "8"
  308. # Option "StopBits" "1"
  309. # Option "Parity" "Odd"
  310. # Option "FlowControl" "Xoff"
  311. # Option "VTime" "10"
  312. # Option "VMin" "1"
  313. # EndSection
  314. # **********************************************************************
  315. # Monitor section
  316. # **********************************************************************
  317. # Any number of monitor sections may be present
  318. Section "Monitor"
  319. Identifier "Monitor1"
  320. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  321. # USER MANUAL FOR THE CORRECT NUMBERS !!
  322. # normally uncomment this lines
  323. # HorizSync 24.0 - 80.0
  324. # VertRefresh 50-100
  325. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  326. # value
  327. # DisplaySize 345 260
  328. # HorizSync is in kHz unless units are specified.
  329. # HorizSync may be a comma separated list of discrete values, or a
  330. # comma separated list of ranges of values.
  331. # HorizSync 30-64 # multisync
  332. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  333. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  334. # VertRefresh is in Hz unless units are specified.
  335. # VertRefresh may be a comma separated list of discrete values, or a
  336. # comma separated list of ranges of values.
  337. # VertRefresh 50-100
  338. # some mode examples 1,2 selfmade - 3 from fbset
  339. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  340. #
  341. # Mode "1152x900"
  342. # DotClock 120
  343. # HTimings 1152 1200 1312 1528
  344. # VTimings 900 910 946 985
  345. # EndMode
  346. # Mode "1152x900-2"
  347. # DotClock 100
  348. # HTimings 1152 1200 1312 1528
  349. # VTimings 900 910 946 985
  350. # EndMode
  351. # Mode "1152x864"
  352. # DotClock 105.810
  353. # HTimings 1152 1184 1312 1504
  354. # VTimings 864 868 872 902
  355. # Flags "-HSync" "-VSync"
  356. # EndMode
  357. # for framebuffer devices you might want to simply add
  358. # the 'fbset -x' output here.
  359. EndSection
  360. # **********************************************************************
  361. # Graphics device section
  362. # **********************************************************************
  363. # Any number of graphics device sections may be present
  364. Section "Device"
  365. Identifier "Card1"
  366. # Use this for framebuffer devices - should work on most systems.
  367. Driver "fbdev"
  368. Option "fbdev" "/dev/fb/0"
  369. # Driver "vga" # mga, ati, nv, sis, vesa ...
  370. # # Option "BackingStore"
  371. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  372. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  373. # # iBooks.
  374. # # Option "UseFBDev"
  375. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  376. # # BusID "PCI:1:5:0"
  377. # # Screen 0 # Screen of a dual-head mga card
  378. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  379. # # Option "AGPMode2x"
  380. EndSection
  381. # Matrox Millenium 4xx, Ati or NVidia second-head
  382. #Section "Device"
  383. # Identifier "Card2"
  384. # Driver "mga" # or other dual-able cards like ati, nv
  385. # # Option "BackingStore"
  386. # BusID "PCI:1:5:0"
  387. # Screen 1
  388. #
  389. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  390. # # Option "AGPMode2x"
  391. # # Option "Tv" "yes"
  392. # # Option "TVStandard" "PAL"
  393. # # Option "CableType" "SCART_COMPOSITE"
  394. #EndSection
  395. # **********************************************************************
  396. # Screen sections
  397. # **********************************************************************
  398. # Any number of screen sections may be present. Each describes
  399. # the configuration of a single screen. A single specific screen section
  400. # may be specified from the X server command line with the "-screen"
  401. # option.
  402. Section "Screen"
  403. Identifier "Screen1"
  404. Device "Card1"
  405. Monitor "Monitor1"
  406. DefaultDepth 24
  407. Subsection "Display"
  408. Depth 4
  409. Modes "1024x768" "800x600" "640x480"
  410. ViewPort 0 0
  411. EndSubsection
  412. Subsection "Display"
  413. Depth 8
  414. Modes "1024x768" "800x600" "640x400"
  415. ViewPort 0 0
  416. EndSubsection
  417. Subsection "Display"
  418. Depth 16
  419. Modes "1024x768" "800x600" "640x480"
  420. ViewPort 0 0
  421. EndSubsection
  422. Subsection "Display"
  423. Depth 24
  424. Modes "1024x768" "800x600" "640x480"
  425. ViewPort 0 0
  426. EndSubsection
  427. Subsection "Display"
  428. Depth 32
  429. Modes "1024x768" "800x600" "640x480"
  430. ViewPort 0 0
  431. EndSubsection
  432. EndSection
  433. #Section "Screen"
  434. # Identifier "Screen2"
  435. # Device "Card2"
  436. # Monitor "Monitor1"
  437. # DefaultDepth 16
  438. #
  439. # Subsection "Display"
  440. # Depth 16
  441. # Modes "1024x768" "800x600" "640x480"
  442. # ViewPort 0 0
  443. # EndSubsection
  444. #EndSection
  445. #Section "Screen"
  446. # Identifier "ScreenTV"
  447. # Device "CardTV"
  448. # Monitor "Monitor1"
  449. # DefaultDepth 16
  450. #
  451. # Subsection "Display"
  452. # Depth 16
  453. # Modes "640x480"
  454. # ViewPort 0 0
  455. # EndSubsection
  456. #EndSection
  457. # **********************************************************************
  458. # ServerLayout sections.
  459. # **********************************************************************
  460. # Any number of ServerLayout sections may be present. Each describes
  461. # the way multiple screens are organised. A specific ServerLayout
  462. # section may be specified from the X server command line with the
  463. # "-layout" option. In the absence of this, the first section is used.
  464. # When now ServerLayout section is present, the first Screen section
  465. # is used alone.
  466. Section "ServerLayout"
  467. # The Identifier line must be present
  468. Identifier "Simple Layout"
  469. # Each Screen line specifies a Screen section name, and optionally
  470. # the relative position of other screens. The four names after
  471. # primary screen name are the screens to the top, bottom, left and right
  472. # of the primary screen. In this example, screen 2 is located to the
  473. # right of screen 1.
  474. Screen "Screen1" #LeftOf "Screen2"
  475. #Screen "Screen2"
  476. #Screen "ScreenTV"
  477. # Each InputDevice line specifies an InputDevice section name and
  478. # optionally some options to specify the way the device is to be
  479. # used. Those options include "CorePointer", "CoreKeyboard" and
  480. # "SendCoreEvents".
  481. InputDevice "Mouse1" "CorePointer"
  482. InputDevice "Keyboard1" "CoreKeyboard"
  483. # It is possible to specify secondary input devices which might not
  484. # be pressend on X startup. Nice for laptops with temporary external
  485. # mices ;-)!
  486. # InputDevice "Mouse2" "SendCoreEvents"
  487. # InputDevice "Tablet1"
  488. EndSection