I'm still trying to figure this out!

Two screens -> one screen is easy.  When I undock, I just run:
$ xrandr -s 1920x1200
to set the resolution to that of my laptop LCD.  All good.

When I dock however, I have to run this sequence of commands:
$ ./nv-control-dpy --probe-dpys
$ ./nv-control-dpy --set-associated-dpys 0x50000
$ ./nv-control-dpy --add-metamode "DFP-2: nvidia-auto-select @1920x1200 +0+0, 
DFP-0: nvidia-auto-select @1920x1200 +1920+0"
$ xrandr -s 0 -r 118

The output of probe-dpys gives me the mask to use, and the output of
add-metamode gives me "118" which I pass on to xrandr.

This lays out the monitors in the right order, but now the external LCD
is black except for the cursor!  There's stuff on it (I can drag windows
to and from it, click on icons)...

Any more ideas?  Please?!
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

"He expanded his chest to make it totally clear that here 
was the sort of man you only dared to cross if you had a 
team of Sherpas with you. "


Reply via email to