[clug] krandr multiple monitor woes

Steve Walsh steve at nerdvana.org.au
Tue Jul 29 23:53:15 GMT 2008

Hi Doug

I was in a similar boat recently, and I ended up writing a xrandr 
wrapper with various options and case statements, then calling it via 
udev. So, when it found the docking station attached, it would call 
"xrandr dock", which would force the VGA to a particular resolution, and 
turn off the LVDS.

I did try to get the same script going on a SLES box that passed 
through, but hit version problems on the xrandr. I'm running xrandr 1.2, 
what version is on the SLES 11 laptop?

Doug Palmer wrote:
> I've been given a sparkly new Dell laptop with an intel 945GM video 
> chip capable of 1440x900. I've also been given a docking station and a 
> Dell 2208wfp monitor capable of 1680x1050. I've installed Suse 11.0 
> and am trying to get everything to play together.
> Without krandr, and with  things set in Sax to 1440x900, things seem 
> to default to 1280x1024. This is too big and too small for the laptop 
> screen and gives a wierd aspect ratio to the external screen. I've 
> tried various dual head configurations without any luck.
> krandr seems to ignore any settings and settle on 1024x768, which 
> appears to be what it thinks is acceptable on both screens.
> What I would like is to have things 1440x900 when I'm not docked and 
> turn off the laptop screen and use 1680x1050 when I dock. I can't see 
> how to do this. Any suggestions gratefully received.
> Doug

Steve Walsh
Vice President / SysAdmin Team member- Linux Australia
Networks and Technology - Linux.conf.au 2008
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

More information about the linux mailing list