Yes, this is the right incantation. I've brushed it up a little: $ cat ~/bin/dock #! /bin/sh -e xrandr --output LVDS --off --fb 3200x1200 && \ xrandr --output DFP1 --auto --output CRT1 --auto --right-of DFP1
$ cat ~/bin/laptop #! /bin/sh xrandr --output CRT1 --off 2> /dev/null xrandr --output LVDS --auto --output DFP1 --off 2> /dev/null || xrandr --auto $ -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/461211 Title: Tiny screen with xrandr monitor switch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/461211/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

