Advertisement
JustAnotherCatgirl

Xorg config for forum

Oct 14th, 2023 (edited)
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Section "ServerLayout"
  2.     Identifier     "X.org Configured"
  3.     Screen      0  "Screen0" 0 0
  4.     Screen      1  "Screen1" LeftOf "Screen0"
  5. #   Inactive       "Screen1"
  6.     InputDevice    "Mouse0" "CorePointer"
  7.     InputDevice    "Keyboard0" "CoreKeyboard"
  8.     Option         "AllowNVIDIAGPUScreens"
  9.    
  10. EndSection
  11.  
  12. Section "Files"
  13.     ModulePath   "/usr/lib/nvidia/xorg"
  14. #   ModulePath   "/usr/lib"
  15.     ModulePath   "/usr/lib/xorg/modules"
  16.     FontPath     "/usr/share/fonts/misc"
  17.     FontPath     "/usr/share/fonts/TTF"
  18.     FontPath     "/usr/share/fonts/OTF"
  19.     FontPath     "/usr/share/fonts/Type1"
  20.     FontPath     "/usr/share/fonts/100dpi"
  21.     FontPath     "/usr/share/fonts/75dpi"
  22. EndSection
  23.  
  24. Section "Module"
  25.     Load  "glx"
  26. EndSection
  27.  
  28. Section "InputDevice"
  29.     Identifier  "Keyboard0"
  30.     Driver      "kbd"
  31. EndSection
  32.  
  33. Section "InputDevice"
  34.     Identifier  "Mouse0"
  35.     Driver      "mouse"
  36.     Option      "Protocol" "auto"
  37.     Option      "Device" "/dev/input/mice"
  38.     Option      "ZAxisMapping" "4 5 6 7"
  39. EndSection
  40.  
  41. Section "Monitor"
  42.     Identifier   "Monitor0"
  43. #   VendorName   "Monitor Vendor"
  44. #   ModelName    "Monitor Model"
  45. EndSection
  46.  
  47. Section "Monitor"
  48.     Identifier   "Monitor1"
  49. #   VendorName   "Monitor Vendor"
  50. #   ModelName    "Monitor Model"
  51. EndSection
  52.  
  53. Section "Device"
  54.         ### Available Driver options are:-
  55.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  56.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
  57.         ### <percent>: "<f>%"
  58.         ### [arg]: arg optional
  59.         #Option     "Accel"                 # [<bool>]
  60.         #Option     "AccelMethod"           # <str>
  61.         #Option     "Backlight"             # <str>
  62.         #Option     "CustomEDID"            # <str>
  63.         #Option     "DRI"                   # <str>
  64.         #Option     "Present"               # [<bool>]
  65.         #Option     "ColorKey"              # <i>
  66.         #Option     "VideoKey"              # <i>
  67.         #Option     "Tiling"                # [<bool>]
  68.         #Option     "LinearFramebuffer"     # [<bool>]
  69.         #Option     "HWRotation"            # [<bool>]
  70.         #Option     "VSync"                 # [<bool>]
  71.         #Option     "PageFlip"              # [<bool>]
  72.         #Option     "SwapbuffersWait"       # [<bool>]
  73.         #Option     "TripleBuffer"          # [<bool>]
  74.         #Option     "XvPreferOverlay"       # [<bool>]
  75.         #Option     "HotPlug"               # [<bool>]
  76.         #Option     "ReprobeOutputs"        # [<bool>]
  77.         #Option     "XvMC"                  # [<bool>]
  78.         #Option     "ZaphodHeads"           # <str>
  79.         #Option     "VirtualHeads"          # <i>
  80.         #Option     "TearFree"              # [<bool>]
  81.         #Option     "PerCrtcPixmaps"        # [<bool>]
  82.         #Option     "FallbackDebug"         # [<bool>]
  83.         #Option     "DebugFlushBatches"     # [<bool>]
  84.         #Option     "DebugFlushCaches"      # [<bool>]
  85.         #Option     "DebugWait"             # [<bool>]
  86.         #Option     "BufferCache"           # [<bool>]
  87.     Identifier  "Card0"
  88.     Driver      "modesetting"
  89.     BusID       "PCI:0:2:0"
  90. EndSection
  91.  
  92. Section "Device"
  93.     Identifier  "Card1"
  94.     Driver      "nvidia"
  95.     BusID       "PCI:1:0:0"
  96.     Option      "AllowEmptyInitialConfiguration"
  97. EndSection
  98.  
  99. Section "Screen"
  100.     Identifier "Screen0"
  101.     Device     "Card0"
  102.     Monitor    "Monitor0"
  103.     SubSection "Display"
  104.         Viewport   0 0
  105.         Depth     1
  106.     EndSubSection
  107.     SubSection "Display"
  108.         Viewport   0 0
  109.         Depth     4
  110.     EndSubSection
  111.     SubSection "Display"
  112.         Viewport   0 0
  113.         Depth     8
  114.     EndSubSection
  115.     SubSection "Display"
  116.         Viewport   0 0
  117.         Depth     15
  118.     EndSubSection
  119.     SubSection "Display"
  120.         Viewport   0 0
  121.         Depth     16
  122.     EndSubSection
  123.     SubSection "Display"
  124.         Viewport   0 0
  125.         Depth     24
  126.     EndSubSection
  127. EndSection
  128.  
  129. Section "Screen"
  130.     Identifier "Screen1"
  131.     Device     "Card1"
  132.     Monitor    "Monitor1"
  133.     SubSection "Display"
  134.         Viewport   0 0
  135.         Depth     1
  136.     EndSubSection
  137.     SubSection "Display"
  138.         Viewport   0 0
  139.         Depth     4
  140.     EndSubSection
  141.     SubSection "Display"
  142.         Viewport   0 0
  143.         Depth     8
  144.     EndSubSection
  145.     SubSection "Display"
  146.         Viewport   0 0
  147.         Depth     15
  148.     EndSubSection
  149.     SubSection "Display"
  150.         Viewport   0 0
  151.         Depth     16
  152.     EndSubSection
  153.     SubSection "Display"
  154.         Viewport   0 0
  155.         Depth     24
  156.     EndSubSection
  157. EndSection
  158.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement