Advertisement
Guest User

xorg.conf pre-xorgwizard

a guest
Feb 10th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  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. # **********************************************************************
  9. # Module section -- this section is used to specify
  10. # which dynamically loadable modules to load.
  11. # **********************************************************************
  12. #
  13. Section "Module"
  14. Load "synaptics" #loadsynaptics
  15.  
  16. # This loads the DBE extension module.
  17.  
  18. Load "dbe" # Double buffer extension
  19.  
  20. # This loads the miscellaneous extensions module, and disables
  21. # initialisation of the XFree86-DGA extension within that module.
  22. SubSection "extmod"
  23. Option "omit xfree86-dga" # don't initialise the DGA extension
  24. EndSubSection
  25.  
  26. # This loads the font modules
  27. # Load "type1"
  28. # Load "freetype"
  29.  
  30. # This loads xtrap extension, used by xrandr
  31. # Load "xtrap"
  32.  
  33. # This loads the GLX module (if present). xorg 7.4/5, need explicit disable to disable... change "Disable" to "Load" if reqd...
  34. # Disable "glx" #LOADGLX
  35.  
  36. # This loads dri module (if present). 7.4 loads it by default, have to disable... change "Disable" to "Load" if reqd...
  37. # Disable "dri" #LOADDRI
  38.  
  39. EndSection
  40.  
  41. # **********************************************************************
  42. # Files section. This allows default font paths to be set
  43. # **********************************************************************
  44.  
  45. Section "Files"
  46.  
  47. # Multiple FontPath entries are allowed (which are concatenated together),
  48. # as well as specifying multiple comma-separated entries in one FontPath
  49. # command (or a combination of both methods)
  50.  
  51. #FontPath "/usr/share/fonts/X11/misc/"
  52. #FontPath "/usr/share/fonts/liberation/"
  53. FontPath "/usr/share/X11/fonts/misc/"
  54. FontPath "/usr/share/X11/fonts/Type1/"
  55. FontPath "/usr/share/X11/fonts/TTF/"
  56.  
  57. EndSection
  58.  
  59. # **********************************************************************
  60. # Server flags section.
  61. # **********************************************************************
  62.  
  63. Section "ServerFlags"
  64.  
  65. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  66. # (where n is 1 through 12). This allows clients to receive these key
  67. # events.
  68.  
  69. # Option "DontVTSwitch"
  70.  
  71. # Enables mode switching with xrandr
  72. # There is a report that this can cause Xorg not to work on some
  73. # video hardware, so default is commented-out...
  74. # but i want to use it in xorgwizard so leave on...
  75.  
  76. Option "RandR" "on"
  77.  
  78. # With this, Xorg won't talk to HAL to add evdev devices and you'll be back
  79. # with the old Xorg behavior (pre-7.4)...
  80.  
  81. Option "AutoAddDevices" "false"
  82.  
  83. # For no-Hal, kirk also suggests this...
  84.  
  85. # Option "AllowMouseOpenFail" "true"
  86.  
  87. # Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...
  88.  
  89. Option "DontZap" "false"
  90.  
  91. EndSection
  92.  
  93.  
  94. Section "ServerLayout"
  95. InputDevice "Synaptics Mouse" "AlwaysCore" #serverlayoutsynaptics
  96. Identifier "X.org Configured"
  97. Screen 0 "Screen0" 0 0
  98. InputDevice "Mouse0" "CorePointer"
  99. InputDevice "Keyboard0" "CoreKeyboard"
  100. EndSection
  101.  
  102. Section "InputDevice"
  103. Identifier "Keyboard0"
  104. Driver "kbd"
  105. Option "XkbRules" "xorg"
  106. Option "XkbModel" "pc102" #xkbmodel0
  107. Option "XkbLayout" "us" #xkeymap0
  108. #Option "XkbVariant" "" #xkbvariant0
  109. EndSection
  110.  
  111. Section "InputDevice"
  112. Identifier "Mouse0"
  113. Driver "mouse"
  114. Option "Protocol" "IMPS/2" #mouse0protocol
  115. Option "Device" "/dev/mouse"
  116. #Option "Emulate3Buttons"
  117. #Option "Emulate3Timeout" "50"
  118. Option "ZAxisMapping" "4 5" #scrollwheel
  119. EndSection
  120.  
  121. Section "InputDevice"
  122. Identifier "Synaptics Mouse"
  123. Driver "synaptics"
  124. Option "SHMConfig" "on"
  125. EndSection
  126.  
  127. Section "Monitor"
  128. Identifier "Monitor0"
  129. VendorName "Monitor Vendor"
  130. ModelName "Monitor Model"
  131. HorizSync 35-81
  132. VertRefresh 59-76
  133. #UseModes "Modes0" #monitor0usemodes
  134. # Option "PreferredMode" "1024x768" #monitor0prefmode
  135. EndSection
  136.  
  137. Section "Modes"
  138. Identifier "Modes0"
  139. #modes0modeline0
  140. EndSection
  141.  
  142. #110627 remove...
  143. ##server can find BusID automatically, comment out...
  144. #Section "Device"
  145. # Identifier "Card0"
  146. # Driver "vesa" #card0driver
  147. # VendorName "Unknown Vendor"
  148. # BoardName "Unknown Board"
  149. ## BusID "PCI:0:2:0" #card0busid
  150. #EndSection
  151.  
  152. Section "Screen"
  153. Identifier "Screen0"
  154. # Device "Card0"
  155. Monitor "Monitor0"
  156. DefaultDepth 24
  157. #Option "metamodes" "1280x800_60 +0+0" #METAMODES_0
  158. Subsection "Display"
  159. Depth 24
  160. # Modes "1024x768" #screen0modes
  161. EndSubsection
  162. EndSection
  163. #PuppyHardwareProfile=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement