# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "es"
        Option          "XkbOptions"    "ctrl:nocaps"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
       Option  "LeftEdge"      "100"
       Option  "RightEdge"     "1120"
       Option  "TopEdge"       "50"
       Option  "BottomEdge"    "310"
       Option  "FingerLow"     "25"
       Option  "FingerHigh"    "30"
       Option  "MaxTapTime"    "180"
       Option  "MaxTapMove"    "220"
       Option  "MaxDoubleTapTime"      "180"
       Option  "VertScrollDelta"       "20"
       Option  "HorizScrollDelta"      "50"
       Option  "MinSpeed"      "0.79"
       Option  "MaxSpeed"      "0.88"
       Option  "AccelFactor"   "0.0015"
       Option  "SHMConfig"     "on"
       Option  "TapButton2"    "3"
       Option  "TapButton3"    "2"
       Option  "VertTwoFingerScroll" "1"
       Option  "HorizTwoFIngerScroll" "1"
       Option "XAANoOffscreenPixmaps"
EndSection

Section "Device"
	Identifier "Intel 950"
	VideoRam 65536
	Driver "i810"
	Option "NoDDC" "true
	Option "MonitorLayout" "LFP,NONE"
	BusID "PCI:0:2:0"
EndSection

Section "Device"
	Identifier "Device1"
	VideoRam 65536
	Driver "i810"
	Option "NoDDC" "true
	Option "MonitorLayout" "NONE,DFP"
	BusID "PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier "Color LCD"
	Option "DPMS"
	HorizSync 30-93
	VertRefresh 56-76
EndSection

Section "Monitor"
	Identifier "External Monitor"
	Option "DPMS"
	HorizSync 30-81
	VertRefresh 56-76
	DisplaySize 433 271
	Modeline "1680x1050_59.90"  146.00  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
	#Modeline "1680x1050@60" 119.0 1680 1728 1760 1840 1050 1053 1059 1080 -HSync +VSync
	#Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
	# gamma 1.0
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device "Intel 950"
	Monitor "Color LCD"
	DefaultDepth 24
	SubSection "Display"
		Depth 24
		Modes "1280x800"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Secondary Screen"
	Device "Device1"
	Monitor "External Monitor"
	DefaultDepth 24
	SubSection "Display"
		Depth 24
		Modes "1680x1050_59.90" "1280x800" "1024x768" "800x600"
	EndSubSection
EndSection

###################################################################

Section "ServerFlags"
# Option "DefaultServerLayout" "DefaultLayout"
Option "DefaultServerLayout" "ExternalLayout"
# Option "DefaultServerLayout" "CloneLayout"
# Option "DefaultServerLayout" "XineramaLayout"
EndSection
#####################################################################

Section "ServerLayout"
	Identifier "DefaultLayout"
	Screen "Default Screen"
	InputDevice "Generic Keyboard"
	InputDevice "Configured Mouse"
	InputDevice "Synaptics Touchpad"
	Option "AIGLX" "true"
EndSection

Section "ServerLayout"
	Identifier "ExternalLayout"
	Screen "Secondary Screen"
	Option "AIGLX" "true"
	InputDevice "Generic Keyboard"
	InputDevice "Configured Mouse"
	InputDevice "Synaptics Touchpad"
EndSection 
