xorg.conf-auto-pc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. #barry Kauler 2011
  2. #pre-constructed xorg.conf, for use by /usr/sbin/xorgwizard-automatic
  3. #110627 working on mageia1 build, this needs fixing.
  4. #111029 Terryphi reported 1cm screen displacement, changed vert freq range from 56-76 to 59-76.
  5. #120329 more placemarkers for xorgwizard-automatic script.
  6. #121013 change depth from 16 to 24. note, some arm boards need 16.
  7. # **********************************************************************
  8. # Module section -- this section is used to specify
  9. # which dynamically loadable modules to load.
  10. # **********************************************************************
  11. #
  12. Section "Module"
  13. # Load "synaptics" #loadsynaptics
  14. # This loads the DBE extension module.
  15. Load "dbe" # Double buffer extension
  16. # This loads the miscellaneous extensions module, and disables
  17. # initialisation of the XFree86-DGA extension within that module.
  18. SubSection "extmod"
  19. Option "omit xfree86-dga" # don't initialise the DGA extension
  20. EndSubSection
  21. # This loads the font modules
  22. # Load "type1"
  23. # Load "freetype"
  24. # This loads xtrap extension, used by xrandr
  25. # Load "xtrap"
  26. # This loads the GLX module (if present). xorg 7.4/5, need explicit disable to disable... change "Disable" to "Load" if reqd...
  27. # Disable "glx" #LOADGLX
  28. # This loads dri module (if present). 7.4 loads it by default, have to disable... change "Disable" to "Load" if reqd...
  29. # Disable "dri" #LOADDRI
  30. EndSection
  31. # **********************************************************************
  32. # Files section. This allows default font paths to be set
  33. # **********************************************************************
  34. Section "Files"
  35. # Multiple FontPath entries are allowed (which are concatenated together),
  36. # as well as specifying multiple comma-separated entries in one FontPath
  37. # command (or a combination of both methods)
  38. #FontPath "/usr/share/fonts/X11/misc/"
  39. #FontPath "/usr/share/fonts/liberation/"
  40. FontPath "/usr/share/X11/fonts/misc/"
  41. FontPath "/usr/share/X11/fonts/Type1/"
  42. FontPath "/usr/share/X11/fonts/TTF/"
  43. EndSection
  44. # **********************************************************************
  45. # Server flags section.
  46. # **********************************************************************
  47. Section "ServerFlags"
  48. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  49. # (where n is 1 through 12). This allows clients to receive these key
  50. # events.
  51. # Option "DontVTSwitch"
  52. # Enables mode switching with xrandr
  53. # There is a report that this can cause Xorg not to work on some
  54. # video hardware, so default is commented-out...
  55. # but i want to use it in xorgwizard so leave on...
  56. Option "RandR" "on"
  57. # With this, Xorg won't talk to HAL to add evdev devices and you'll be back
  58. # with the old Xorg behavior (pre-7.4)...
  59. Option "AutoAddDevices" "false"
  60. # For no-Hal, kirk also suggests this...
  61. # Option "AllowMouseOpenFail" "true"
  62. # Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...
  63. Option "DontZap" "false"
  64. EndSection
  65. Section "ServerLayout"
  66. # InputDevice "Synaptics Mouse" "AlwaysCore" #serverlayoutsynaptics
  67. Identifier "X.org Configured"
  68. Screen 0 "Screen0" 0 0
  69. InputDevice "Mouse0" "CorePointer"
  70. InputDevice "Keyboard0" "CoreKeyboard"
  71. EndSection
  72. Section "InputDevice"
  73. Identifier "Keyboard0"
  74. Driver "kbd"
  75. Option "XkbRules" "xorg"
  76. Option "XkbModel" "pc102" #xkbmodel0
  77. Option "XkbLayout" "us" #xkeymap0
  78. #Option "XkbVariant" "" #xkbvariant0
  79. EndSection
  80. Section "InputDevice"
  81. Identifier "Mouse0"
  82. Driver "mouse"
  83. Option "Protocol" "IMPS/2" #mouse0protocol
  84. Option "Device" "/dev/mouse"
  85. #Option "Emulate3Buttons"
  86. #Option "Emulate3Timeout" "50"
  87. Option "ZAxisMapping" "4 5" #scrollwheel
  88. EndSection
  89. Section "Monitor"
  90. Identifier "Monitor0"
  91. VendorName "Monitor Vendor"
  92. ModelName "Monitor Model"
  93. HorizSync 35-81
  94. VertRefresh 59-76
  95. #UseModes "Modes0" #monitor0usemodes
  96. # Option "PreferredMode" "1024x768" #monitor0prefmode
  97. EndSection
  98. Section "Modes"
  99. Identifier "Modes0"
  100. #modes0modeline0
  101. EndSection
  102. #110627 remove...
  103. ##server can find BusID automatically, comment out...
  104. #Section "Device"
  105. # Identifier "Card0"
  106. # Driver "vesa" #card0driver
  107. # VendorName "Unknown Vendor"
  108. # BoardName "Unknown Board"
  109. ## BusID "PCI:0:2:0" #card0busid
  110. #EndSection
  111. Section "Screen"
  112. Identifier "Screen0"
  113. # Device "Card0"
  114. Monitor "Monitor0"
  115. DefaultDepth 24
  116. #Option "metamodes" "1280x800_60 +0+0" #METAMODES_0
  117. Subsection "Display"
  118. Depth 24
  119. # Modes "1024x768" #screen0modes
  120. EndSubsection
  121. EndSection