# /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/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
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"	"us"
EndSection

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"AlwaysCore"
	Option		"Device"		"/dev/input/event2"
	Option		"Protocol"		"event"
	Option		"LeftEdge"		"120"
	Option		"RightEdge"		"830"
	Option		"TopEdge"		"120"
	Option		"BottomEdge"		"650"
	Option		"FingerLow"		"14"
	Option		"FingerHigh"		"15"
	Option		"MaxTapTime"		"180"
	Option		"MaxTapMove"		"110"
	Option		"ClickTime"		"0"
	Option		"EmulateMidButtonTime"	"75"
	Option		"VertScrollDelta"	"10"
	Option		"HorizScrollDelta"	"0"
	Option		"MinSpeed"		"0.45"
	Option		"MaxSpeed"		"0.75"
	Option		"AccelFactor"		"0.020"
	Option		"EdgeMotionMinSpeed"	"200"
	Option		"EdgeMotionMaxSpeed"	"200"
	Option		"UpDownScrolling"	"1"
	Option		"CircularScrolling"	"0"
	Option		"CircScrollDelta"	"0.1"
	Option		"CircScrollTrigger"	"2"
	Option		"SHMConfig"		"true"
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRAM	65536
	Option		"MonitorLayout" "CRT,LFP"
	Screen		0
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (External)"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRAM	65536
	Option		"MonitorLayout" "CRT,LFP"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"Laptop LCD"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
#	Option		"DPMS"
	HorizSync	30-50
	VertRefresh	50-70
EndSection

Section "Screen"
	Identifier	"Laptop Screen"
	Device		"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
	Monitor		"Laptop LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1366x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1366x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1366x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1366x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1366x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1366x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"External Screen"
	Device		"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (External)"
	Monitor		"External Monitor"
	Option		"ConnectedMonitor" "CRT"
	DefaultDepth	24
	SubSection "Display"
		Depth		4
#		Modes		"1024x768" "800x600" "640x480"
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
#		Modes		"1024x768" "800x600" "640x480"
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
#		Modes		"1024x768" "800x600" "640x480"
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
#		Modes		"1024x768" "800x600" "640x480"
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
#		Modes		"1024x768" "800x600" "640x480"
		Modes		"800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0	"Laptop Screen"	0	0
	Screen 1	"External Screen" RightOf "Laptop Screen"
	Option		"Xinerama" "On"
#	Option		"Clone" "On"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection
