You are right, screen resolution is a gnome preferences tool and I guess that Kubuntu hasn't a similar tool atm.
Your script could be much more easier. If your monitor sends correct data it should work fine. Theoretically only LVDS needs to be activated. If you want hotplugging (adding monitor after X start) you should add the line Virtual 1680 1680 to your xorg.conf Display section. if xrandr -q | grep "VGA connected" then xrandr --output LVDS --off fi -- laptop screen remains on with external monitor and lid closed https://bugs.launchpad.net/bugs/145501 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