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.

594 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 - 2004 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 "Keyboard"
  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" "Auto"
  202. Option "Device" "/dev/mouse"
  203. #Option "Emulate3Buttons" "true" # for a two button touch-pad
  204. EndSection
  205. # for a normal ps2 mouse:
  206. #Section "InputDevice"
  207. #
  208. # Identifier and driver
  209. #
  210. # Identifier "Mouse1"
  211. # Driver "mouse"
  212. # Option "Protocol" "PS/2"
  213. # Option "Device" "/dev/misc/psaux"
  214. #
  215. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  216. #EndSection
  217. # for a normal serial mouse
  218. #Section "InputDevice"
  219. #
  220. # Identifier "Mouse1"
  221. # Driver "mouse"
  222. # Option "Protocol" "Microsoft"
  223. # Option "Device" "/dev/tts/0"
  224. #
  225. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  226. #EndSection
  227. # for a usb Logitech wheel mouse
  228. #Section "InputDevice"
  229. #
  230. # Identifier "Mouse1"
  231. # Driver "mouse"
  232. # Option "Protocol" "IMPS/2"
  233. # Option "Device" "/dev/input/mouse0"
  234. # Option "Buttons" "5"
  235. # Option "ZaxisMapping" "4 5"
  236. #
  237. #EndSection
  238. # **********************************************************************
  239. # Other input device sections
  240. # this is optional and is required only if you
  241. # are using extended input devices. This is for example only. Refer
  242. # to the XF86Config man page for a description of the options.
  243. # **********************************************************************
  244. #
  245. # Section "InputDevice"
  246. # Identifier "Mouse2"
  247. # Driver "mouse"
  248. # Option "Protocol" "MouseMan"
  249. # Option "Device" "/dev/mouse2"
  250. # EndSection
  251. #
  252. # Section "InputDevice"
  253. # Identifier "Spaceball"
  254. # Driver "magellan"
  255. # Option "Device" "/dev/cua0"
  256. # EndSection
  257. #
  258. # Section "InputDevice"
  259. # Identifier "Spaceball2"
  260. # Driver "spaceorb"
  261. # Option "Device" "/dev/cua0"
  262. # EndSection
  263. #
  264. # Section "InputDevice"
  265. # Identifier "Touchscreen0"
  266. # Driver "microtouch"
  267. # Option "Device" "/dev/ttyS0"
  268. # Option "MinX" "1412"
  269. # Option "MaxX" "15184"
  270. # Option "MinY" "15372"
  271. # Option "MaxY" "1230"
  272. # Option "ScreenNumber" "0"
  273. # Option "ReportingMode" "Scaled"
  274. # Option "ButtonNumber" "1"
  275. # Option "SendCoreEvents"
  276. # EndSection
  277. #
  278. # Section "InputDevice"
  279. # Identifier "Touchscreen1"
  280. # Driver "elo2300"
  281. # Option "Device" "/dev/ttyS0"
  282. # Option "MinX" "231"
  283. # Option "MaxX" "3868"
  284. # Option "MinY" "3858"
  285. # Option "MaxY" "272"
  286. # Option "ScreenNumber" "0"
  287. # Option "ReportingMode" "Scaled"
  288. # Option "ButtonThreshold" "17"
  289. # Option "ButtonNumber" "1"
  290. # Option "SendCoreEvents"
  291. # EndSection
  292. # Section "InputDevice"
  293. # Identifier "Tablet1"
  294. # Driver "summa"
  295. # Option "Device" "/dev/ttyS0"
  296. # Option "MinX" "231"
  297. # Option "MaxX" "3868"
  298. # Option "MinY" "3858"
  299. # Option "MaxY" "272"
  300. # Option "ScreenNumber" "0"
  301. # Option "ReportingMode" "Scaled"
  302. # Option "ButtonThreshold" "17"
  303. # Option "ButtonNumber" "1"
  304. # Option "SendCoreEvents"
  305. # Option "BaudRate" "19200"
  306. # Option "DataBits" "8"
  307. # Option "StopBits" "1"
  308. # Option "Parity" "Odd"
  309. # Option "FlowControl" "Xoff"
  310. # Option "VTime" "10"
  311. # Option "VMin" "1"
  312. # EndSection
  313. # **********************************************************************
  314. # Monitor section
  315. # **********************************************************************
  316. # Any number of monitor sections may be present
  317. Section "Monitor"
  318. Identifier "Monitor1"
  319. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  320. # USER MANUAL FOR THE CORRECT NUMBERS !!
  321. # normally uncomment this lines
  322. # HorizSync 24.0 - 80.0
  323. # VertRefresh 50-100
  324. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  325. # value
  326. # DisplaySize 345 260
  327. # HorizSync is in kHz unless units are specified.
  328. # HorizSync may be a comma separated list of discrete values, or a
  329. # comma separated list of ranges of values.
  330. # HorizSync 30-64 # multisync
  331. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  332. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  333. # VertRefresh is in Hz unless units are specified.
  334. # VertRefresh may be a comma separated list of discrete values, or a
  335. # comma separated list of ranges of values.
  336. # VertRefresh 50-100
  337. # some mode examples 1,2 selfmade - 3 from fbset
  338. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  339. #
  340. # Mode "1152x900"
  341. # DotClock 120
  342. # HTimings 1152 1200 1312 1528
  343. # VTimings 900 910 946 985
  344. # EndMode
  345. # Mode "1152x900-2"
  346. # DotClock 100
  347. # HTimings 1152 1200 1312 1528
  348. # VTimings 900 910 946 985
  349. # EndMode
  350. # Mode "1152x864"
  351. # DotClock 105.810
  352. # HTimings 1152 1184 1312 1504
  353. # VTimings 864 868 872 902
  354. # Flags "-HSync" "-VSync"
  355. # EndMode
  356. # for framebuffer devices you might want to simply add
  357. # the 'fbset -x' output here.
  358. EndSection
  359. # **********************************************************************
  360. # Graphics device section
  361. # **********************************************************************
  362. # Any number of graphics device sections may be present
  363. Section "Device"
  364. Identifier "Card1"
  365. # Use this for framebuffer devices - should work on most systems.
  366. Driver "fbdev"
  367. Option "fbdev" "/dev/fb/0"
  368. # Driver "vga" # mga, ati, nv, sis, vesa ...
  369. # # Option "BackingStore"
  370. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  371. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  372. # # iBooks.
  373. # # Option "UseFBDev"
  374. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  375. # # BusID "PCI:1:5:0"
  376. # # Screen 0 # Screen of a dual-head mga card
  377. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  378. # # Option "AGPMode2x"
  379. EndSection
  380. # Matrox Millenium 4xx, Ati or NVidia second-head
  381. #Section "Device"
  382. # Identifier "Card2"
  383. # Driver "mga" # or other dual-able cards like ati, nv
  384. # # Option "BackingStore"
  385. # BusID "PCI:1:5:0"
  386. # Screen 1
  387. #
  388. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  389. # # Option "AGPMode2x"
  390. # # Option "Tv" "yes"
  391. # # Option "TVStandard" "PAL"
  392. # # Option "CableType" "SCART_COMPOSITE"
  393. #EndSection
  394. # **********************************************************************
  395. # Screen sections
  396. # **********************************************************************
  397. # Any number of screen sections may be present. Each describes
  398. # the configuration of a single screen. A single specific screen section
  399. # may be specified from the X server command line with the "-screen"
  400. # option.
  401. Section "Screen"
  402. Identifier "Screen1"
  403. Device "Card1"
  404. Monitor "Monitor1"
  405. DefaultDepth 24
  406. Subsection "Display"
  407. Depth 4
  408. Modes "1024x768" "800x600" "640x480"
  409. ViewPort 0 0
  410. EndSubsection
  411. Subsection "Display"
  412. Depth 8
  413. Modes "1024x768" "800x600" "640x400"
  414. ViewPort 0 0
  415. EndSubsection
  416. Subsection "Display"
  417. Depth 16
  418. Modes "1024x768" "800x600" "640x480"
  419. ViewPort 0 0
  420. EndSubsection
  421. Subsection "Display"
  422. Depth 24
  423. Modes "1024x768" "800x600" "640x480"
  424. ViewPort 0 0
  425. EndSubsection
  426. Subsection "Display"
  427. Depth 32
  428. Modes "1024x768" "800x600" "640x480"
  429. ViewPort 0 0
  430. EndSubsection
  431. EndSection
  432. #Section "Screen"
  433. # Identifier "Screen2"
  434. # Device "Card2"
  435. # Monitor "Monitor1"
  436. # DefaultDepth 16
  437. #
  438. # Subsection "Display"
  439. # Depth 16
  440. # Modes "1024x768" "800x600" "640x480"
  441. # ViewPort 0 0
  442. # EndSubsection
  443. #EndSection
  444. #Section "Screen"
  445. # Identifier "ScreenTV"
  446. # Device "CardTV"
  447. # Monitor "Monitor1"
  448. # DefaultDepth 16
  449. #
  450. # Subsection "Display"
  451. # Depth 16
  452. # Modes "640x480"
  453. # ViewPort 0 0
  454. # EndSubsection
  455. #EndSection
  456. # **********************************************************************
  457. # ServerLayout sections.
  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. Section "ServerLayout"
  466. # The Identifier line must be present
  467. Identifier "Simple Layout"
  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. Screen "Screen1" #LeftOf "Screen2"
  474. #Screen "Screen2"
  475. #Screen "ScreenTV"
  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. InputDevice "Mouse1" "CorePointer"
  481. InputDevice "Keyboard1" "CoreKeyboard"
  482. # It is possible to specify secondary input devices which might not
  483. # be pressend on X startup. Nice for laptops with temporary external
  484. # mices ;-)!
  485. # InputDevice "Mouse2" "SendCoreEvents"
  486. # InputDevice "Tablet1"
  487. EndSection