# Beispielkonfiguration der xorg.conf f�r den variablen Betrieb 
# im in den Modi "default", "Splitscreen" und "Clone".
#
# Angepasst auf Sony Vaio S4XP mit NVIDIA GeForce Go 6200 unter
# Slackware 11 / X11R6 / Kernel 2.6.18 / NVIDIA 1.0-8774
#
# Modifiziert von Jan Raehm, Berlin [http://radiofuzzie.blogspot.com]
#
# Zur Nutzung dieser xorg.conf kopieren Sie sie bite mittels
# cp multi.xorg.conf /etc/X**/xorg.conf in Ihr X Verzeichnis unter /etc
# ACHTUNG: Bitte vorher ein BackUp der existierenden xorg.conf machen!!!
#
# Viel Erfolg!

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    ModulePath      "/usr/X11R6/lib/modules"
    FontPath        "/usr/X11R6/lib/X11/fonts/local"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/local/share/fonts"
EndSection

Section "Module"
    Load           "dbe"
    SubSection     "extmod"
        Option     "omit xfree86-dga"
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load           "synaptics"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier     "Touchpad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "yes"
    Option         "Protocol" "auto-dev"
    Option         "Device" "/dev/input/event2"
    Option         "LeftEdge" "120"
    Option         "RightEdge" "830"
    Option         "TopEdge" "120"
    Option         "BottomEdge" "650"
    Option         "FingerLow" "14"
    Option         "FingerHigh" "15"
    Option         "MaxTapTime" "130"
    Option         "MaxTapMove" "5"
    Option         "EmulateMidButtonTime" "75"
    Option         "VertScrollDelta" "20"
    Option         "HorizScrollDelta" "40"
    Option         "MinSpeed" "0.4"
    Option         "MaxSpeed" "0.95"
    Option         "AccelFactor" "0.035"
    Option         "EdgeMotionMinSpeed" "200"
    Option         "EdgeMotionMaxSpeed" "200"
    Option         "UpDownScrolling" "1"
    Option         "CircularScrolling" "1"
    Option         "CircScrollDelta" "0.1"
    Option         "CircScrollTrigger" "7"
    Option         "TapButton1" "1"
    Option         "TapButton2" "2"
    Option         "TapButton3" "3"
    Option         "LockedDrops" "1"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "monitor"
    HorizSync      31.5-50.0
    VertRefresh    40.0-90.0
EndSection

Section "Device"
    Identifier     "GeForce 6200"
    Driver         "nvidia"
    VendorName     "nVidia"
    BoardName      "GeForce Go 6200"
    Option         "NvAGP"			"1"
    Option         "NoLogo"			"true"
    Option         "RenderAccel"		"true"
    Option         "AllowGLXWithComposite"	"true"
    Option         "Coolbits" "1"
    Option         "CursorShadowAlpha"		"1"
    Option         "CursorShadow"		"true"
    BusID          "PCI:1:0:0"
EndSection


############################################################################################################
# VAIO-display only											   #
############################################################################################################

Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 0" 0 0
    InputDevice    "Touchpad"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Screen"
    Identifier     "Screen 0"
    Device         "GeForce 6200"
    Monitor        "monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       8
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

############################################################################################################
# DualHead												   #
############################################################################################################

Section "ServerLayout"
    Identifier     "Dualhead"
    Screen         "Screen1" 0 0
    InputDevice    "Touchpad"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "GeForce 6200"
    Monitor        "monitor"
    DefaultDepth    24
    Option         "TwinView"
    Option         "TwinViewOrientation" "LeftOf"
    Option         "Metamodes" "DFP-0: 1280x800 +0+224,CRT-0: 1280x1024 +1280+0; DFP-0: 1280x800 +0+0, CRT-0: 1024x768 +1280+32; DFP-0: 1280x800 +0+0, CRT-0: 800x600 +1280+200; DFP-0: 1280x800 +0+0, CRT-0: 640x480 +1280+320"
    SubSection     "Display"
        Depth       8
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

############################################################################################################
# Clone													   #
############################################################################################################

Section "ServerLayout"
    Identifier     "Clone"
    Screen         "Screen2" 0 0
    InputDevice    "Touchpad"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "GeForce 6200"
    Monitor        "monitor"
    DefaultDepth   24
    Option         "TwinView"
    Option         "TwinViewOrientation" "clone"
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
