|
|
Posted Aug 14, 2008 at 7:58:30 PM
Subject: Dual Monitors (Intel Q35) Dell Optiplex 755 Ubuntu 8.04
I'm posting this here, so that it can save you several days of head-banging against linux. It was specifically done with Ubuntu, but it probably applies to any Debian variant running *gdm* and *gnome*.
[b][u]
[size=18]HOWTO: Get Dual Monitors ("Dual Head") to work on a Dell Optiplex 755 running Ubuntu 8.04 with Intel Q35 Chipset[/size][/u][/b]
First, the bad news: you will have to hack your */etc/X11/xorg.conf* file.
Now, the good news: there's something called *xrandr* that does most of the work for you. This post walks you through it: [url]http://www.thinkwiki.org/wiki/Xorg_RandR_1.2[/url]
The only thing that didn't work for me was getting it to run automatically. I have to run a shell script when I first log in. All it does is run the *xrandr* command with my config. My command is:
[code=xml]xrandr --output TMDS-1 --mode 1280x1024 --output VGA --mode 1024x768 --right-of TMDS-1[/code]
My advice, from hours of misadventure: Ignore *displayconfig-gtk* that comes with Ubuntu. It's no help. (Besides, it's deprecated, I believe.) Also, don't bother with the *gnome-display-settings* applet you get under *System > Preferences > Screen Resolution*. It will just confuse X.
If you try to use a Virtual screen size greater than 2048x2048, you will have to turn off *compiz*. If you don't, then your screen will turn white and probably not recover before your patience runs out and you manually shutdown the XServer. (This post says you can hack it to make it work, but it didn't for me: [url]http://ubuntuforums.org/archive/index.php/t-660712.html[/url]) Goto *System > Preferences > Appearances > Visual Effects* and select "None".
Now, just to be nice, here's my */etc/X11/xorg.conf*. If you're not running the exact same hardware as me, it might not work.
[code=xml]
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "dvorak"
Option "CoreKeyboard"
EndSection
#
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
#
Section "Device"
Identifier "Configured Video Device"
Driver "intel"
EndSection
#
Section "Monitor"
Identifier "Configured Monitor"
EndSection
#
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
Virtual 2304 1024
EndSubSection
EndSection
#
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
[/code]
|