# Example of modern configuration snatched from
# http://wiki.debian.org/XStrikeForce/HowToRandR12
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
# external DVI with DisplaySize and preferred mode overriden
Section "Monitor"
Identifier "External DVI"
DisplaySize 304 228
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection
# internal laptop panel to place on the right of DVI-0
Section "Monitor"
Identifier "Integrated LCD"
Option "RightOf" "External DVI"
EndSection
# disable VGA by default
Section "Monitor"
Identifier "VGA-0"
Option "Ignore" "true"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
Driver "ati"
BusID "PCI:1:0:0"
Option "AccelMethod" "EXA"
Option "Monitor-DVI-0" "External DVI"
Option "Monitor-LVDS" "Integrated LCD"
# no need to specific Monitor-VGA-0, it uses the "VGA-0" identifier automatically
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
DefaultDepth 24
SubSection "Display"
Depth 24
# big virtual screen to place
Virtual 3072 1200
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection