Advertisement
Guest User

Xorg config frenchiveruti

a guest
Feb 19th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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" "es" #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 "Monitor"
  122.     Identifier   "Monitor0"
  123.     VendorName   "Monitor Vendor"
  124.     ModelName    "Monitor Model"
  125.     HorizSync    35-81
  126.     VertRefresh  59-76
  127.     #UseModes     "Modes0" #monitor0usemodes
  128.     Option      "PreferredMode" "1024x768x16" #monitor0prefmode
  129.     EndSection
  130.    
  131. Section "Modes"
  132.     Identifier "Modes0"
  133.     #modes0modeline0
  134. EndSection
  135.  
  136. #110627 remove...
  137. ##server can find BusID automatically, comment out...
  138. #Section "Device"
  139. #   Identifier  "Card0"
  140. #   Driver      "vesa" #card0driver
  141. #   VendorName  "Unknown Vendor"
  142. #   BoardName   "Unknown Board"
  143. ##  BusID       "PCI:0:2:0" #card0busid
  144. #EndSection
  145.  
  146. Section "Screen"
  147.     Identifier "Screen0"
  148. #   Device     "Card0"
  149.     Monitor    "Monitor0"
  150.     DefaultDepth 24
  151.     #Option         "metamodes" "1280x800_60 +0+0" #METAMODES_0
  152.     Subsection "Display"
  153.         Depth       24
  154.         Modes       "1024x768x16" #screen0modes
  155.     EndSubsection
  156. EndSection
  157. #PuppyHardwareProfile=NVIDIA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement