attaching an external monitor to a laptop makes the image bad

Bug #892589 reported by Patrik Nilsson on 2011-11-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
metacity (Ubuntu)

Bug Description

If you attach an external monitor to a laptop while Ubuntu is running, always makes the image of the screen look bad on both the internal and the external monitor. I have two command attached to keyboard shortcuts which sometimes can make the computer usable again, if you switch back and forth between the internal and external monitor with:

xrandr --output LVDS1 --off --output VGA1 --auto #switch on the internal monitor, external off
xrandr --output LVDS1 --auto --output VGA1 --off #external on, internal off

The success seem to depend on what programs are running at the moment of running those commands. If you only have a terminal opened it goes fine, but with Libreoffice and Firefox you need to restart Ubuntu.

Attached are three screenshots which all show the screen looks like when the external monitor is attached.

Ubuntu 11.04

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment

I read the information on and took a package that could be involved in this issue. One thing to note: If you start Ubuntu with the external monitor everything goes really fine. This bug happens when you attach the monitor while Ubuntu is running.

affects: ubuntu → metacity (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers