This could be fixed by adding some lines to xorg.conf, but because we
are trying to move away from manually editing the xorg.conf file,
another way should be preferred. One way is to use xrandr (not quite the
same as lxrandr) to set the external monitor resolution upon gdm
startup.

In order to do this, edit the /etc/gdm/Init/Default file (a script run @
the start of gdm), and insert a line similar to the following:

xrandr --output VGA --auto

Where "VGA" is the output name of your external monitor (can be found by
looking at the output of "xrandr -q").

For lazy people, attached is a patch file that inserts the appropriate
line into the file. To apply it:

sudo patch -d /etc/gdm/Init/ < gdm_init_patch.diff

Mike


** Attachment added: "Sets the external monitor screen resolution with xrandr 
at gdm startup."
   http://launchpadlibrarian.net/19576910/gdm_init_patch.diff

-- 
[Intrepid] Regression: wrong GDM resolution when using external display on i945
https://bugs.launchpad.net/bugs/281486
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to