Articles

Dual monitor in Ubuntu 8.04 for Intel Graphics

In howto on Feb 27, 2010 by theoryl Tagged: , , , , ,

It really couldn’t be simpler to plug in a second monitor to your laptop and increase your screen real estate in Ubuntu 8.04. The instructions that follow is for integrated graphic card (in my case, it’s Intel 810 graphics driver for laptop). First, use xrandr in terminal to see how many displays are connected/detected by Ubuntu (usually LVDS refers to your laptop screen, and VGA is your external monitor). Once all your displays are connected, enable dual monitor support by doing:

xrandr --output LVDS --mode 1024x768 --pos 0x0 --output VGA --mode 1280x1024 --pos 1024x0

The arguments mode and pos after output LVDS (or VGA) define the screen resolution and which part is displayed in that screen, respectively. For instance, when you used the above command, the graphics controller created a virtual screen that is 2560×1024 large. The block of 1024×768 starting from the top-left corner (0x0) will be displayed in LVDS, while the block of 1280×1024, starting from 1024×0 will be displayed in VGA. There is a missing block of 1024x(1024-768) starting from 0x768 that is not displayed at all, but I can live with that.

The first time you use the above command, you might get an error complaining “xrandr: screen cannot be larger than 1024×800 (desired size 2560×1024)”. In that case, you need to edit /etc/X11/xorg.conf (remember to create a backup). Insert these lines in between Section "Screen" and its corresponding EndSection

SubSection "Display"
Virtual 2560 1024
EndSubSection

The two numbers assign the (maximum) size of your virtual screen.

Notice that Ubuntu will put the menu bar on the larger screen. But you can easily drag the menu bar to anywhere you want.

When you removed the external display and want your display to return to normal laptop screen, just do:

xrandr --auto

It’s that easy!

More information: http://intellinuxgraphics.org/dualhead.html

Advertisements

2 Responses to “Dual monitor in Ubuntu 8.04 for Intel Graphics”

  1. You wouldnt believe how long ive been searching for something like this. Went through 10 pages of Yahoo results without finding anything. One search on Bing. There you are!…. Really gotta start using that more often

  2. I’m glad I helped =) You should also try searching http://ubuntuforums.org — I learned a lot of tips & tricks about Ubuntu there

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: