xorg.conf.example 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  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 "Synaptics1"
  200. # Driver "synaptics"
  201. # Option "ZaxisMapping" "4 5 6 7"
  202. # Option "Device" "/dev/input/mouse0"
  203. # Option "Protocol" "auto-dev"
  204. # # Option "LeftEdge" "1700"
  205. # # Option "RightEdge" "5300"
  206. # # Option "TopEdge" "1700"
  207. # # Option "BottomEdge" "4200"
  208. # Option "FingerLow" "25"
  209. # Option "FingerHigh" "30"
  210. # Option "MaxTapTime" "180"
  211. # Option "MaxTapMove" "220"
  212. # Option "TapButton2" "3"
  213. # Option "TapButton3" "2"
  214. # Option "VertTwoFingerScroll" "true"
  215. # Option "HorizTwoFingerScroll" "true"
  216. # Option "VertScrollDelta" "5"
  217. # Option "HorizScrollDelta" "5"
  218. # Option "MinSpeed" "0.40"
  219. # Option "MaxSpeed" "1.00"
  220. # Option "AccelFactor" "0.05"
  221. # Option "SHMConfig" "on"
  222. # EndSection
  223. #
  224. # Section "InputDevice"
  225. # Identifier "Touchscreen0"
  226. # Driver "microtouch"
  227. # Option "Device" "/dev/ttyS0"
  228. # Option "MinX" "1412"
  229. # Option "MaxX" "15184"
  230. # Option "MinY" "15372"
  231. # Option "MaxY" "1230"
  232. # Option "ScreenNumber" "0"
  233. # Option "ReportingMode" "Scaled"
  234. # Option "ButtonNumber" "1"
  235. # Option "SendCoreEvents"
  236. # EndSection
  237. #
  238. # Section "InputDevice"
  239. # Identifier "Touchscreen1"
  240. # Driver "elo2300"
  241. # Option "Device" "/dev/ttyS0"
  242. # Option "MinX" "231"
  243. # Option "MaxX" "3868"
  244. # Option "MinY" "3858"
  245. # Option "MaxY" "272"
  246. # Option "ScreenNumber" "0"
  247. # Option "ReportingMode" "Scaled"
  248. # Option "ButtonThreshold" "17"
  249. # Option "ButtonNumber" "1"
  250. # Option "SendCoreEvents"
  251. # EndSection
  252. # Section "InputDevice"
  253. # Identifier "Tablet1"
  254. # Driver "summa"
  255. # Option "Device" "/dev/ttyS0"
  256. # Option "MinX" "231"
  257. # Option "MaxX" "3868"
  258. # Option "MinY" "3858"
  259. # Option "MaxY" "272"
  260. # Option "ScreenNumber" "0"
  261. # Option "ReportingMode" "Scaled"
  262. # Option "ButtonThreshold" "17"
  263. # Option "ButtonNumber" "1"
  264. # Option "SendCoreEvents"
  265. # Option "BaudRate" "19200"
  266. # Option "DataBits" "8"
  267. # Option "StopBits" "1"
  268. # Option "Parity" "Odd"
  269. # Option "FlowControl" "Xoff"
  270. # Option "VTime" "10"
  271. # Option "VMin" "1"
  272. # EndSection
  273. # **********************************************************************
  274. # Monitor section
  275. # **********************************************************************
  276. # Any number of monitor sections may be present
  277. Section "Monitor"
  278. Identifier "Monitor1"
  279. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  280. # USER MANUAL FOR THE CORRECT NUMBERS !!
  281. # normally uncomment this lines
  282. # HorizSync 24.0 - 80.0
  283. # VertRefresh 50-100
  284. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  285. # value
  286. # DisplaySize 345 260
  287. # HorizSync is in kHz unless units are specified.
  288. # HorizSync may be a comma separated list of discrete values, or a
  289. # comma separated list of ranges of values.
  290. # HorizSync 30-64 # multisync
  291. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  292. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  293. # VertRefresh is in Hz unless units are specified.
  294. # VertRefresh may be a comma separated list of discrete values, or a
  295. # comma separated list of ranges of values.
  296. # VertRefresh 50-100
  297. # some mode examples 1,2 selfmade - 3 from fbset
  298. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  299. #
  300. # Mode "1152x900"
  301. # DotClock 120
  302. # HTimings 1152 1200 1312 1528
  303. # VTimings 900 910 946 985
  304. # EndMode
  305. # Mode "1152x900-2"
  306. # DotClock 100
  307. # HTimings 1152 1200 1312 1528
  308. # VTimings 900 910 946 985
  309. # EndMode
  310. # Mode "1152x864"
  311. # DotClock 105.810
  312. # HTimings 1152 1184 1312 1504
  313. # VTimings 864 868 872 902
  314. # Flags "-HSync" "-VSync"
  315. # EndMode
  316. # for framebuffer devices you might want to simply add
  317. # the 'fbset -x' output here.
  318. EndSection
  319. # **********************************************************************
  320. # Graphics device section
  321. # **********************************************************************
  322. # Any number of graphics device sections may be present
  323. Section "Device"
  324. Identifier "Card1"
  325. # Use this for framebuffer devices - should work on most systems.
  326. Driver "fbdev"
  327. Option "fbdev" "/dev/fb/0"
  328. # Driver "vga" # mga, ati, nv, sis, vesa ...
  329. # # Option "BackingStore"
  330. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  331. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  332. # # iBooks.
  333. # # Option "UseFBDev"
  334. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  335. # # BusID "PCI:1:5:0"
  336. # # Screen 0 # Screen of a dual-head mga card
  337. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  338. # # Option "AGPMode2x"
  339. # # Option "MergedFB" "true" # lightweight multi-head
  340. # # Option "CRT2Position" "RightOf"
  341. EndSection
  342. # Matrox Millenium 4xx, Ati or NVidia second-head
  343. #Section "Device"
  344. # Identifier "Card2"
  345. # Driver "mga" # or other dual-able cards like ati, nv
  346. # # Option "BackingStore"
  347. # BusID "PCI:1:5:0"
  348. # Screen 1
  349. #
  350. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  351. # # Option "AGPMode2x"
  352. # # Option "Tv" "yes"
  353. # # Option "TVStandard" "PAL"
  354. # # Option "CableType" "SCART_COMPOSITE"
  355. #EndSection
  356. # **********************************************************************
  357. # Screen sections
  358. # **********************************************************************
  359. # Any number of screen sections may be present. Each describes
  360. # the configuration of a single screen. A single specific screen section
  361. # may be specified from the X server command line with the "-screen"
  362. # option.
  363. Section "Screen"
  364. Identifier "Screen1"
  365. Device "Card1"
  366. Monitor "Monitor1"
  367. DefaultDepth 24
  368. Subsection "Display"
  369. Modes "1024x768" "800x600" "640x480"
  370. EndSubsection
  371. EndSection
  372. #Section "Screen"
  373. # Identifier "Screen2"
  374. # Device "Card2"
  375. # Monitor "Monitor1"
  376. # DefaultDepth 16
  377. #
  378. # Subsection "Display"
  379. # Modes "1024x768" "800x600" "640x480"
  380. # EndSubsection
  381. #EndSection
  382. #Section "Screen"
  383. # Identifier "ScreenTV"
  384. # Device "CardTV"
  385. # Monitor "Monitor1"
  386. # DefaultDepth 16
  387. #
  388. # Subsection "Display"
  389. # Depth 16
  390. # Modes "640x480"
  391. # ViewPort 0 0
  392. # EndSubsection
  393. #EndSection
  394. # **********************************************************************
  395. # ServerLayout sections.
  396. # **********************************************************************
  397. # Any number of ServerLayout sections may be present. Each describes
  398. # the way multiple screens are organised. A specific ServerLayout
  399. # section may be specified from the X server command line with the
  400. # "-layout" option. In the absence of this, the first section is used.
  401. # When now ServerLayout section is present, the first Screen section
  402. # is used alone.
  403. Section "ServerLayout"
  404. # The Identifier line must be present
  405. Identifier "Simple Layout"
  406. # Each Screen line specifies a Screen section name, and optionally
  407. # the relative position of other screens. The four names after
  408. # primary screen name are the screens to the top, bottom, left and right
  409. # of the primary screen. In this example, screen 2 is located to the
  410. # right of screen 1.
  411. Screen "Screen1" # LeftOf "Screen2"
  412. # Screen "Screen2"
  413. # Screen "ScreenTV"
  414. # Each InputDevice line specifies an InputDevice section name and
  415. # optionally some options to specify the way the device is to be
  416. # used. Those options include "CorePointer", "CoreKeyboard" and
  417. # "SendCoreEvents".
  418. InputDevice "Mouse1" "CorePointer"
  419. InputDevice "Keyboard1" "CoreKeyboard"
  420. # It is possible to specify secondary input devices which might not
  421. # be pressend on X startup. Nice for laptops with temporary external
  422. # mices ;-)!
  423. # InputDevice "Mouse2" "SendCoreEvents"
  424. # InputDevice "Tablet1"
  425. EndSection