Skip to content

Instantly share code, notes, and snippets.

@Brethel
Created May 22, 2020 00:22
Show Gist options
  • Save Brethel/d2e9e0bd96e5234db7b4db5d2462685c to your computer and use it in GitHub Desktop.
Save Brethel/d2e9e0bd96e5234db7b4db5d2462685c to your computer and use it in GitHub Desktop.
xorg.conf dell xps x502
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "extmod"
Load "dri2"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "bitmap"
Load "ddc"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "ExactModeTimingsDVI" "true"
Option "DPI" "96 x 96"
Option "DPMS" "false"
Modeline "1920x1080" 142.00 1920 198 2028 2094 1080 1090 1100 1130 +hsync -vsync
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "Accel" # [<bool>]
Option "Accel" "true" # [<bool>]
#Option "AccelMethod" # <str>
Option "AccelMethod" "uxa" # <str>
#Option "Backlight" # <str>
#Option "CustomEDID" # <str>
#Option "DRI" # <str>
Option "DRI" "3" # <str>
#Option "Present" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "HWRotation" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
Option "TearFree" "true" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
#Driver "intel"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Modes "1920x1080"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment