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 Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs