Twitter Updates

Thursday, July 10, 2008

X61, Ubuntu 8.04 and Dual Monitors finally work for me

Ubuntu logoImage via WikipediaFinally got dual monitor to work! I could now run Ubuntu on the external monitor, and a Windows VM on the notebook's LCD panel. I now have a virtual desktop that is sized 2048x768. I am now a happy user of Ubuntu. So far, no major complaint.

Here is my /etc/X11/xorg.conf
-----------------------------------------------------
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes "1024x768" "1024x768"
Virtual 2048 768
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection

---------------------------------------------

After modification, I press CTRL-ALT-BACKSPACE to restart X.

I than run the following command line to resize the virtual desktop

xrandr --output LVDS --mode 1024x768 --output VGA --mode 1024x768 --left-of LVDS


Reference: Simple dual monitor setup with XrandR in Ubuntu (Linux)


Zemanta Pixie

2 comments:

Aseem Sood said...

This is good news.

I currently run Ubuntu on T41p and am unable to use Dual Monitors.

I will try this soon on my new X61 which will be delivered on Sep 10th.

Aseem Sood said...

followed the steps and got mine dual head to work too...

One question: I wanted this functionality for making presentations to clients. Currently, the launch panel is shifted to the VGA monitor and does not stay on the laptop. Is it possible to force the launch panel to stay on laptop