All pastes #271031 Raw Edit

Untitled

public text v1 · immutable
·published 2006-12-08 00:59 UTC
rendered paste body
# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"
  
  Load "i2c"
  Load "ddc"
  Load "type1"
  Load "freetype"
  Load "extmod"
  Load "synaptics"
  Load "vbe"
  #   Load        "dri"
  
  load "glx"
  load "GLcore"
  load "v4l"
EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier      "Mouse3"
    Driver          "synaptics"
    Option          "SendCoreEvents"        "true"
    Option          "Device"                "/dev/psaux"
    Option          "Protocol"              "auto-dev"
    Option          "HorizScrollDelta"      "0"
    Option          "SHMConfig"             "on"
    # Do you keep moving the mouse while typing? Try this trick.
    #synclient TouchpadOff=1 disable your synaptics touchpad
    #synclient TouchpadOff=0 enable your synaptics touchpad
EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

    Option      "AutoRepeat"    "500 5"
    Option      "XkbModel"      "pc105"
    Option      "XkbLayout"     "us"
    Option      "XkbRules"      "xorg"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

    Option      "Device"        "/dev/psaux"
    Option      "Protocol"      "ImPS/2"
    Option "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
    Option      "Protocol"      "ImPS/2"
    Option      "Device"        "/dev/input/mice"
    Option      "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Generic Monitor"
    #Option      "DPMS"
    VertRefresh 50 - 150        # multisync
    HorizSync   30 - 96
    Modeline "1600x1200@75" 162 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA"
    Driver      "nvidia" # do not remove vesa
    Busid "PCI:2:0:0"
    # Option "XAANoOffscreenPixmaps"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"
    
    # For nvidia
    option "AddARGBGLXVisuals" "true"

# The Identifier, Device and Monitor lines must be present

    Identifier  "Screen 1"
    Device      "VESA"
    Monitor     "Generic Monitor"


# The favoured Depth and/or Bpp may be specified here

    DefaultDepth 24

    SubSection "Display"
        Depth           8
        ViewPort        0 0
        Modes           "1600x1200" "1600x1200" "1024x768"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        Modes           "1600x1200" "1600x1200" "1024x768"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        Modes           "1600x1200" "1600x1200" "1024x768"
    EndSubsection

EndSection


Section "ServerLayout"
# The Identifier line must be present

    Identifier  "Main Layout"
    Screen 0    "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Mouse3" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
   Option "Composite" "Enable"
EndSection