Igor Pechtchanski wrote:
On Thu, 3 Nov 2005, Roger Levy wrote:


Hi,

I use Cygwin/X on my laptop all the time, and I often switch back and forth
between my XGA laptop display and an SXGA external monitor.  (I use
startxwin.bat to start the X server.)  What I find is that when I start xwin
while my laptop display is active, and then switch to the external monitor,
nothing displaying through X is visible on the bottom and right-hand sides of
the display.  I assume that this is because startxwin.bat detected my monitor
resolution as XGA and so configured its resolution as 1024x768, and doesn't
automatically resize when I switch displays.  I can fix this by closing the X
server and then restarting it, but then I have to close all my X clients too.

Is there a way to either (a) automatically start X with SXGA resolution, or
(b) manually resize X after I switch monitors, without restarting it?


(a) is possible -- you can pass screen size parameters to X.  For (b), see
if -multiplemonitors does the right thing; if not, you're out of luck.
        Igor

Many thanks, I got (a) to work. For reference, here is the command in my startxwin.bat that did the trick:

 run XWin -multiwindow -screen 0 1280x1024x32 -clipboard -silent-dup-error

Roger


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to