This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: resolution smaller than application
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Mordechai_Pniel at contractor dot amat dot com
- Cc: cygwin-xfree at cygwin dot com
- Date: Tue, 25 Jan 2005 14:02:05 -0500 (EST)
- Subject: Re: resolution smaller than application
- References: <OFB8DABC61.3E281A19-ONC2256F94.005ED27A-C2256F94.005F9E25@amat.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
Yuk, top posting... Reformatted.
On Tue, 25 Jan 2005, Mordechai_Pniel wrote:
> > Igor Pechtchanski <pechtcha@XX.XXX.XXX>
> > 24/01/2005 18:26
> > Please respond to cygwin-xfree
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. This *is* possible even in
Lotus Notes (at least it is in R6). Also, please make sure your mailer
respects the Reply-To header.
> > On Mon, 24 Jan 2005, mpniel wrote:
> >
> > > My Windows Xp resolution is smaller than the real Xwindows application
> > > resolution that i am running.
> > > So i get only a section of the Xwindows screen application.
> > > Is it possible to
[inserted cases and notes below]
> > > a) get all the real Xwindows screen on my Windows XP?
[IP: with scrollbars]
> > > b) or at least to pan with the mouse in order to see the hidden
> > > parts of the big screen?
> > > c) or to scale the real Xwindows size to my WIndows Xp size?
Just to be clear: c) is not possible with pure Cygwin/X. I don't think
there is any code that does b) either. That leaves a), which is what I've
been implying you can achieve.
> > How are you invoking XWin? Do you use the startxwin.sh script? If so,
> > XWin is invoked in multi-window mode, which uses the Windows screen as the
> > X screen. Try invoking XWin directly, and giving it the -screen parameter
> > (see the man page for instructions on specifying the screen size), and
> > -scrollbars to allow resizing/scrolling.
>
> I run the file startxwin.bat. The coomand I run is the following:
BTW, what is the size of your X application? When you imply that it
doesn't fit on the XP screen, and then say that you set your X window size
to be the same as your XP screen, it's pretty confusing...
I'm going to assume for the rest of this message that your X application
is 1280x1024.
> run XWin :0 -screen 0 1024x768@1 -scrollbars -query %REMOTE_HOST% -nodecoration -lesspointer -clipboard
^^^^^^^^^^
I'm not sure this is the right syntax for the -screen parameter... Try
"-screen 0 1280 1024". Also, the -nodecoration may screw up the
scrollbars (but, IIRC, run hides the root window unless -nodecoration is
specified, so you'll have to switch to "start" or "cygstart").
> My current WindowsXp screen resolution is 1024x768 .
So, to summarize, try
cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard
and see if you get a big enough window for your X app with scrollbars.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT