# 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 xorg.conf manual page.
# (Type "man 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 commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7101"			# local font server
	FontPath        "unix/:7100"                    # local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath        "/usr/lib/X11/fonts/Type1"
	FontPath        "/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath        "/usr/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/CID"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
#	Load	"v4l"
	Load	"vbe"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"100"
	Option		"VertScrollDelta"	"100"
	Option		"SHMConfig"		"true"
EndSection

# Tablet Wacom
Section "InputDevice"
	Driver         "wacom"
	Identifier     "WacomStylus"
	Option         "Device"        "/dev/input/tablet-graphire4-6x8"
	Option         "Type"          "stylus"
	Option         "Mode"          "Absolute"
	Option         "USB"           "on"
	Option         "AlwaysCore"    "on"
	#Option         "Tilt"      "on"
	#Option         "HistorySize" "100"
	Option         "HistorySize" "0"
	Option         "Suppress"  "6"
	Option         "Threshold" "30"
EndSection

Section "InputDevice"
	Driver         "wacom"
	Identifier     "WacomEraser"
	Option         "Device"        "/dev/input/tablet-graphire4-6x8"
	Option         "Type"          "eraser"
	Option         "Mode"          "Absolute"
	Option         "USB"           "on"
	Option         "AlwaysCore"    "on"
	Option         "Suppress"      "6"
	Option         "Threshold"     "30"
EndSection

Section "InputDevice"
	Driver        "wacom"
	Identifier    "WacomCursor"
	Option        "Device"        "/dev/input/tablet-graphire4-6x8"
	Option        "Type"          "cursor"
	Option        "Mode"          "Absolute"
	Option        "USB"           "on"
	Option        "AlwaysCore"    "on"
	Option        "Suppress"      "6"
	Option        "DebugLevel"    "10"
	Option        "ZAxisMapping"  "4 5"
	Option        "Buttons"       "5"
EndSection

# Tablet Wacom
#Section "InputDevice"
#       Identifier	"stylus"
#       Driver		"wacom"
#       Option		"Type"		"stylus"
#       Option		"USB"		"on"
#       Option		"Threshold"	"3"
#       Option		"Device"	"/dev/input/tablet-graphire4-6x8"
#       Option		"Tilt"		"on"
#EndSection

#Section "InputDevice"
#       Identifier	"eraser"
#       Driver		"wacom"
#       Option		"Type"		"eraser"
#       Option		"USB"		"on"
#       Option		"Threshold"	"3"
#       Option		"Device"	"/dev/input/tablet-graphire4-6x8"
#EndSection

#Section "InputDevice"
#       Identifier	"cursor"
#       Driver		"wacom"
#       Option		"Type"		"cursor"
#       Option		"USB"		"on"
#       Option		"Threshold"	"3"
#       Option		"Device"	"/dev/input/tablet-graphire4-6x8"
#EndSection

#Section "InputDevice"
#       Identifier	"pad"
#       Driver		"wacom"
#       Option		"Device"	"/dev/input/tablet-graphire4-6x8"
#       Option		"Type"		"pad"
#       Option		"USB"		"on"
#EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV31M [GeForce FX Go5650]"
	Driver		"nv"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Monitor Generico"
	Option		"DPMS"
	HorizSync	30-67
	VertRefresh	50-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV31M [GeForce FX Go5650]"
	Monitor		"Monitor Generico"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1400x1050"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1400x1050"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"

	InputDevice	"Configured Mouse"

	InputDevice	"Synaptics Touchpad"

	InputDevice	"WacomStylus"	"AlwaysCore"
	InputDevice	"WacomEraser"	"AlwaysCore"
	InputDevice	"WacomCursor"	"CorePointer"

#	InputDevice	"stylus"	"SendCoreEvents"
#	InputDevice	"eraser"	"SendCoreEvents"
#	InputDevice	"cursor"	"SendCoreEvents"
#	InputDevice	"pad"
EndSection

Section "DRI"
	Mode	0666
EndSection
