Advertisement
frenchiveruti

Xorg Config feb 20 16:47

Feb 20th, 2017
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Special base config file used in Puppy Linux.
  2.  
  3. # **********************************************************************
  4. # Module section -- this  section  is used to specify
  5. # which dynamically loadable modules to load.
  6. # **********************************************************************
  7. #
  8. Section "Module"
  9.  
  10. # This loads the DBE extension module.
  11.  
  12.     Load        "dbe"   # Double buffer extension
  13.  
  14. # This loads the miscellaneous extensions module, and disables
  15. # initialisation of the XFree86-DGA extension within that module.
  16.     SubSection  "extmod"
  17.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  18.     EndSubSection
  19.  
  20. # This loads the font modules
  21. #    Load        "type1"
  22. #    Load        "freetype"
  23.  
  24. # This loads xtrap extension, used by xrandr
  25. #    Load       "xtrap"
  26.  
  27. # This loads the GLX module (if present). xorg 7.4/5 need explicit disable to disable...
  28. #    Disable    "glx" #LOADGLX
  29.  
  30. # This loads dri module (if present). 7.4 loads it by default, have to disable...
  31. #    Load       "dri" #LOADDRI
  32. #    Disable "dri"
  33.  
  34. EndSection
  35.  
  36. # **********************************************************************
  37. # Files section.  This allows default font paths to be set
  38. # **********************************************************************
  39.  
  40. Section "Files"
  41.  
  42. # Multiple FontPath entries are allowed (which are concatenated together),
  43. # as well as specifying multiple comma-separated entries in one FontPath
  44. # command (or a combination of both methods)
  45.  
  46.     FontPath   "/usr/share/X11/fonts/misc/"
  47.     FontPath   "/usr/share/X11/fonts/Type1/"
  48.     FontPath   "/usr/share/X11/fonts/TTF/"
  49.  
  50. EndSection
  51.  
  52. # **********************************************************************
  53. # Server flags section.
  54. # **********************************************************************
  55.  
  56. Section "ServerFlags"
  57.  
  58. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  59. # (where n is 1 through 12).  This allows clients to receive these key
  60. # events.
  61.  
  62. #    Option "DontVTSwitch"
  63.  
  64. # Enables mode switching with xrandr
  65. # There is a report that this can cause Xorg not to work on some
  66. # video hardware, so default is commented-out...
  67. # but i want to use it in xorgwizard so leave on...
  68.  
  69.     Option "RandR" "on"
  70.  
  71. # With this, Xorg won't talk to HAL to add evdev devices and you'll be back
  72. # with the old Xorg behavior (pre-7.4)...
  73.  
  74.     Option "AutoAddDevices" "false"
  75.  
  76. # For no-Hal, kirk also suggests this...
  77.  
  78. #    Option "AllowMouseOpenFail" "true"
  79.  
  80. # Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...
  81.  
  82.     Option "DontZap" "false"
  83.  
  84. EndSection
  85.  
  86. #everything past here is auto-generated by Puppy's Xorg Wizard...
  87.  
  88. Section "ServerLayout"
  89.     Identifier "Default Layout"
  90.     Screen "Screen0" 0 0
  91.     InputDevice "Keyboard0" "CoreKeyboard"
  92.     InputDevice "Mouse0" "CorePointer"
  93. EndSection
  94.  
  95. Section "InputDevice"
  96.     Identifier  "Keyboard0"
  97.     Driver      "kbd"
  98.     Option      "XkbRules" "xorg"
  99.     Option      "XkbModel" "pc102"
  100.     Option      "XkbLayout" "es" #xkeymap0
  101. EndSection
  102.  
  103. Section "InputDevice"
  104.     Identifier  "Mouse0"
  105.     Driver      "mouse"
  106.     Option      "Device" "/dev/input/mice"
  107.     Option      "Protocol" "IMPS/2" #mouse0protocol
  108.     #Option      "Emulate3Buttons"
  109.     #Option      "Emulate3Timeout" "50"
  110.     Option      "ZAxisMapping" "4 5" #scrollwheel
  111. EndSection
  112.  
  113. Section "Monitor"
  114.     Identifier   "VGA-0"
  115.     VendorName   "Monitor Vendor"
  116.     ModelName    "Monitor Model"
  117.     HorizSync    31-50
  118.     VertRefresh  59-76
  119.     UseModes     "Modes0" #monitor0usemodes
  120.     Option      "PreferredMode" "new1080"
  121. EndSection
  122.  
  123. Section "Modes"
  124.     Identifier "Modes0"
  125.     Modeline "new1080"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
  126.     #modes0modeline0
  127. EndSection
  128.  
  129. Section "Device"
  130.     Identifier  "Card0"
  131.     Driver      "nvidia" #card0driver
  132.     Option "IgnoreEDID" "true"
  133. EndSection
  134.  
  135. Section "Screen"
  136.     Identifier "Screen0"
  137.     Device     "Card0"
  138.     Monitor    "VGA-0"
  139.     DefaultDepth 24
  140.     Option         "metamodes" "new1080" #METAMODES_0
  141.     Option         "SLI" "Off"
  142.     Option         "MultiGPU" "Off"
  143.     Option         "BaseMosaic" "off"
  144.     Subsection "Display"
  145.         Depth       24
  146.         Modes       "new1080"
  147.     EndSubsection
  148. EndSection
  149.  
  150. #PuppyHardwareProfile=NVIDIA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement