# vim:nowrap:noet:ft=xf86conf ic:

# Copyright (C) 2007 PeterG. This program is free software: you
# can redistribute it and/or modify it under the terms of the
# GNU General Public License as published by the Free Software
# Foundation, either version 2 of the License, or (at your
# option) any later version. This program is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# 070512 Peter G. <notes {at} notes.for.sabi.co.UK>

Section		"ServerFlags"
  Option		"AllowMouseOpenFail" 		"on"

  # Other extended keys, using <Shift><Alt> as prefix, can be enabled
  # using XKB AccessX 'mousekeys', and these are mouse simulation keys.
  #   <URL:http://Pascal.TSU.RU/en/xkb/internals.html#mouse>
  Option		"HandleSpecialKeys"		"WhenNeeded"
  Option		"AllowClosedownGrabs"		"on"
  Option		"AllowDeactivateGrabs"		"on"

  # The "BlankTime" is for the X11 screen saver, and the other three
  # are for the DPMS logic. All times in minutes.
  Option		"BlankTime"			"4"
  Option		"StandbyTime"			"6"
  Option		"SuspendTime"			"10"
  Option		"OffTime"			"20"

  # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  # This allows clients to receive this key event.
  # sequences.  This allows clients to receive these key events.
  Option		"DontZap"			"off"
  Option		"DontZoom"			"off"

# Option		"NoTrapSignals"
# Option		"DisableModInDev"
# Option		"AllowNonLocalModInDev"
# Option		"AllowNonLocalXvidtune"
# Option		"DisableVidModeExtension"

# Option	   	"EstimateSizesAggressively"	"0"
EndSection

Section		"Files"
  # To switch to the NVIDIA modules, put them into some directory
  # like '/usr/local/lib/nvidia', and add it to the front of the
  # 'ModulePath'. Remove that directory to switch back to the
  # X.org modules.

# ModulePath		"/usr/local/lib/fglrx/modules"
  ModulePath		"/usr/local/lib/nvidia/modules"
  ModulePath		"/usr/lib/xorg/modules"

  # A bit risky, but recent X.org versions handle the inability
  # to connect fairly gracefully.
# FontPath		"unix/:7100"

# Font directory path. Ensure that '/etc/fonts/local.conf',
# '/etc/X11/XF86Config', '/etc/X11/XftConfig' match.

# If Type 1 rasterizing is done by the 'freetype' module
# instead of the 'type1' module then quality for Type 1
# fonts may be better than for TrueType ones, so pull them
# ahead.

    # Pure aliases (plus a single token font)

    FontPath 	"/etc/X11/aliases"

    # Bitmap fonts
    FontPath 	"/usr/share/X11/fonts/misc"

    FontPath 	"/usr/share/X11/fonts/100dpi:unscaled"
    FontPath 	"/usr/share/X11/fonts/75dpi:unscaled"

    FontPath 	"/usr/share/X11/fonts/100dpi"
    FontPath 	"/usr/share/X11/fonts/75dpi"

    # Whatever fonts

#   FontPath 	"/usr/local/share/fonts"
#   FontPath	"/usr/share/ghostscript/fonts"

    # Type1 fonts, first my own collections

    FontPath 	"/com/share/font/ps1"
    FontPath 	"/loc/share/font/ps1"

#   FontPath 	"/usr/share/fonts/type1"
#   FontPath	"/usr/share/fonts/type1/cyrillic"
#   FontPath	"/usr/share/fonts/type1/gsfonts"
#   FontPath	"/usr/share/fonts/type1/teams"
#   FontPath 	"/usr/share/X11/fonts/Type1"

    # TrueType fonts, first my own collections

    FontPath 	"/com/share/font/ttf"
    FontPath 	"/loc/share/font/ttf"

#   FontPath 	"/usr/share/fonts/truetype"
#   FontPath    "/usr/share/fonts/truetype/baramond"
#   FontPath    "/usr/share/fonts/truetype/freefont"
#   FontPath    "/usr/share/fonts/truetype/openoffice"
#   FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera"
#   FontPath    "/usr/share/fonts/truetype/latex-xft-fonts"
#   FontPath    "/usr/share/fonts/truetype/ttf-junicode"
#   FontPath 	"/usr/share/X11/fonts/TrueType"
EndSection

Section		"Module"
  # VERY IMPORTANT: the order in which modules are listed here matters,
  # unfortunately there is no documentation on what it should be be.

  # 'extmod' should always be loaded directly or with a 'SubSection
  # "extmod"' and usually with the latter, in order to disable the DGA
  # extension.
  SubSection		"extmod"
    Option		"omit XFree86-DGA"
  EndSubSection

  # Font rendering modules ("bitmap" loaded by default, can't be disabled).
  # These probably should be loaded early.

# The 'freetype' module can render all of TrueType, Type 1 and PCF
# format fonts. But in the X.org server it does not do PCF. At least
# it renders Type1 better than the 'type1' module, which is ancient.
  Load			"freetype"
# Load			"type1"

  Load			"int10"			# Initialization
  Load			"dbe"			# Double buffering
  Load			"v4l"			# Video4Linux

  # Loading DDC makes X.org use the VESA and monitor provided
  # standard modes. I prefer to set them manually.
  Load			"i2c"			# Serial bus to DDC
  Load			"ddc"			# DDC monitor status

  # To get  set the 'QT_XFT' environment variable to '1', and, for
  # GTK apps, set 'LD_PRELOAD' to the path to 'libgdkxft.so'.

  # If "glx" is loaded, load also "dri", unless it's the NVIDIA
  # proprietary driver, in which case only "glx" should be loaded.
  # Also, for cards that do not support DRI, loading the module is
  # rather pointless. Should be harmless, but better be safe.

  Load    		"fb"
  Load			"glx"
# Load    		"dri"
# Load    		"fglrxdrm"
EndSection

Section		"Extensions"
  Option		"RANDR"				"on"
  Option		"RENDER"			"on"

  # Without acceleration 'Composite' is intolerably slow.
  # Also, it interferes with many other useful things,
  # for example with the NVIDIA proprietary drivers.
  Option		"Composite"			"on"
EndSection

Section		"DRI"
  Mode			0660
  Group			"video"
EndSection

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

Section		"InputDevice"
  Identifier	"Keyboards"
  Driver	"kbd"

  # For most OSs the protocol can be omitted (it defaults to "Standard").
  # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
  # out the above line, and uncomment the following line.

# Option		"Protocol"	"Xqueue"

# Option		"LeftCtl"	"Control"
# Option		"LeftAlt"	"Meta"
# Option		"RightAlt"	"ModeShift"
# Option		"RightAlt"	"Meta"
# Option		"RightCtl"	"Control"
# Option		"ScrollLock"	"Compose"
# Option		"ScrollLock"	"ModeLock"

  # Set the keyboard auto repeat parameters.  Not all platforms implement
  # this.

  Option		"AutoRepeat"	"250 30"

  # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

  Option		"Xleds"		"1 2 3"

  # To disable the XKEYBOARD extension, uncomment XkbDisable.

# Option		"XkbDisable"

  # There is almost no documentation about configuring
  # 'XKEYBOARD', but here are some essential links:
  #   http://www.pango.org/input-resources.shtml
  #   http://www.charvolant.org/~doug/xkb/
  #   http://pascal.tsu.ru/en/xkb/

  # Basic way to configure XKEYBOARD: select directly from
  # the directories under '/usr/X11R6/lib/X11/xkb/'.

    Option		"XkbKeycodes"	"xfree86"
    Option		"XkbTypes"	"default"
    Option		"XkbCompat"	"default"
    Option		"XkbSymbols"	"pc(pc105)+gb+group(toggle)+compose(ralt)"
    Option		"XkbGeometry"	"pc(pc105)"

  # Alternative way to configure XKEYBOARD: various macros.
  # Listed in '/usr/X11R6/lib/X11/xkb/rules/xorg.lst'

    # These are the default XKB settings for X.org

#   Option		"XkbModel"	"pc101"
#   Option		"XkbLayout"	"us"
#   Option		"XkbVariant"	""
#   Option		"XkbOptions"	""

#   Option		"XkbModel"	"pc105"
#   Option		"XkbLayout"	"gb"
EndSection

Section		"InputDevice"
  Identifier	"MouseUSB"
  Driver	"mouse"

  Option		"Device"	"/dev/input/mice"
  Option		"Protocol"	"IMPS/2"
# Option		"Protocol"	"PS/2"
# Option		"Protocol"	"Auto"
# Option		"Protocol"	"Xqueue"

  # 'Baudrate' and 'SampleRate' are only for some older Logitech mice.
  # In almost every case these lines should be omitted. But some optical
  # mice REALLY need 'Resolution' or else they are rather insensitive.

  Option		"Resolution"	"400"
  Option		"BaudRate"	"9600"
  Option		"SampleRate"	"250"

  # Emulate3Buttons is an option for 2-button mice
  # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option		"Emulate3Buttons" "true"
# Option		"Emulate3Timeout" "50"

  # ChordMiddle is an option for some 3-button Logitech mice, or any
  # 3-button mouse where the middle button generates left+right button
  # events.
# Option		"ChordMiddle"

  Option		"Buttons"	"5"
  Option		"ZAxisMapping"	"4 5"
EndSection

Section		"InputDevice"
  Identifier	"MousePS2"
  Driver	"mouse"

  Option		"Device"	"/dev/psaux"
  Option		"Protocol"	"IMPS/2"

  # 'Baudrate' and 'SampleRate' are only for some older Logitech mice.
  # In almost every case these lines should be omitted. But some optical
  # mice REALLY need 'Resolution' or else they are rather insensitive.

  Option		"Resolution"	"400"
  Option		"BaudRate"	"9600"
  Option		"SampleRate"	"250"

  # Emulate3Buttons is an option for 2-button mice
  # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

  Option		"Emulate3Buttons" "true"
# Option		"Emulate3Timeout" "50"

  # ChordMiddle is an option for some 3-button Logitech mice, or any
  # 3-button mouse where the middle button generates left+right button
  # events.
# Option		"ChordMiddle"

  Option		"Buttons"	"5"
  Option		"ZAxisMapping"	"4 5"
EndSection

#Section	"InputDevice"
#  Identifier	"Mouse2"
#  Driver	"mouse"
#  Option		"Protocol"	"MouseMan"
#  Option		"Device"	"/dev/mouse2"
#EndSection

#Section	"InputDevice"
#  Identifier	"Spaceball"
#  Driver	"magellan"
#  Option		"Device"	"/dev/cua0"
#EndSection

#Section	"InputDevice"
#  Identifier	"Spaceball2"
#  Driver		"spaceorb"
#  Option		"Device"	"/dev/cua0"
#EndSection

#Section	"InputDevice"
#  Identifier	"touchscreen0"
#  Driver	"microtouch"
#  Option		"Device"	"/dev/ttyS0"
#  Option		"MinX"		"1412"
#  Option		"MaxX"		"15184"
#  Option		"MinY"		"15372"
#  Option		"MaxY"		"1230"
#  Option		"ScreenNumber"	"0"
#  Option		"ReportingMode"	"Scaled"
#  Option		"ButtonNumber"	"1"
#  Option		"SendCoreEvents"
#EndSection

#Section	"InputDevice"
#  Identifier	"touchscreen1"
#  Driver	"elo2300"
#  Option		"Device"	"/dev/ttyS0"
#  Option		"MinX"		"231"
#  Option		"MaxX"		"3868"
#  Option		"MinY"		"3858"
#  Option		"MaxY"		"272"
#  Option		"ScreenNumber"	"0"
#  Option		"ReportingMode"	"Scaled"
#  Option		"ButtonThreshold"	"17"
#  Option		"ButtonNumber"	"1"
#  Option		"SendCoreEvents"
#EndSection

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

# VESA standard modes up to 70kHz horizontal or 1280x1024@60

Section		"Modes"
  Identifier	"VESA"

  # 640x350@31.5MHz => 85Hz, 37.9kHz
  # 640x400@31.5MHz => 85Hz, 37.9kHz
  ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +HSync -VSync
  ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -HSync +VSync

  # 640x480@25.2MHz => 60Hz, 31.5kHz (not quite VESA but common)
  # 640x480@31.5MHz => 72Hz, 37.9kHz
  # 640x480@31.5MHz => 75Hz, 37.5kHz
  # 640x480@36.0MHz => 85Hz, 43.3kHz
  ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -HSync -VSync
  ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -HSync -VSync
  ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -HSync -VSync
  ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -HSync -VSync

  # 720x400@35.5MHz => 85Hz, 37.9kHz
  # 800x600@36.0MHz => 56Hz, 35.2kHz
  # 800x600@40.0MHz => 60Hz, 37.9kHz
  # 800x600@49.5MHz => 75Hz, 46.9kHz
  # 800x600@50.0MHz => 72Hz, 48.1kHz
  # 800x600@56.3MHz => 85Hz, 53.7kHz
  ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -HSync +VSync
  ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +HSync +VSync
  ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +HSync +VSync
  ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +HSync +VSync
  ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +HSync +VSync
  ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +HSync +VSync

  # 1024x768i@44.9MHz => 43Hz, 35.5kHz (industry standard)
  # 1024x768@65.0MHz => 60Hz, 48.4kHz
  # 1024x768@75.0MHz => 70Hz, 56.5kHz
  # 1024x768@78.8MHz => 75Hz, 60.0kHz
  # 1024x768@94.5MHz => 85Hz, 68.7kHz
  ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +HSync +VSync Interlace
  ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
  ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -HSync -VSync
  ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +HSync +VSync
  ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +HSync +VSync

  # 1152x864@81.5MHz => 60Hz, 53.70kHz
  # 1152x864@108MHz => 75Hz, 67.5kHz
  Modeline "1152x864" 81.5 1152 1216 1336 1520	864 865 868 895 +HSync +VSync
  ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +HSync +VSync

  # 1280x960@108.0MHz => 60Hz, 60.0kHz
  # 1280x1024@108.0MHz => 60Hz, 64.0kHz
  ModeLine "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +HSync +VSync
  ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +VSync
EndSection

# VESA standard modes over 75kHz horizontal or 1280x1024@75

Section		"Modes"
  Identifier	"XVESA"

  # 1280x960@148.5MHz => 85Hz, 85.9kHz
  # 1280x1024@135.0MHz => 75Hz, 80.0kHz
  # 1280x1024@157.5MHz => 85Hz, 91.1kHz
  ModeLine "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +HSync +VSync
  ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +HSync +VSync
  ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +HSync +VSync

  # 1600x1200@162.0MHz => 60Hz, 75.0kHz
  # 1600x1200@175.5MHz => 65Hz, 81.3kHz
  # 1600x1200@189.0MHz => 70Hz, 87.5kHz
  # 1600x1200@202.5MHz => 75Hz, 93.8kHz
  # 1600x1200@229.5MHz => 85Hz, 106.3kHz
  ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
  ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
  ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
  ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
  ModeLine "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync

  # 1792x1344@204.8MHz => 60Hz, 83.6kHz
  # 1792x1344@261.0MHz => 75Hz, 106.3kHz
  ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -HSync +VSync
  ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -HSync +VSync

  # 1856x1392@218.3MHz => 60Hz, 86.3kHz
  # 1856x1392@288.0MHz => 75Hz, 112.5kHz
  ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -HSync +VSync
  ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -HSync +VSync

  # 1920x1440@234.0MHz => 60Hz, 90.0kHz
  # 1920x1440@297.0MHz => 75Hz, 112.5kHz
  ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -HSync +VSync
  ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -HSync +VSync
EndSection

Section		"Modes"
  Identifier	"Widescreen"

  # Generated with GTF and clock slighly rounded.

  #  1024x576 60Hz 35.82kHz 47.00MHz
  #  1280x720 60Hz 44.76kHz 74.48MHz
  #  1280x768 60Hz 47.70kHz 80.14MHz
  #  1280x800 60Hz 49.68kHz 83.46MHz
  #  1360x768 60Hz 47.70kHz 84.72MHz
  Modeline "1024x576@60" 47.0 1024 1064 1168 1312 576 577 580 597
  Modeline "1280x720@60" 74.5 1280 1336 1472 1664 720 721 724 746
  Modeline "1280x768@60" 80.0 1280 1344 1480 1680 768 769 772 795
  Modeline "1280x800@60" 83.5 1280 1344 1480 1680 800 801 804 828
  Modeline "1360x768@60" 86.0 1360 1424 1568 1776 768 769 772 795

  # 1440x900 60Hz 55.92kHz 106.47MHz
  # 1400x1050 60Hz 65.22kHz 122.61MHz
  # 1680x1050 60Hz 65.22kHz 147.14MHz

  Modeline "1440x900@60"  106.5 1440 1520 1672 1904 900 901 904 932
  Modeline "1400x1050@60" 122.5 1400 1488 1640 1880 1050 1051 1054 1087
  Modeline "1680x1050@60" 147.0 1680 1784 1968 2256 1050 1051 1054 1087
EndSection

Section		"Modes"
  Identifier	"sabi Generic"

  ModeLine "400x300"	16	400 416 464 504		300 329 334 370
  ModeLine "640x480"	28	640 656 752 792		480 490 492 519

  ModeLine "800@50"	50	800 800 920 1016	600 602 611 623
  ModeLine "832@50"	50	832 856 1032 1048	624 635 640 667

  ModeLine "1024@65"	72	1024 1044 1172 1312	768 768 773 795
  ModeLine "1024@72"	72	1024 1044 1172 1312	768 768 773 795
  ModeLine "1024@75"	75	1024 1040 1152 1296	768 768 773 795
  ModeLine "1024@80"	80	1024 1088 1248 1336	768 779 794 823

  ModeLine "1152v@80"	80	1152 1192 1296 1448	864 900 903 927
  ModeLine "1152@80"	80	1152 1192 1296 1448	900 900 903 927
  ModeLine "1152v@85"	85	1152 1208 1320 1504	864 951 955 1023
  ModeLine "1152@85"	85	1152 1208 1320 1504	900 951 955 1023

  # at barely 60Hz "l", or at 66Hz "h"
  ModeLine "1152v@90l"	90	1152 1200 1448 1544	864 897 899 957
  ModeLine "1152v@90h"	90	1152 1216 1400 1496	864 869 879 903

  ModeLine "1152v@95"	95	1152 1224 1352 1536	864 878 881 921
  ModeLine "1152v@100"  100	1152 1240 1360 1512	864 868 870 911
  ModeLine "1152v@110"	110	1152 1228 1348 1492	864 864 866 911
  ModeLine "1152v@135"	135	1152 1184 1192 1608	864 864 905 935
EndSection

Section		"Modes"
  Identifier	"sabi Slow and Small"

  ModeLine "352x220"	13	352 360 408 432		220 224 236 240	Doublescan
  ModeLine "1024@45i"	45	1024 1048 1208 1264	768 776 784 817	Interlace
  ModeLine "1152@65i"	65	1152 1240 1344 1504	900 901 907 947	Interlace
  ModeLine "1152v@65i"	65	1152 1208 1424 1472	864 865 887 907	Interlace
EndSection

Section		"Modes"
  Identifier	"sabi Slow and Large"

  ModeLine "1280v@75i"	75	1280 1320 1424 1624	960 960 975 1009 Interlace
  ModeLine "1280v@80i"	80	1280 1296 1400 1624	960 960 975 1009 Interlace
  ModeLine "1280@80i"	80	1280 1320 1424 1656	1024 1024 1029 1065 Interlace
  ModeLine "1280v@85i"	85	1280 1352 1456 1640	960 960 965 1011 Interlace
  ModeLine "1280@85i"	85	1280 1320 1424 1656	1024 1024 1029 1065 Interlace
EndSection

Section		"Modes"
  Identifier	"sabi SAMSUNG 570STFT"

  # From SAMSUNG's own examples. It is pointless to use higher bandwidth
  # modes or refresh rates. SAMSUNG says that the 65MHz 1024x768 60Hz
  # mode is the optimal one.

  Modeline "640x480"	25.175	640 656 752 800 480 490 492 525 -HSync -VSync
  Modeline "800x600"	40	800 840 968 1056 600 601 605 628 +HSync +VSync
  Modeline "1024x768"	64	1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

Section		"Modes"
  Identifier	"sabi SAMSUNG 570STFT Portrait"

  # From SAMSUNG's own examples. It is pointless to use higher bandwidth
  # modes or refresh rates. SAMSUNG says that the 65MHz 1024x768 60Hz
  # mode is the optimal one.

  ModeLine "640x480"	25.175	640 656 752 800 480 490 492 525 -HSync -VSync
  ModeLine "800x600"	40	800 840 968 1056 600 601 605 628 +HSync +VSync
  ModeLine "1024x768"	65	1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

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

Section		"Monitor"
  Identifier	"Basic Monitor"

  Option		"DPMS" "off"
# Option		"sync on green"

  HorizSync		31.5 #, 37.9
  VertRefresh		56-85

  # 640x350@31.5MHz => 85Hz, 37.9kHz
  # 640x400@31.5MHz => 85Hz, 37.9kHz
  ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +HSync -VSync
  ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -HSync +VSync

  # 640x480@25.2MHz => 60Hz, 31.5kHz (not quite VESA , but common)
  # 640x480@31.5MHz => 72Hz, 37.9kHz
  ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -HSync -VSync
  ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -HSync -VSync

# # 720x400@35.5MHz => 85Hz, 37.9kHz
# ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -HSync +VSync

  # 800x600@40.0MHz => 60Hz, 37.9kHz
  ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +HSync +VSync
EndSection

Section		"Monitor"
  Identifier	"VESA Monitor"

  VendorName		"Generic"
  ModelName		"VESA Monitor"

  Option		"DPMS"		"off"

  VertRefresh		50-75

  UseModes		"VESA"
EndSection

Section		"Monitor"
  Identifier	"VESA LCD"

  VendorName		"Generic"
  ModelName		"VESA LCD"

  Option		"DPMS"		"off"

  VertRefresh		50-60

  UseModes		"VESA"
EndSection

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

Section		"Monitor"
  Identifier	"Sony CPD-15sf2"

  VendorName		"Sony"
  ModelName		"CPD-15sf2"

  Option		"DPMS"		"off"

# Bandwidth		80
  HorizSync		28-65
  VertRefresh		40-120

  UseModes		"sabi Slow and Small"
  UseModes		"sabi Generic"
EndSection

Section		"Monitor"
  Identifier	"Belinea 10 70 50"

  VendorName		"MAXDATA"
  ModelName		"MAX1B8A"

  DisplaySize		290 218
  Gamma			1.0

  Option		"DPMS"		"on"

# Bandwidth		160
  HorizSync		30-95
  VertRefresh		50-160

  UseModes		"sabi Generic"
  UseModes		"sabi Slow and Large"
EndSection

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

Section		"Monitor"
  Identifier	"SAMSUNG 570STFT"

  VendorName		"SAMSUNG"
  ModelName		"570STFT"

  # Exactly 12"x9", which gives 85DPI
  DisplaySize		304 228

  Gamma			1.2

  Option		"DPMS"		"on"

# Bandwidth		80
  HorizSync		30-61
  VertRefresh		50-75

  UseModes		"sabi SAMSUNG 570STFT"
EndSection

Section		"Monitor"
  Identifier	"SAMSUNG 570STFT Portrait"

  VendorName		"SAMSUNG"
  ModelName		"570STFT"

  # Exactly 12"x9", which gives 85DPI
  DisplaySize		228 304

  Gamma			1.2

  Option		"DPMS"		"on"

# Bandwidth		80
  HorizSync		30-61
  VertRefresh		50-75

  UseModes		"sabi SAMSUNG 570STFT Portrait"
EndSection

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

Section		"Monitor"
  Identifier	"LG LCD 17in #0"

  VendorName		"LG"
  ModelName		"LCD 17in"

  # Exactly 13.4"x10.6", which gives 96DPI (100DPI)
  DisplaySize		338 270

  Gamma			1.0

  Option		"DPMS"		"off"

# Bandwidth		140
  HorizSync		30-71	# Max is really 84KHz, but we prefer lower
  VertRefresh		56-62	# Really 75Hz, but LCDs should be run lower

  UseModes		"VESA"
EndSection

Section		"Monitor"
  Identifier	"LG LCD 17in #1"

  VendorName		"LG"
  ModelName		"LCD 17in"

  # Exactly 13.4"x10.6", which gives 96DPI (100DPI)
  DisplaySize		338 270

  Gamma			1.0

  Option		"DPMS"		"off"

# Bandwidth		140
  HorizSync		30-71	# Max is really 84KHz, but we prefer lower
  VertRefresh		56-62	# Really 75Hz, but LCDs should be run lower

  UseModes		"VESA"
EndSection

Section		"Monitor"
  Identifier	"LG LCD 17in Twin"

  VendorName		"LG"
  ModelName		"LCD 17in Twin"

  # Exactly 13.4"x10.6", which gives 96DPI (100DPI)
  DisplaySize		676 270

  Gamma			1.0

  Option		"DPMS"		"off"

# Bandwidth		140
  HorizSync		30-150	# Max is really 84KHz, but we prefer lower
  VertRefresh		56-62	# Really 75Hz, but LCDs should be run lower

  UseModes		"VESA"
EndSection

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

Section		"Monitor"
  Identifier	"Toshiba 15in LCD"

  VendorName		"Toshiba"
  ModelName		"15in LCD"

  # Exactly 12"x9", which gives 85DPI
  DisplaySize		304 228

  Gamma			1.0

  Option		"DPMS"		"on"

# Bandwidth		80
  HorizSync		30-61
  VertRefresh		56-72
EndSection

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

Section		"Device"
  Identifier	"Basic VGA"
  Driver	"vga"

# Chipset		"generic"
# BusID			"PCI:1:0:0"

# VideoRam		256
  Clocks		25.2 31.5 40

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"on"
EndSection

Section		"Device"
  Identifier	"VESA VGA"
  Driver	"vesa"

# Chipset		"generic"
# BusID			"PCI:1:0:0"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"on"

  Option		"UseFBDev"	"false"
EndSection

Section		"Device"
  Identifier	"FB VGA"
  Driver	"fbdev"

# Chipset		"generic"
# BusID			"PCI:1:0:0"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"on"
EndSection

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

#Section	"Device"
#  Identifier	"Trident based"
#  Driver	"trident"
#EndSection

#Section	"Device"
#  Identifier	"G200 AGP"
#  Driver	"mga"
#  BusID		"PCI:1:0:0"
#  Option		"hw cursor"	"off"
#  Option		"pci retry"
#EndSection

#Section	"Device"
#  Identifier	"G200 PCI"
#  Driver	"mga"
#  BusID		"PCI:0:10:0"
#  Option		"hw cursor"	"off"
#EndSection

Section		"Device"
  Identifier	"Matrox G400"
  Driver	"mga"

# BusID			"PCI:1:0:0"

  Option		"HWCursor"	"off"

  Option		"AGPMode"	"1"
EndSection

Section		"Device"
  Identifier	"Generic Cirrus"
  Driver	"cirrus"

# BusID			"PCI:0:11:0"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"off"

# Option		"Rotate"	"CW"
# Option		"Rotate"	"CCW"
EndSection

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

# "nv" is the non fully 3D accelerated driver, "nvidia" the
# binary only fully 3D GLX accelerated one.
# Make sure module "dri" is not loaded with "nvidia". It is
# more or less useless with "nv", as there is no DRI support
# for NVIDIA cards, as they don't release information for it.

# Usually CRTC number 1 is the DVI out, 0 is the VGA out.

Section		"Device"
  Identifier	"Generic GeForce DVI X.org"
  Driver	"nv"
  BusID		"PCI:1:0:0"

# In recent 'nv' driver versions 'VideoRAM' is ignored.
# VideoRAM		8000

# Screen		0
# Option		"CrtcNumber"	"0"
# Option		"FlatPanel"	"on"
  Option		"FPScale"	"off"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"off"
  Option		"UseFBDev"	"off"

  # "RandR", "CW", or "CCW"
# Option		"Rotate"	"off"
EndSection

Section		"Device"
  Identifier	"Generic GeForce VGA X.org"
  Driver	"nv"
  BusID		"PCI:1:0:0"

# In recent 'nv' driver versions 'VideoRAM' is ignored.
# VideoRAM		8000

# Screen		1
# Option		"CrtcNumber"	"1"
# Option		"FlatPanel"	"off"
# Option		"FPScale"	"off"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"off"
  Option		"UseFBDev"	"off"

  # "RandR", "CW", or "CCW"
# Option		"Rotate"	"off"
EndSection

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

# For the NVIDIA drivers there are quite a few extra options, for example:

# "NvAGP"	0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver.
# "Stereo"	1: DDC glasses 2: passthru glasses 3: builtin glasses

# 'ConnectedMonitor' may have as value a list of '(CRT|DFP|TV)[-(0|1)]',
# and selects the type and number of the *permitted* output socket,
# for *all* 'Device' sections.
# 'Use' instead selects the output port for the current 'Device'.

# So for example a card may be 'CRT-1' and 'DFP-0', if socket 0
# is an LCD and socket 1 is a CRT.

# If 'ConnectedMonitor' is a 'DFP' type socket
# Scaling=default|native|scaled|centered|aspect-scaled"
# Dithering=default|enabled|disabled
# "FlatPanelProperties"	"Scaling=???,Dithering=???"

# If 'ConnectedMonitor' is a 'TV' type socket.
# "TVStandard"	PAL-I
# "TVOutFormat"	(SVIDEO|COMPOSITE)

# WARNING: using the RENDER extension by disabling "NoRenderExtension"
# either crashes X or makes it loop with many versions of the NVIDIA
# drivers, but disabling 'RenderAccel' seems to make it good in later
# releases.

# There are also some environment variables,
# which have card-model dependent values:

# __GL_FSAA_MODE=0|1|2|3|4|5
# __GL_SYNC_TO_VBLANK=0|1
# __GL_DEFAULT_LOG_ANISO=0|1|2|3

Section		"Device"
  Identifier	"Generic GeForce NVIDIA #0"
  Driver	"nvidia"
  BusID		"PCI:1:0:0"

  Screen		0

  # "RandR", "CW", or "CCW"
  Option		"Rotate"	"off"
  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

  # 0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver
  Option "NvAGP"			"2"

  Option "UseDisplayDevice"		"CRT-0"
# Option "ConnectedMonitor"		"DFP-0,CRT-1"
# Option "IgnoreDisplayDevices"		"CRT,TV"
# Option "UseInt10Module"		"true"

# Option "UseEdidFreqs"			"false"
  Option "UseEdidDPI"			"false"
  Option "DPI"				"100x100"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"
  Option "FlatPanelProperties"		"Scaling=aspect-scaled"

  Option "Coolbits"			"1"
  Option "AllowGLXWithComposite"	"on"
  Option "NoRenderExtension"		"false"
  Option "RenderAccel"			"true"

# Option "UBB"				"boolean"
# Option "NoAccel"			"boolean"
# Option "WindowFlip"			"boolean"
# Option "UseClipIDs"			"boolean"
# Option "Overlay"			"boolean"
# Option "DigitalVibrance"		"0|1|2|3"

# Option "Stereo"			"1|2|3"

  Option "TwinView"			"off"
EndSection

Section		"Device"
  Identifier	"Generic GeForce NVIDIA #1"
  Driver	"nvidia"
  BusID		"PCI:1:0:0"

  Screen		1

  # "RandR", "CW", or "CCW"
  Option		"Rotate"	"off"
  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

# Option "NvAGP"			"2"

  Option "UseDisplayDevice"		"DFP-0"
# Option "ConnectedMonitor"		"DFP-0,CRT-1"
# Option "IgnoreDisplayDevices"		"DFP,TV"
# Option "UseInt10Module"		"true"

# Option "UseEdidFreqs"			"false"
  Option "UseEdidDPI"			"false"
  Option "DPI"				"100x100"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"

  Option "Coolbits"			"1"
  Option "AllowGLXWithComposite"	"on"
  Option "NoRenderExtension"		"false"
  Option "RenderAccel"			"true"

# Option "UBB"				"boolean"
# Option "NoAccel"			"boolean"
# Option "WindowFlip"			"boolean"
# Option "UseClipIDs"			"boolean"
# Option "Overlay"			"boolean"
# Option "DigitalVibrance"		"0|1|2|3"

# Option "Stereo"			"1|2|3"

  Option "TwinView"			"off"
EndSection

Section		"Device"
  Identifier	"Generic GeForce Twin"
  Driver	"nvidia"
  BusID		"PCI:1:0:0"

  # "RandR", "CW", or "CCW"
  Option		"Rotate"	"off"
  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

  # 0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver
  Option "NvAGP"			"2"

# Option "UseDisplayDevice"		"DFP,CRT"
# Option "ConnectedMonitor"		"DFP-0,CRT-1"
# Option "IgnoreDisplayDevices"		"CRT,TV"
# Option "UseInt10Module"		"true"

# Option "UseEdidFreqs"			"false"
  Option "UseEdidDPI"			"false"
  Option "DPI"				"100x100"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"
  Option "FlatPanelProperties"		"Scaling=aspect-scaled"

  Option "Coolbits"			"1"
  Option "AllowGLXWithComposite"	"on"
  Option "NoRenderExtension"		"false"
  Option "RenderAccel"			"true"

# Option "UBB"				"boolean"
# Option "NoAccel"			"boolean"
# Option "WindowFlip"			"boolean"
# Option "UseClipIDs"			"boolean"
# Option "Overlay"			"boolean"
# Option "DigitalVibrance"		"0|1|2|3"

# Option "Stereo"			"1|2|3"

  Option "TwinView"			"on"
  Option "TwinViewOrientation"		"CRT-0 LeftOf DFP-0"
  Option "TwinXineramInfoOrder"		"CRT-0,DFP-0"
  Option "MetaModes"			"DFP-0:1280x1024, CRT-0:1280x1024"
  Option "HorizSync"			"DFP-0:30-71; CRT-0:30-71"
  Option "VertRefresh"			"DFP-0:55-62; CRT-0:55-62"
EndSection

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

# CRTC 0 is the external VGA, CRTC 1 is the internal LCD

Section		"Device"
  Identifier	"GeForce2Go X.org int."
  Driver	"nv"

# In recent 'nv' driver versions 'VideoRAM' is ignored.
# VideoRAM		4096

  BusID			"PCI:1:0:0"
# Screen		0

  Option		"CrtcNumber"	"1"
  Option		"FlatPanel"	"on"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"off"
  Option		"UseFBDev"	"off"
EndSection

Section		"Device"
  Identifier	"GeForce2Go X.org ext."
  Driver	"nv"

# In recent 'nv' driver versions 'VideoRAM' is ignored.
# VideoRAM		4096

  BusID			"PCI:1:0:0"
# Screen		0

  Option		"CrtcNumber"	"0"
  Option		"FlatPanel"	"off"

  Option		"HWCursor"	"off"
  Option		"ShadowFB"	"off"
  Option		"UseFBDev"	"off"
EndSection

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

Section		"Device"
  Identifier	"GeForce2Go NVIDIA int."
  Driver	"nvidia"

  BusID			"PCI:1:0:0"
# Screen		0

  Option		"CrtcNumber"	"1"

  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

# Option "IgnoreDisplayDevices"		"CRT,TV"
  Option "UseEdidFreqs"			"true"
  Option "UseEdidDPI"			"false"

  Option "TwinView"			"false"

  # 0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver
  Option "NvAGP"			"3"

  Option "Coolbits"			"1"
  Option "RenderAccel"			"false"
  Option "NoRenderExtension"		"false"
  Option "PageFlip"			"true"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"
  Option "CursorShadowAlpha"		"50"
  Option "CursorShadowXOffset"		"2"
  Option "CursorShadowYOffset"		"2"
EndSection

Section		"Device"
  Identifier	"GeForce2Go NVIDIA ext."
  Driver	"nvidia"

  BusID			"PCI:1:0:0"
# Screen		1

  Option		"CrtcNumber"	"0"
  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

# Option "IgnoreDisplayDevices"		"DFP,TV"
  Option "UseEdidFreqs"			"true"
  Option "UseEdidDPI"			"false"

  Option "TwinView"			"false"

  # 0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver
  Option "NvAGP"			"3"

  Option "Coolbits"			"1"
  Option "RenderAccel"			"false"
  Option "NoRenderExtension"		"false"
  Option "PageFlip"			"true"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"
  Option "CursorShadowAlpha"		"50"
  Option "CursorShadowXOffset"		"2"
  Option "CursorShadowYOffset"		"2"
EndSection

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

# Some sources on the whole mess:
#   <http://Weller.ws/toshiba/man91.html>
#   <http://MemeBeam.org/toys/ToshibaAcpiDriver>

Section		"Device"
  Identifier	"GeForce2Go NVIDIA Twin"
  Driver	"nvidia"

  BusID			"PCI:1:0:0"

  Option		"HWCursor"	"off"

  # SPECIAL NVIDIA OPTIONS

# Option "IgnoreDisplayDevices"		"TV"
  Option "UseEdidFreqs"			"true"
  Option "UseEdidDPI"			"false"

  Option "TwinView"			"true"
  Option "TwinViewOrientation"		"Clone"
  Option "MetaModes"			"1024x768,1024x768;"
# Option "MetaModes"			"1024x768@1280x1024,1280x1024;"
  Option "SecondMonitorHorizSync"	"30-71"
  Option "SecondMonitorVertRefresh"	"50-72"

  # 0: no AGP, 1: NVdriver 2: agpgart, 3: agpgart then NVdriver
  Option "NvAGP"			"3"

  Option "Coolbits"			"1"
  Option "RenderAccel"			"false"
  Option "NoRenderExtension"		"false"
  Option "PageFlip"			"true"

  Option "NoLogo"			"false"
  Option "CursorShadow"			"false"
  Option "CursorShadowAlpha"		"50"
  Option "CursorShadowXOffset"		"2"
  Option "CursorShadowYOffset"		"2"
EndSection

Section		"Device"
  Identifier	"Generic Radeon DVI"
  Driver	"radeon"
# Driver	"fglrx"

  BusID			"PCI:1:0:0"
# Screen		0

  Option		"MergedFB"	"off"

# NONE, CRT, TMDS (DVI), LVDS (laptop)
# Option		"MonitorLayout"	"TMDS,CRT"

  Option		"DesktopSetup"	"c"
  Option		"ForceMonitors"	"nocv" 
# Option		"ForceMonitors"	"crt1,tmds1"

# Option		"FlatPanel"	"off"
# Option		"CrtcNumber"	"0"

# Option		"HWCursor"	"off"
# Option		"ShadowFB"	"off"
# Option		"UseFBDev"	"off"

# Option		"Rotate"	"CW"
# Option		"Rotate"	"CCW"
EndSection

Section		"Device"
  Identifier	"Generic Radeon VGA"
  Driver	"radeon"
# Driver	"fglrx"

  BusID			"PCI:1:0:1"
# Screen		1

  Option		"MergedFB"	"off"

# NONE, CRT, TMDS (DVI), LVDS (laptop)
# Option		"MonitorLayout"	"TMDS,CRT"

  Option		"DesktopSetup"	"c"
  Option		"ForceMonitors"	"nocv" 
# Option		"ForceMonitors"	"crt1,tmds1"

# Option		"FlatPanel"	"off"
# Option		"CrtcNumber"	"0"

# Option		"HWCursor"	"off"
# Option		"ShadowFB"	"off"
# Option		"UseFBDev"	"off"

# Option		"Rotate"	"CW"
# Option		"Rotate"	"CCW"
EndSection

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

# The first screen section is the default if there is no
# layout section.

Section		"Screen"
  Identifier	"Basic Screen"
  Monitor	"Basic Monitor"
  Device	"Basic VGA"

  DefaultDepth		4

  SubSection		"Display"
    Depth		8
    ViewPort		0 0
    Virtual 		800 600
    Modes		"320x240"
  EndSubsection

  SubSection		"Display"
    Depth		4
    ViewPort		0 0
    Virtual 		800 600
    Modes		"800x600" "720x400" "640x480" "640x400" "640x350"
  EndSubSection

  SubSection		"Display"
    Depth		1
    ViewPort		0 0
    Virtual 		800 600
    Modes		"800x600" "720x400" "640x480" "640x400" "640x350"
  EndSubSection
EndSection

Section		"Screen"
  Identifier	"VESA Screen"
  Monitor	"VESA Monitor"
  Device	"VESA VGA"

  DefaultDepth		16

  SubSection		"Display"
    Depth		24
    ViewPort		0 0
    Virtual 		1280 1024
    Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  SubSection		"Display"
    Depth		16
    ViewPort		0 0
    Virtual 		1280 1024
    Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  SubSection		"Display"
    Depth		8
    ViewPort		0 0
    Virtual 		1280 1024
    Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  SubSection		"Display"
    Depth		4
    ViewPort		0 0
    Virtual 		1280 1024
    Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection

  SubSection		"Display"
    Depth		1
    ViewPort		0 0
    Virtual 		1280 1024
    Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

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

Section		"Screen"
  Identifier	"XGA with 15in CRT"
  Monitor	"Sony CPD-15sf2"
  Device	"Generic GeForce VGA X.org"

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		16

  Subsection		"Display"
  Depth			  8
  Visual		  "PseudoColor"
  Modes			  "1024@80" "800@50" "640x480" "400x300"
  EndSubsection

  Subsection		"Display"
  Depth			  16
# Weight		  565
  Visual		  "TrueColor"
  Modes			  "1024@80" "800@50" "640x480" "400x300"
  EndSubsection

  Subsection		"Display"
  Depth			  32
  Visual		  "TrueColor"
  Modes			  "1024@80" "800@50" "640x480" "400x300"
  EndSubsection
EndSection

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

Section		"Screen"
  Identifier	"XGA with 15in LCD Portrait"
  Monitor	"SAMSUNG 570S TFT Portrait"
  Device	"Generic GeForce VGA X.org"

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		16

  Subsection		"Display"
    Virtual		  1024 1024
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "768x1024" "600x800" "480x640"
  EndSubsection

  Subsection		"Display"
    Virtual		  1024 1024
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes	  	  "768x1024" "600x800" "480x640"
  EndSubsection

  Subsection		"Display"
    Virtual		  1024 1024
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "768x1024" "600x800" "480x640"
  EndSubsection

  Subsection		"Display"
    Virtual		  1024 1024
    Depth	  	  32
    Visual		  "TrueColor"
    Modes	  	  "768x1024" "600x800" "480x640"
  EndSubsection
EndSection

Section		"Screen"
  Identifier	"Cirrus with 17in"
  Monitor	"LG LCD 17in #0"
  Device	"Generic Cirrus"

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		8

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

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

Section		"Screen"
  Identifier	"Toshiba with 15in LCD"
  Monitor	"Toshiba 15in LCD"

  Device	"GeForce2Go X.org int."

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		16

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes		  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

Section		"Screen"
  Identifier	"Toshiba external VGA"
  Monitor	"VESA LCD"

  Device	"GeForce2Go NVIDIA ext."

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		16

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

Section		"Screen"
  Identifier	"Toshiba external 17in LCD"
  Monitor	"LG LCD 17in #1"

  Device	"GeForce2Go NVIDIA ext."

# BlankTime		10
# StandbyTime		20
# SuspendTime		30
# OffTime		40

  DefaultDepth		16

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

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

Section		"Screen"
  Identifier	"1280#0"
  Monitor	"LG LCD 17in #0"

  Device	"Generic GeForce NVIDIA #0"
# Device	"Generic GeForce DVI X.org"
# Device	"Generic Radeon DVI"

  Option		"DPMS" "off"

  Option "MetaModes"	"DFP-0:1280x1024"

  DefaultDepth		24

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes		  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  32
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

Section		"Screen"
  Identifier	"1280#1"
  Monitor	"LG LCD 17in #1"

  Device	"Generic GeForce NVIDIA #1"
# Device	"Generic GeForce VGA X.org"
# Device	"Generic Radeon VGA"

  Option		"DPMS" "off"

  Option "MetaModes"	"DFP-0:1280x1024"

  DefaultDepth		24

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes		  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection

  Subsection		"Display"
    Depth	  	  32
    Visual		  "TrueColor"
    Modes	  	  "1280x1024" "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

Section		"Screen"
  Identifier	"1280Twin"
  Monitor	"LG LCD 17in Twin"

  Device	"Generic GeForce Twin"
# Device	"Generic GeForce VGA X.org"
# Device	"Generic Radeon VGA"

  DefaultDepth		24

  Subsection		"Display"
    Depth	  	  1
    Visual		  "PseudoColor"
    Modes	  	  "2560x1024" "1280x1024" "1024x768" "800x600"
  EndSubsection

  Subsection		"Display"
    Depth	  	  8
    Visual		  "PseudoColor"
    Modes	  	  "2560x1024" "1280x1024" "1024x768" "800x600"
  EndSubsection

  Subsection		"Display"
    Depth	  	  16
#   Weight		  565
    Visual		  "TrueColor"
    Modes		  "2560x1024" "1280x1024" "1024x768" "800x600"
  EndSubsection

  Subsection		"Display"
    Depth	  	  24
    Visual		  "TrueColor"
    Modes		  "2560x1024" "1280x1024" "1024x768" "800x600"
  EndSubsection

  Subsection		"Display"
    Depth	  	  32
    Visual		  "TrueColor"
    Modes		  "2560x1024" "1280x1024" "1024x768" "800x600"
  EndSubsection
EndSection

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

# The first uncommented layout section is the default one.

Section		"ServerLayout"
  Identifier	"basic"

  Screen		"Basic Screen"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MouseUSB"	"CorePointer"
  InputDevice		"MousePS2"	"SendCoreEvents"
EndSection

Section		"ServerLayout"
  Identifier	"vesa"

  Screen		"VESA Screen"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MouseUSB"	"CorePointer"
  InputDevice		"MousePS2"	"SendCoreEvents"
EndSection

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

Section		"ServerLayout"
  Identifier	"base"

  Screen		"1280#0"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MouseUSB"	"CorePointer"
EndSection

Section		"ServerLayout"
  Identifier	"base2"

  Screen		0 "1280#0"
  Screen		1 "1280#1" RightOf "1280#0"

  # Xinerama is a bit dodgy, and anyhow my two screens are
  # actually the DVI and VGA inputs of the same monitor...
  Option		"Xinerama"	"on"

# Option		"InitPrimary"	"off"
# Option		"NoInt10"	"off"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MouseUSB"	"CorePointer"
EndSection

Section		"ServerLayout"
  Identifier	"baset"

  Screen		0 "1280Twin"

  # If the NVIDIA driver provides Xinerama with TwinView,
  # the X server's own Xinerama must be off.
  Option		"Xinerama"	"off"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MouseUSB"	"CorePointer"
EndSection

Section		"ServerLayout"
  Identifier	"leaf"

  Screen		0 "Toshiba with 15in LCD"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MousePS2"	"CorePointer"
  InputDevice		"MouseUSB"	"SendCoreEvents"
EndSection

Section		"ServerLayout"
  Identifier	"leafe"

  Screen		0 "Toshiba external 17in LCD"

  InputDevice		"Keyboards"	"CoreKeyboard"
  InputDevice		"MousePS2"	"CorePointer"
  InputDevice		"MouseUSB"	"SendCoreEvents"
EndSection
