OpenSDE Packages Database (without history before r20070)
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.

538 lines
16 KiB

  1. # File generated by xf86config.
  2. # and additional hand edited by Rene Rebe - T2 Project
  3. #
  4. # YOU MUST ONLY MODIFY THE CARD SECTION AND SOME MONITOR SETTINGS
  5. # TO GET A WORKING X CONFIGURATION.
  6. #
  7. # **********************************************************************
  8. # Refer to the XF86Config(4/5) man page for details about the format of
  9. # this file.
  10. # **********************************************************************
  11. # **********************************************************************
  12. # Module section -- this section is used to specify
  13. # which dynamically loadable modules to load.
  14. # **********************************************************************
  15. Section "Module"
  16. Load "dbe" # DBE (double buffer extension)
  17. Load "ddc" # Display Data Channel extension
  18. # This loads the miscellaneous extensions module
  19. SubSection "extmod"
  20. # Option "omit xfree86-dga" # don't initialise the DGA extension
  21. # Option "omit XFree86-VidModeExtension" # disable mode-switching-supoprt
  22. EndSubSection
  23. # This loads the Type1 and FreeType font modules
  24. Load "type1"
  25. Load "freetype"
  26. # Load "glx" # GLX extension (OpenGL visuals)
  27. # Load "dri" # Direct Rendering Interface extension (OpenGL)
  28. # Load "v4l" # Video 4 Linux extension (provides a xv adapter)
  29. EndSection
  30. # **********************************************************************
  31. # Extensions section -- this section is used to specify
  32. # which extensions to enable.
  33. # **********************************************************************
  34. Section "Extensions"
  35. # Option "XEVIE" "Disable"
  36. # Option "Composite" "Enable"
  37. EndSection
  38. # this enabled normal users to use DRI - the Direct Rendering Extension.
  39. # it is also possible to use a group to control access.
  40. #
  41. Section "DRI"
  42. Mode 0666
  43. EndSection
  44. # **********************************************************************
  45. # Files section. This allows default font and rgb paths to be set
  46. # **********************************************************************
  47. Section "Files"
  48. # The location of the RGB database. Note, this is the name of the
  49. # file minus the extension (like ".txt" or ".db"). There is normally
  50. # no need to change the default.
  51. RgbPath "/usr/X11/share/X11/rgb"
  52. # Multiple FontPath entries are allowed (which are concatenated together),
  53. # as well as specifying multiple comma-separated entries in one FontPath
  54. # command (or a combination of both methods)
  55. #
  56. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  57. # programs take long to start up, try moving the Type1 and Speedo directory
  58. # to the end of this list (or comment them out).
  59. #
  60. FontPath "/usr/X11/lib/X11/fonts/75dpi/:unscaled"
  61. FontPath "/usr/X11/lib/X11/fonts/100dpi/:unscaled"
  62. FontPath "/usr/X11/lib/X11/fonts/CID/"
  63. FontPath "/usr/X11/lib/X11/fonts/PEX/"
  64. FontPath "/usr/X11/lib/X11/fonts/Speedo/"
  65. FontPath "/usr/X11/lib/X11/fonts/Type1/"
  66. FontPath "/usr/X11/lib/X11/fonts/cyrillic/"
  67. FontPath "/usr/X11/lib/X11/fonts/encodings/"
  68. FontPath "/usr/X11/lib/X11/fonts/freefont/"
  69. FontPath "/usr/X11/lib/X11/fonts/latin2/"
  70. FontPath "/usr/X11/lib/X11/fonts/local/"
  71. FontPath "/usr/X11/lib/X11/fonts/misc/"
  72. FontPath "/usr/X11/lib/X11/fonts/sharefont/"
  73. FontPath "/usr/X11/lib/X11/fonts/TTF/"
  74. # The module search path. The default path is shown here.
  75. # ModulePath "/usr/X11/lib/modules"
  76. EndSection
  77. # **********************************************************************
  78. # Server flags section.
  79. # **********************************************************************
  80. Section "ServerFlags"
  81. # Uncomment this to cause a core dump at the spot where a signal is
  82. # received. This may leave the console in an unusable state, but may
  83. # provide a better stack trace in the core dump to aid in debugging
  84. # Option "NoTrapSignals"
  85. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  86. # This allows clients to receive this key event.
  87. # Option "DontZap"
  88. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  89. # sequences. This allows clients to receive these key events.
  90. # Option "Dont Zoom"
  91. # Uncomment this to disable tuning with the xvidtune client. With
  92. # it the client can still run and fetch card and monitor attributes,
  93. # but it will not be allowed to change them. If it tries it will
  94. # receive a protocol error.
  95. # Option "DisableVidModeExtension"
  96. # Uncomment this to enable the use of a non-local xvidtune client.
  97. # Option "AllowNonLocalXvidtune"
  98. # Uncomment this to disable dynamically modifying the input device
  99. # (mouse and keyboard) settings.
  100. # Option "DisableModInDev"
  101. # Uncomment this to enable the use of a non-local client to
  102. # change the keyboard or mouse settings (currently only xset).
  103. # Option "AllowNonLocalModInDev"
  104. # Uncomment this to enable multi-head Xinerama support
  105. # Option "Xinerama" "true"
  106. EndSection
  107. # **********************************************************************
  108. # Input devices
  109. # **********************************************************************
  110. # **********************************************************************
  111. # Core keyboard's InputDevice section
  112. # **********************************************************************
  113. Section "InputDevice"
  114. Identifier "Keyboard1"
  115. Driver "kbd"
  116. # For most OSs the protocol can be omitted (it defaults to "Standard").
  117. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  118. # uncomment the following line.
  119. # Option "Protocol" "Xqueue"
  120. Option "AutoRepeat" "250 30"
  121. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  122. # Option "Xleds" "1 2 3"
  123. # Option "LeftAlt" "Meta"
  124. # Option "RightAlt" "ModeShift"
  125. # To customise the XKB settings to suit your keyboard, modify the
  126. # lines below (which are the defaults). For example, for a non-U.S.
  127. # keyboard, you will probably want to use:
  128. # Option "XkbModel" "pc102"
  129. # If you have a US Microsoft Natural keyboard, you can use:
  130. # Option "XkbModel" "microsoft"
  131. #
  132. # Then to change the language, change the Layout setting.
  133. # For example, a german layout can be obtained with:
  134. # Option "XkbLayout" "de"
  135. # or:
  136. # Option "XkbLayout" "de"
  137. # Option "XkbVariant" "nodeadkeys"
  138. #
  139. # If you'd like to switch the positions of your capslock and
  140. # control keys, use:
  141. # Option "XkbOptions" "ctrl:swapcaps"
  142. # These are the default XKB settings for XFree86
  143. # Option "XkbRules" "xorg"
  144. # Option "XkbModel" "pc101"
  145. # Option "XkbLayout" "us"
  146. # Option "XkbVariant" ""
  147. # Option "XkbOptions" ""
  148. # Option "XkbDisable"
  149. Option "XkbRules" "xorg"
  150. Option "XkbModel" "pc105"
  151. # Option "XkbLayout" "de" # german keyboard layout
  152. # Option "XkbVariant" "nodeadkeys" # normally not wanted
  153. EndSection
  154. # **********************************************************************
  155. # Core Pointer's InputDevice section
  156. # **********************************************************************
  157. # normal wheel mouse ...
  158. #
  159. Section "InputDevice"
  160. Identifier "Mouse1"
  161. Driver "mouse"
  162. Option "Protocol" "IMPS/2"
  163. Option "Device" "/dev/input/mice"
  164. # Option "Protocol" "Auto"
  165. # Option "Protocol" "Microsoft"
  166. # Option "Protocol" "PS/2"
  167. # Option "Device" "/dev/tts/0"
  168. # Option "Device" "/dev/misc/psaux"
  169. Option "Buttons" "5"
  170. Option "ZaxisMapping" "4 5"
  171. EndSection
  172. # **********************************************************************
  173. # Other input device sections
  174. # this is optional and is required only if you
  175. # are using extended input devices. This is for example only. Refer
  176. # to the XF86Config man page for a description of the options.
  177. # **********************************************************************
  178. #
  179. # Section "InputDevice"
  180. # Identifier "Mouse2"
  181. # Driver "mouse"
  182. # Option "Protocol" "MouseMan"
  183. # Option "Device" "/dev/mouse2"
  184. # EndSection
  185. #
  186. # Section "InputDevice"
  187. # Identifier "Spaceball"
  188. # Driver "magellan"
  189. # Option "Device" "/dev/cua0"
  190. # EndSection
  191. #
  192. # Section "InputDevice"
  193. # Identifier "Spaceball2"
  194. # Driver "spaceorb"
  195. # Option "Device" "/dev/cua0"
  196. # EndSection
  197. #
  198. # Section "InputDevice"
  199. # Identifier "Touchpad"
  200. # Driver "synaptics"
  201. # Option "SendCoreEvents" "true"
  202. # Option "Device" "/dev/input/mouse0"
  203. # Option "Protocol" "auto-dev"
  204. # Option "LeftEdge" "0"
  205. # Option "RightEdge" "850"
  206. # Option "TopEdge" "0"
  207. # Option "BottomEdge" "645"
  208. # Option "MinSpeed" "0.25"
  209. # Option "MaxSpeed" "1.5"
  210. # Option "AccelFactor" "0.1"
  211. # Option "FingerLow" "0"
  212. # Option "FingerHigh" "30"
  213. # Option "MaxTapMove" "20"
  214. # Option "MaxTapTime" "100A"
  215. # Option "VertEdgeScroll" "0"
  216. # Option "HorizEdgeScroll" "0"
  217. # Option "VertTwoFingerScroll" "1"
  218. # Option "HorizTwoFingerScroll" "0"
  219. # Option "HorizScrollDelta" "0"
  220. # Option "VertScrollDelta" "30"
  221. # Option "SHMConfig" "on"
  222. # Option "TapButton1" "1"
  223. # Option "TapButton2" "3"
  224. # Option "TapButton3" "2"
  225. # EndSection
  226. #
  227. # Section "InputDevice"
  228. # Identifier "Touchscreen0"
  229. # Driver "microtouch"
  230. # Option "Device" "/dev/ttyS0"
  231. # Option "MinX" "1412"
  232. # Option "MaxX" "15184"
  233. # Option "MinY" "15372"
  234. # Option "MaxY" "1230"
  235. # Option "ScreenNumber" "0"
  236. # Option "ReportingMode" "Scaled"
  237. # Option "ButtonNumber" "1"
  238. # Option "SendCoreEvents"
  239. # EndSection
  240. #
  241. # Section "InputDevice"
  242. # Identifier "Touchscreen1"
  243. # Driver "elo2300"
  244. # Option "Device" "/dev/ttyS0"
  245. # Option "MinX" "231"
  246. # Option "MaxX" "3868"
  247. # Option "MinY" "3858"
  248. # Option "MaxY" "272"
  249. # Option "ScreenNumber" "0"
  250. # Option "ReportingMode" "Scaled"
  251. # Option "ButtonThreshold" "17"
  252. # Option "ButtonNumber" "1"
  253. # Option "SendCoreEvents"
  254. # EndSection
  255. # Section "InputDevice"
  256. # Identifier "Tablet1"
  257. # Driver "summa"
  258. # Option "Device" "/dev/ttyS0"
  259. # Option "MinX" "231"
  260. # Option "MaxX" "3868"
  261. # Option "MinY" "3858"
  262. # Option "MaxY" "272"
  263. # Option "ScreenNumber" "0"
  264. # Option "ReportingMode" "Scaled"
  265. # Option "ButtonThreshold" "17"
  266. # Option "ButtonNumber" "1"
  267. # Option "SendCoreEvents"
  268. # Option "BaudRate" "19200"
  269. # Option "DataBits" "8"
  270. # Option "StopBits" "1"
  271. # Option "Parity" "Odd"
  272. # Option "FlowControl" "Xoff"
  273. # Option "VTime" "10"
  274. # Option "VMin" "1"
  275. # EndSection
  276. # **********************************************************************
  277. # Monitor section
  278. # **********************************************************************
  279. # Any number of monitor sections may be present
  280. Section "Monitor"
  281. Identifier "Monitor1"
  282. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  283. # USER MANUAL FOR THE CORRECT NUMBERS !!
  284. # normally uncomment this lines
  285. # HorizSync 24.0 - 80.0
  286. # VertRefresh 50-100
  287. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  288. # value
  289. # DisplaySize 345 260
  290. # HorizSync is in kHz unless units are specified.
  291. # HorizSync may be a comma separated list of discrete values, or a
  292. # comma separated list of ranges of values.
  293. # HorizSync 30-64 # multisync
  294. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  295. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  296. # VertRefresh is in Hz unless units are specified.
  297. # VertRefresh may be a comma separated list of discrete values, or a
  298. # comma separated list of ranges of values.
  299. # VertRefresh 50-100
  300. # some mode examples 1,2 selfmade - 3 from fbset
  301. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  302. #
  303. # Mode "1152x900"
  304. # DotClock 120
  305. # HTimings 1152 1200 1312 1528
  306. # VTimings 900 910 946 985
  307. # EndMode
  308. # Mode "1152x900-2"
  309. # DotClock 100
  310. # HTimings 1152 1200 1312 1528
  311. # VTimings 900 910 946 985
  312. # EndMode
  313. # Mode "1152x864"
  314. # DotClock 105.810
  315. # HTimings 1152 1184 1312 1504
  316. # VTimings 864 868 872 902
  317. # Flags "-HSync" "-VSync"
  318. # EndMode
  319. # for framebuffer devices you might want to simply add
  320. # the 'fbset -x' output here.
  321. EndSection
  322. # **********************************************************************
  323. # Graphics device section
  324. # **********************************************************************
  325. # Any number of graphics device sections may be present
  326. Section "Device"
  327. Identifier "Card1"
  328. # Use this for framebuffer devices - should work on most systems.
  329. Driver "fbdev"
  330. Option "fbdev" "/dev/fb/0"
  331. # Driver "vga" # mga, ati, nv, sis, vesa ...
  332. # # Option "BackingStore"
  333. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  334. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  335. # # iBooks.
  336. # # Option "UseFBDev"
  337. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  338. # # BusID "PCI:1:5:0"
  339. # # Screen 0 # Screen of a dual-head mga card
  340. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  341. # # Option "AGPMode2x"
  342. # # Option "MergedFB" "true" # lightweight multi-head
  343. # # Option "CRT2Position" "RightOf"
  344. EndSection
  345. # Matrox Millenium 4xx, Ati or NVidia second-head
  346. #Section "Device"
  347. # Identifier "Card2"
  348. # Driver "mga" # or other dual-able cards like ati, nv
  349. # # Option "BackingStore"
  350. # BusID "PCI:1:5:0"
  351. # Screen 1
  352. #
  353. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  354. # # Option "AGPMode2x"
  355. # # Option "Tv" "yes"
  356. # # Option "TVStandard" "PAL"
  357. # # Option "CableType" "SCART_COMPOSITE"
  358. #EndSection
  359. # **********************************************************************
  360. # Screen sections
  361. # **********************************************************************
  362. # Any number of screen sections may be present. Each describes
  363. # the configuration of a single screen. A single specific screen section
  364. # may be specified from the X server command line with the "-screen"
  365. # option.
  366. Section "Screen"
  367. Identifier "Screen1"
  368. Device "Card1"
  369. Monitor "Monitor1"
  370. DefaultDepth 24
  371. Subsection "Display"
  372. Modes "1024x768" "800x600" "640x480"
  373. EndSubsection
  374. EndSection
  375. #Section "Screen"
  376. # Identifier "Screen2"
  377. # Device "Card2"
  378. # Monitor "Monitor1"
  379. # DefaultDepth 16
  380. #
  381. # Subsection "Display"
  382. # Modes "1024x768" "800x600" "640x480"
  383. # EndSubsection
  384. #EndSection
  385. #Section "Screen"
  386. # Identifier "ScreenTV"
  387. # Device "CardTV"
  388. # Monitor "Monitor1"
  389. # DefaultDepth 16
  390. #
  391. # Subsection "Display"
  392. # Depth 16
  393. # Modes "640x480"
  394. # ViewPort 0 0
  395. # EndSubsection
  396. #EndSection
  397. # **********************************************************************
  398. # ServerLayout sections.
  399. # **********************************************************************
  400. # Any number of ServerLayout sections may be present. Each describes
  401. # the way multiple screens are organised. A specific ServerLayout
  402. # section may be specified from the X server command line with the
  403. # "-layout" option. In the absence of this, the first section is used.
  404. # When now ServerLayout section is present, the first Screen section
  405. # is used alone.
  406. Section "ServerLayout"
  407. # The Identifier line must be present
  408. Identifier "Simple Layout"
  409. # Each Screen line specifies a Screen section name, and optionally
  410. # the relative position of other screens. The four names after
  411. # primary screen name are the screens to the top, bottom, left and right
  412. # of the primary screen. In this example, screen 2 is located to the
  413. # right of screen 1.
  414. Screen "Screen1" # LeftOf "Screen2"
  415. # Screen "Screen2"
  416. # Screen "ScreenTV"
  417. # Each InputDevice line specifies an InputDevice section name and
  418. # optionally some options to specify the way the device is to be
  419. # used. Those options include "CorePointer", "CoreKeyboard" and
  420. # "SendCoreEvents".
  421. InputDevice "Mouse1" "CorePointer"
  422. InputDevice "Keyboard1" "CoreKeyboard"
  423. # It is possible to specify secondary input devices which might not
  424. # be pressend on X startup. Nice for laptops with temporary external
  425. # mices ;-)!
  426. # InputDevice "Mouse2" "SendCoreEvents"
  427. # InputDevice "Tablet1"
  428. EndSection