# Hand-crafted xorg.conf for three screens, two cards, and no clue.
# Created 2006-09-09 by denny@meta****ics.org - 'denny' on irc.freenode.net
# Resources used:
# http://www.google.co.uk/search?q=linux+twinview+config
# ftp://download.nvidia.com/XFree86/Linux-x86/1.0-8178/README/appendix-p.html
# http://gentoo-wiki.com/HOWTO_Dual_Monitors
# http://forums.debian.net/viewtopic.php?t=1154
# http://www.nvnews.net/vbulletin/showthread.php?t=54638&page=5
# #debian-amd64 and #nvidia on irc.freenode.net
# Note: I didn't use TwinView in the end because it interacts oddly with
# xinerama - causing some windows to full-screen across two monitors. The
# way I have it set up here seems to work more as I would expect. YMMV.
# "Where's the ka-boom? There was supposed to be an Earth-shattering ka-boom."
# -- Marvin the Martian
# ========== ( Modules ) ==========
Section "Module"
Load "glx"
EndSection
# ========== ( Files ) ==========
Section "Files"
RgbPath "/etc/X11/rgb"
FontPath "unix/:7100"
EndSection
# ========== ( Graphics Cards ) ==========
# nVidia GeForce 6600 - DVI port
Section "Device"
Identifier "nVidia 6600 DVI"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "UseDisplayDevice" "DFP-0"
Option "RenderAccel" "True"
EndSection
# nVidia GeForce 6600 - VGA port
Section "Device"
Identifier "nVidia 6600 VGA"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
Option "UseDisplayDevice" "CRT-0"
Option "RenderAccel" "True"
EndSection
# nVidia GeForce4 MX4000
Section "Device"
Identifier "nVidia MX4000"
Driver "nvidia"
BusID "PCI:5:4:0"
Screen 0
Option "RenderAccel" "True"
EndSection
# ========== ( Monitors ) ==========
Section "Monitor"
Identifier "ViewSonic VP201b"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Sharp LL-191A-B L"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Sharp LL-191A-B R"
Option "DPMS"
EndSection
# ========== ( Keyboard and Mouse ) ==========
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Logitech Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
EndSection
# ========== ( Virtual Screens ) ==========
Section "Screen"
Identifier "Screen1"
Device "nVidia 6600 VGA"
Monitor "Sharp LL-191A-B L"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection
Section "Screen"
Identifier "Screen2"
Device "nVidia 6600 DVI"
Monitor "ViewSonic VP201b"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200"
EndSubsection
EndSection
Section "Screen"
Identifier "Screen3"
Device "nVidia MX4000"
Monitor "Sharp LL-191A-B R"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection
# ========== ( Server Layout ) ==========
Section "ServerLayout"
Identifier "Default Layout"
InputDevice "Generic Keyboard"
InputDevice "Logitech Mouse"
Option "Xinerama" "On"
Screen 0 "Screen2"
Screen 1 "Screen1" LeftOf "Screen2"
Screen 2 "Screen3" RightOf "Screen2"
EndSection
...and posted because I don't want to lose it again :)
Actually, this is an improvement on the last set-up - I now have full separation of the three screens, whereas two of them were a little confused and occasionally thought they were one BIG screen before.