Here is the adapter code snipet for 12.04 to add to /etc/gdm/Init/Default at the end of the file (but before the exit 0, of course):
if xrandr -q | grep "VGA[0-9] connected"; then VGA=`xrandr -q | grep "VGA[0-9] connected" | cut -f1 -d" "` LVDS=`xrandr -q | grep "LVDS[0-9] connected" | cut -f1 -d" "` [ "$VGA" ] && [ "$LVDS" ] \ && xrandr --output $LVDS --off --output $VGA --auto fi -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/366270 Title: [i945] [Xubuntu] wrong screen resolution after upgrade to Jaunty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/366270/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp