Welcome to the KGLUG - Die Kölner Gentoo Linux User Group
This configurations should serve as examples
and should not be used directly.
Them may damage your system.
1. Example: 2 graphic cards - 4 monitors - 4 screens
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "ScreenMonitor1" 0 0
Screen 1 "ScreenMonitor2" RightOf "ScreenMonitor1"
Screen 2 "ScreenMonitor3" RightOf "ScreenMonitor2"
Screen 3 "ScreenMonitor4" RightOf "ScreenMonitor3"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "MonitorMonitor1"
HorizSync 24.8 - 61.0 #analog
VertRefresh 55.0 - 75.0 #analog
#HorizSync 31.0 - 49.0 #digital
#VertRefresh 59.0 - 61.0 #digital
Option "DPMS"
EndSection
Section "Monitor"
Identifier "MonitorMonitor2"
HorizSync 30.0 - 81.0
#VertRefresh 60.0
VertRefresh 56.0 - 75.0
Option "DPMS"
Modeline "1600x1200_60.00" 160.96 1600 1704 1880 2160 1200 1201 1204 1242
EndSection
Section "Monitor"
Identifier "MonitorMonitor3"
HorizSync 31.0 - 64.0
VertRefresh 59.0 - 61.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "MonitorMonitor4"
HorizSync 31.0 - 64.0
VertRefresh 59.0 - 61.0
Option "DPMS"
EndSection
Section "Device"
Identifier "VideocardMonitor1"
Driver "nvidia"
BusID "PCI:2:0:0"
Screen 1
EndSection
Section "Device"
Identifier "VideocardMonitor2"
Driver "nvidia"
BusID "PCI:7:0:0"
Screen 0
EndSection
Section "Device"
Identifier "VideocardMonitor3"
Driver "nvidia"
BusID "PCI:2:0:0"
Screen 0
EndSection
Section "Device"
Identifier "VideocardMonitor4"
Driver "nvidia"
BusID "PCI:7:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "ScreenMonitor1"
Device "VideocardMonitor1"
Monitor "MonitorMonitor1"
DefaultDepth 24
Option "metamodes" "CRT: 1024x768 +0+0"
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenMonitor2"
Device "VideocardMonitor2"
Monitor "MonitorMonitor2"
DefaultDepth 24
Option "metamodes" "CRT: 1600x1200 +0+0"
SubSection "Display"
Depth 24
#Modes "1600x1200"
Modes "1600x1200_60.00"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenMonitor3"
Device "VideocardMonitor3"
Monitor "MonitorMonitor3"
DefaultDepth 24
Option "metamodes" "DFP: 1280x1024 +0+0"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenMonitor4"
Device "VideocardMonitor4"
Monitor "MonitorMonitor4"
DefaultDepth 24
Option "metamodes" "DFP: 1280x1024 +0+0"
#Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
2. Example: 2 graphic cards - 4 monitors - 3 screens
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen2"
Screen 2 "Screen2" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/lib64/X11/fonts/local/"
FontPath "/usr/lib64/X11/fonts/misc/:unscaled"
FontPath "/usr/lib64/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/misc/"
FontPath "/usr/lib64/X11/fonts/Type1/"
FontPath "/usr/lib64/X11/fonts/CID/"
FontPath "/usr/lib64/X11/fonts/Speedo/"
FontPath "/usr/lib64/X11/fonts/100dpi/"
FontPath "/usr/lib64/X11/fonts/75dpi/"
FontPath "/usr/lib64/X11/fonts/cyrillic/"
FontPath "/usr/lib64/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "EIZO S1901"
HorizSync 31.0 - 64.0
VertRefresh 59.0 - 61.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "EIZO L367"
HorizSync 24.0 - 61.0
VertRefresh 55.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: unknown, VertRefresh source: unknown
Identifier "Monitor2"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 0.0 - 0.0
VertRefresh 0.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:3:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: 1280x1024 +1280+0, DFP-1: 1280x1024 +0+0;
DFP-0: 800x600 +800+0, DFP-1: 800x600 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: 1024x768 +0+0; CRT: 800x600 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Device2"
Monitor "Monitor2"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: 1920x1200 +0+0"
# Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection