Sucess with dual monitors
Jean Hollis Weber
jean-ooo at taming-openoffice-org.com
Fri Jun 23 10:28:47 UTC 2006
phenix777 wrote:
> What I am trying to do is get a multiple monitor setup to work. It's a
> desktop computer with an ATI Radeon 9600 (dual head) graphics card.
> Both monitors work just fine in windows; but I can't figure out how to
> configure this in Ubuntu.
>
> Could anyone please tell me the changes I need to make to my xorg.conf
> file...
I just went through this a few days ago, with a lot of help from
this list, so I hope I can help you a bit. I will attach at the
end of this note my xorg.conf file, which may give you some clues.
Be sure to make a backup copy of your file before you start
editing it. Are you new to working on a Linux command line? I
was, so I needed a lot of instruction on what to do.
If you wish, I will also post a set of instructions for making
the changes, stopping and restarting x, and recovering if you
manage to crash x completely, as I did on several occasions.
Daniel Carrera (someone you will see on this list if you stay
around for awhile) wrote these instructions for me, and they have
saved my life and sanity several times!
The main things you need in your xorg.conf file that you do not
have are TWO "Device" sections, TWO "Monitor" sections, and TWO
"Screen" sections, one for each of the monitors you want to use.
Then the "ServerLayout" section needs to include both monitors.
See my xorg.conf file for an example.
You will also need to install xinerama.
Here is my xorg.conf file. I hope it helps.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
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
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics
Device"
Driver "i810"
BusID "PCI:0:2:0"
Screen 0
Option "MonitorLayout" "CRT,LFP"
EndSection
Section "Device"
Identifier "Device1"
Driver "i810"
BusID "PCI:0:2:0"
Screen 1
Option "MonitorLayout" "CRT,LFP"
# Option "CRT2Position" "LeftOf"
EndSection
Section "Monitor"
Identifier "Laptop Monitor"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "External Monitor Acer"
Option "DPMS"
# HorizSync 30-70
# VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Laptop Screen"
Device "Intel Corporation 82852/855GM Integrated Graphics Device"
Monitor "Laptop Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050"
EndSubSection
EndSection
Section "Screen"
Identifier "Secondary Screen"
Device "Device1"
Monitor "External Monitor Acer"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen "Laptop Screen"
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
#EndSection
Section "ServerLayout"
Identifier "Dual-monitor Layout"
Screen 0 "Laptop Screen" 0 0
Screen 1 "Secondary Screen" LeftOf "Laptop Screen"
# Option "Clone" "On"
Option "Xinerama" "On"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
More information about the ubuntu-users
mailing list