Everything is Broken

Ubuntu 8.04 Dual Head setup on Dell Vostro.

I keep hearing how Ubuntu has finally nailed the dual head hassles of the past, and now you can just plug in an external monitor and go. Alas I’ve never had that experience, either with this Dell Vostro 1400 or either of the two IBM Thinkpads I’ve run Ubuntu on.The IBMs were both 1024×768 resolution, as is my external monitor. The Dell is a less standard 1280×800 resolution. I also, on occasion plug it into my LCD TV, but that’s another story.

The internal “Screen Resolution” application seems to consistently get all the settings wrong, and has never managed to guess the correct resolutions for monitors. Sometimes it doesn’t detect them at all. Other times when I try to manually set the resolutions, it refuses as my instruction doesn’t match its guess. The real magic seems to depend on a combination of xrandr, xorg.conf, grandr and a lot of poking and fiddling. In this case it seems relatively straightforward.

The first thing you have to do is tell your xorg.conf the size of the virtual screen. This is the size of the maximum resolution of the screen when you’ve added both displays together. In my example, I have a laptop screen of 1280×800 on the left and an external screen of 1024×768 on the right. This makes the Virtual screen (1280+1024)x(800), so the virtual directive reads.

 SubSection "Display"
  Virtual         2304 800
 EndSubsection

In my case the SubSection wasn’t already within the Screen section of my xorg.conf, so I created it by adding the three lines above. Time to restart X by logging out and in again.

Now when you use the Screen Resolution app, it should actually work: you can place the two screens side by side, uncheck the Clone Screens box and set the correct resolution and refresh rate for the monitors. The settings for the Vostro laptop screen are 1280×800 @ 60Hz. Great. No need for tinkering with xrandr or grandr.

This entry was posted on Tuesday, November 11th, 2008 at 10:44 am and is filed under General IT, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« Ubuntu Touchpad toggle tweak
Ubuntu 8.04 to 8.10 upgrade. »

Leave a Reply

CAPTCHA Image CAPTCHA Audio
Refresh Image
  • Recent Posts

    • ClamAV reporting Outdated version
    • Adventures in unbricking a router
    • One Line Guitar Tuner
    • Captcha Madness
    • Ubuntu upgrade 9.04 to 9.10
  • Sing for your supper

  • Static

    • About
    • Privacy Policy
  • Tags

    apathy apple calendar chkconfig collanos cross-platform eee evolution firmware google grub hotspot id card lightning Linux Mandriva notebook partitioning pclinuxos pclinuxos 2008 Philippines power management re-install sane scanner scheduleworld script Security slow sysv-rc-conf thinkpad thunderbird trust ubuntu ultraportable usb virtualisation vmware vpn wifi wireless workspace sharing xsane yahoo zombie
  • Blogroll

    • Datalude
    • Digital Life
    • Engage the World
  • Archives

    • May 2010
    • April 2010
    • March 2010
    • November 2009
    • October 2009
    • June 2009
    • May 2009
    • April 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • April 2008
    • March 2008
    • February 2008

Everything is Broken runs on WordPress. Theme by Bob. All content Copyright © Datalude 2008+.