On Mon, Aug 11, 2008 at 15:28:44 -0300, Andreas Tille wrote: > I always like requests which say: Please do this and that but there is no hint > hwo to do so. I just prepared the following script which was tested on my > Laptop: > > #!/bin/sh > if [ "$1" = "off" ] ; then > xrandr --output LVDS --mode 1280x800 --auto > xrandr --output VGA --off > else > xrandr --output LVDS --mode 1024x768 --auto > xrandr --output VGA --mode 1024x768 --auto > fi > The above should work on any laptop with an intel chipset, provided you remove the '--mode 1280x800' in the first invocation to let xrandr choose the preferred (native) mode. The radeon and radeonhd drivers use different names for the outputs, IIRC, so would need minor changes to the script.
Cheers, Julien _______________________________________________ Debconf-discuss mailing list [email protected] http://lists.debconf.org/mailman/listinfo/debconf-discuss
