Section "Module"
Load "dbe"
Load "record"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "ddc"
Load "v4l"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7000"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "microsoft"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
EndSection
Section "Monitor"
Identifier "Projector"
HorizSync 30-90
VertRefresh 50-120
Modeline "1024x576_g" 58.88 1024 1056 1160 1328 576 635 638 739 +hsync +vsync
# Option "DPMS"
EndSection
Section "Monitor"
Identifier "My_Monitor"
# HorizSync 28-49
# VertRefresh 42-72
HorizSync 30-90
VertRefresh 50-120
Modeline "1024x576_g" 58.88 1024 1056 1160 1328 576 635 638 739 +hsync +vsync
EndSection
#####################################################
#
# Separate Displays, My_Monitor as Screen 0
#
#####################################################
Section "Device"
Identifier "DualMy_MonitorMain-My_Monitor"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
Option "ConnecrtedMonitor" "crt"
Option "IgnoreDisplayDevices" "dfp"
Screen 1
EndSection
Section "Device"
Identifier "DualMy_MonitorMain-Projector"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
Option "ConnecrtedMonitor" "crt"
Option "IgnoreDisplayDevices" "dfp"
Screen 0
EndSection
Section "Screen"
Identifier "DualMy_MonitorMain-My_Monitor"
Device "DualMy_MonitorMain-My_Monitor"
Monitor "My_Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "Screen"
Identifier "DualMy_MonitorMain-Projector"
Device "DualMy_MonitorMain-Projector"
Monitor "Projector"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "DualMy_MonitorMain"
Screen 0 "DualMy_MonitorMain-Projector"
Screen 1 "DualMy_MonitorMain-My_Monitor" RightOf "DualMy_MonitorMain-Projector"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section" ServerFlags"
Option "black time" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"
EndSection
#####################################################
#
# Separate Displays, Projector as Screen 0
#
#####################################################
Section "Device"
Identifier "DualMonitorMain-Projector"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
Screen 0
EndSection
Section "Device"
Identifier "DualMonitorMain-My_Monitor"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
Screen 1
EndSection
Section "Screen"
Identifier "DualMonitorMain-Projector"
Device "DualMonitorMain-Projector"
Monitor "Projector"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "Screen"
Identifier "DualMonitorMain-My_Monitor"
Device "DualMonitorMain-My_Monitor"
Monitor "My_Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "DualMonitorMain"
Screen 0 "DualMonitorMain-Projector"
Screen 1 "DualMonitorMain-My_Monitor" LeftOf "DualMonitorMain-Projector"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#####################################################
#
# Projector Only
#
#####################################################
Section "Device"
Identifier "Projector"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
EndSection
Section "Screen"
Identifier "Projector"
Device "Projector"
Monitor "Projector"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Projector"
Screen "Projector"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#####################################################
#
# My_Monitor Only
#
#####################################################
Section "Device"
Identifier "My_Monitor"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NODDC" "1"
EndSection
Section "Screen"
Identifier "My_Monitor"
Device "My_Monitor"
Monitor "My_Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x576_g"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "My_Monitor"
Screen "My_Monitor"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection