Ubuntu Dual Monitor Setup

Since it took me several hours to get the Dell D620 Laptop working with both the laptop screen and a 17 inch flat panel working through the docking station at the same time, I am posting the relevant sections of my /etc/X11/xorg.conf file in case somebody else might need it. This was used on Ubuntu 7.04 (Feisty Fawn) with the flat panel monitor to the right of the laptop. This uses the Xinerama method and works for normal display, however, advanced 3D graphics like the Bertyl Window Manager no longer works and I would like to get it working with a better resolution on the flat panel.

Section “Device”
Identifier “0 Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller”
Driver “i810”
BusID “PCI:0:2:0”
Screen 0
Option “MonitorLayout” “CRT,LFP”
Option “DevicePresence” “yes”
EndSection

Section “Device”
Identifier “1 Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller”
Driver “i810”
BusID “PCI:0:2:0”
Screen 1
Option “MonitorLayout” “CRT,LFP”
Option “DevicePresence” “yes”
EndSection

Section “Monitor”
Identifier “Laptop Monitor”
Option “DPMS”
HorizSync 28-72
# HorizSync 31-80
VertRefresh 43-60
# VertRefresh 56-75
EndSection

Section “Monitor”
Identifier “External Monitor”
ModelName “Dell 173FPb”
Option “DPMS”
HorizSync 31-80
VertRefresh 56-75
Modeline “800×600” 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
Modeline “640×480” 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
Modeline “640×480” 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
Modeline “720×400” 28.32 720 738 846 900 400 412 414 449 -hsync +vsync
Modeline “1280×1024” 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
Modeline “1024×768” 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
Modeline “1024×768” 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
Modeline “800×600” 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
Modeline “1152×864” 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync
Modeline “1280×1024” 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Modeline “1280×1024” 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section “Screen”
Identifier “Laptop Screen”
Device “0 Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller”
Monitor “Laptop Monitor”
DefaultDepth 16
SubSection “Display”
Depth 1
Modes “1440×900”
EndSubSection
SubSection “Display”
Depth 4
Modes “1440×900”
EndSubSection
SubSection “Display”
Depth 8
Modes “1440×900”
EndSubSection
SubSection “Display”
Depth 15
Modes “1440×900”
EndSubSection
SubSection “Display”
Depth 16
Modes “1440×900”
EndSubSection
SubSection “Display”
Depth 24
Modes “1440×900”
EndSubSection
EndSection

Section “Screen”
Identifier “External Screen”
Device “1 Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller”
Monitor “External Monitor”
DefaultDepth 16
SubSection “Display”
Depth 1
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
SubSection “Display”
Depth 4
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
SubSection “Display”
Depth 8
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
SubSection “Display”
Depth 15
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
SubSection “Display”
Depth 16
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
SubSection “Display”
Depth 24
Modes “1280×1024” “1152×864” “1024×768”
EndSubSection
EndSection

Section “ServerLayout”
Identifier “Dual-Monitor Layout”
Screen 0 “Laptop Screen” 0 0
Screen 1 “External Screen” RightOf “Laptop Screen”
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”
InputDevice “stylus” “SendCoreEvents”
InputDevice “cursor” “SendCoreEvents”
InputDevice “eraser” “SendCoreEvents”
InputDevice “Synaptics Touchpad”
Option “Xinerama” “true”
EndSection

Section “DRI”
Mode 0666
EndSection

So here’s what my setup looks like:

dual_monitor_linux.jpg

Leave a comment

Your email address will not be published. Required fields are marked *