Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a notebook display and vga connected display to expand my desktopview.

Virtual desktops on linux are very well and easy to switch, but I need at least two displays.

I already tested randr but there are some problems when I take my notebook elswere.

The settings are not stored and I need to set up every time new. Am I doing something wrong?

This is little bit easier in windows.

Is there some application for ubuntu too?

share|improve this question
Did you use the Monitors configuration dialog from System -> Preferences to set this with xrandr? As far as I know it should remember previous settings, if not I suggest you file a bug report. – JanC Nov 12 '10 at 5:27
up vote 1 down vote accepted

These settings are stored in your xorg.conf file. I'm guessing you have an intel chip (you say netbook). Look here for some good information on making that permanent (it's easier with ati/nvidia, since it's mostly driver specific.

share|improve this answer
Hi thanks for your answer. I Added this line in /etc/gdm/init/default xrandr --output LVDS-1 --auto --output VGA-1 --auto --left-of LVDS-1 before this line /sbin/initctl -q emit login-session-start DISPLAY_MANAGER=gdm Now it starts every time I login. I also added some application starters to gnome pannel For off the second monitor xrandr --output VGA-1 --off and to start it xrandr --output LVDS-1 --auto --output VGA-1 --auto --left-of LVDS-1 – vrcmr Nov 13 '10 at 18:35
For info: this works only with non proprietary drivers on my lenovo 3000 N200 nvidia. but it works great. – vrcmr Nov 13 '10 at 20:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.