I use the following script: #! /bin/sh
output=LVDS if [ -f /tmp/screen ] then output=`cat /tmp/screen` fi if [ $output = "VGA" ] then xrandr --output LVDS --auto xrandr --output VGA --off echo "LVDS" > /tmp/screen else xrandr --output VGA --auto xrandr --output LVDS --off echo "VGA" > /tmp/screen fi On Sun, Jan 10, 2010 at 8:10 PM, Alexander Surma <alexander.su...@googlemail.com> wrote: > Yes, can confirm both. I'll do some research on the details. > > Surma > > PS: I do too, and I still regret very much my lack of presence later > that night - so to speak ;) > > On Sun, Jan 10, 2010 at 6:37 PM, Moritz Wilhelmy <c...@wzff.de> wrote: >> Hi, >> >> I can at least confirm that xrandr -s does not work with dwm 5.2 >> didn't try --output >> >> Moritz >> >> On Sun, Jan 10, 2010 at 05:04:48PM +0000, Anselm R Garbe wrote: >>> Hi, >>> >>> this seems to be an issue in certain Xinerama implementations, I >>> identified the following a while ago: >>> >>> xrandr -s reproduces the issue you notice, whereas >>> >>> xrandr --output XY --mode wxh >>> >>> etc does work. Can you confirm? >>> >>> Cheers, >>> Anselm >>> >>> PS: Still remember our Skat session ;) >>> >>> 2010/1/10 Alexander Surma <alexander.su...@googlemail.com>: >>> > Hi, >>> > Just wanted to file a bug report, that dwm doesn't handle a change of >>> > the screen resolution very well. >>> > When I change to a low resolution (640x480), everything seems fine, >>> > but if I change back (1280x1024) I have parts of my background in the >>> > statusbar. >>> > >>> > Not urgent, but wanted to let you know. >>> > >>> > Surma >>> > >>> > >>> >>> >> >> > >