# /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"

	# path to defoma fonts
    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"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dbe"
	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"	"en_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"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier "nvidia0 NVIDIA Corporation NV34 [GeForce FX 5200]"
	Driver "nvidia"
	Screen		0
	BusID "PCI:1:0:0"
	Option "NvAGP"			"0"
	Option "RenderAccel"		"On"
        Option "IgnoreDisplayDevices"	"TV"
	Option "ModeValidation"		"NoMaxPClkCheck, NoEdidMaxPClkCheck"
	Option "NoRenderExtension"	"Off"
	Option "AllowGLXWithComposite"	"On"
EndSection

Section "Device"
	Identifier "nvidia1 NVIDIA Corporation NV34 [GeForce FX 5200]"
	Driver "nvidia"
	Screen		1
	BusID "PCI:1:0:0"
	Option "NvAGP"			"0"
	Option "RenderAccel"		"On"
        Option "IgnoreDisplayDevices"	"TV"
	Option "NoRenderExtension"	"Off"
	Option "AllowGLXWithComposite"	"On"
EndSection

Section "Monitor"
	Identifier	"targa"
	Option		"DPMS"
        DisplaySize     518.4 324
        HorizSync       30-81
        VertRefresh     56-60
EndSection
#
Section "Monitor"
	Identifier	"samsung"
	Option		"DPMS"
        DisplaySize     518.4 324
        HorizSync       30-81
        VertRefresh     56-76
EndSection

Section "Screen"
	Identifier	"LCD"
    Option "AddARGBGLXVisuals" "True"
	Option		"UseDisplayDevice"	"DFP"
	Device		"nvidia0 NVIDIA Corporation NV34 [GeForce FX 5200]"
	Monitor		"samsung"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"CRT"
    Option "AddARGBGLXVisuals" "True"
	Option		"UseDisplayDevice"	"CRT"
	Device		"nvidia1 NVIDIA Corporation NV34 [GeForce FX 5200]"
	Monitor		"targa"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0 "CRT"
	Screen		1 "LCD" RightOf "CRT"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
# Uncommenting this "Xinerama" line will "join" the two screens into a single 
# "wide" desktop. Nice and convenient perhaps, but it tends to play havoc with 
# the aspect ratio for video playback...
#	Option		"Xinerama" "On"
EndSection

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

Section "DRI"
	Mode	0666
EndSection
