Comment 4 for bug 461211

Revision history for this message
mback (mback) wrote :

I found an xrandr invocation (yes, as in magick) cocktail that seems to work & not bollix up the screen. Man this thing is finicky!

$ cat /usr/local/bin/dual-monitor
#! /bin/sh

# fglrx-based script to do multi-monitor on my T400 box
xrandr --output LVDS --off --fb 3200x1200 && \
xrandr --output DFP1 --auto --output CRT1 --auto --right-of DFP1

$ cat /usr/local/bin/laptop
#! /bin/sh

# fglrx-based script to switch monitors back to laptop
xrandr --output CRT1 --off
xrandr --output LVDS --auto --output DFP1 --off

$

The above "works" but... the ideal would be for us not to have to worry about splitting the statements. THe ideal would be for us to have it so that a single invocation of xrandr would work (and that the order of statements wouldn't matter).