So, what you really want is to be able to say ``start screen 0 on physical monitor x'', right? That way the rootless X would pop up on the desired monitor. Additionally, you want to make sure that the sreen size is not reduced by the size of the taskbar, which is not present on the pysical monitor that X will be displayed on? I think I can work something like that.
I am actually in a slightly better position to help you now too. I don't have two monitors (I gave the old one away, to get it out of my sight), but I do have two video cards and a dual-input monitor that I can easily switch between inputs on. Thus, I can setup a rudimentary dual-display system that I can at least use to test if dual displays are handled correctly.
I may give this a try, but this is going to be a rough week with programming projects for my classes, so it may have to wait a little while.
Harold
Jean-Claude Gervais wrote:
Thomas - Yes, I've tried invoking XWin from the second display, but no dice.
Harold - Yup, of course; all good things take time. I'm currently learning
more and more about X anyway, so I might even be able to help out at some
point; It seems that to be able to contribute to a project like Cygwin, you
have to know Win32 and *nix equally well.
Here's the work-around that I've found; brace yourselves -
I grab the taskbar and drag it onto the second display (the reason for this
will become clearer in a moment)
Using the "-engine 1", I start XWin in rootless mode (Yay! Rootless mode
rocks!)
I drag the taskbar back to the primary display, now that XWin has calculated
the window-size excluding the task-bar.
I right-click on XWin's taskbar icon and select MOVE, then I use the
arrow-keys to move XWin's display across to the other screen, and press
enter once it's properly positioned.
Alternatively, I could just LEAVE the taskbar on the second display, but
then I have a problem remote-controlling the box with another Microsoft gem,
Netmeeting.
Thanks for your reading.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner@;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, November 04, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2
Jean-Claude,
No, there is not way for Cygwin/XFree86 to use the entire area of the
dual-display; that is pretty much a limitation of DirectDraw, if I
recall correctly (I seem to remember that a surface can only span a
single physical monitor). You could probably pass the ``-engine 1''
argument to use the GDI-based blitter, but that would still be limited
to a single physical display because Cygwin/XFree86 trims the specified
size to fit on the primary monitor. We would need some sort of new
command-line argument to indicate that the specified size is not to be
trimmed in anyway, or we could have a flag that says to use the entire
virtual desktop size. I prefer the later.
In any case, some coding will need to happen before your request can be
realized.
Harold
Jean-Claude Gervais wrote:
Great news Thomas,me?
Um, since you know so much about dual-displays, maybe you could help
I'm running Cygwin XFree on a machine inside which I have installedtwo
video cards; this in effect creates a really large Windows desktop.display
I'm just wondering if you know of any way to get the Cygwin XFree
to either use the full desktop surface, or failing that, is there a way to[mailto:cygwin-xfree-owner@;cygwin.com]On
get Cygwin XFree to start up on the right-hand side of the display, because
it never seems to want to start on the second display...
Thanks in advance.
-----Original Message-----
From: [EMAIL PROTECTED]
Behalf Of Thomas ChadwickX
Sent: Monday, November 04, 2002 9:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2
ANNOUCEMENT
An update to the Cygwin/XFree86 package 'x2x' is now available.
DESCRIPTION
The usefulness of this utility will become apparent to anyone with a PC
side-by-side with an *ix workstation. Simply bring up an XWindows session
on each machine, run x2x on the PC, and use your PC's mouse and keyboard to
control your *ix workstation's display. Works better and is cheaper than a
KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed
session.Save
RELEASE HISTORY
x2x-1.27-2 (current release):
Bugfix and enhancement release. Changes are:
1) Fixed problem in which x2x consumes nearly 100% of the CPU.
This was due to a problem in setting up a call to select(),
which was causing it to be non-blocking.
2) Added some includes and cleaned-up some code to cut down
on compiler warnings.
3) Added a whole new feature! Invoking x2d with a command-line
flag of "-capslockhack"causes it to wrap Shift key Press/
Release events around alpha keystrokes. I discovered I
needed this feature because the "to" display I have uses the
state of CapsLock on its attached keyboard to determine if
CapsLock is on (instead of obeying the CapsLock Press/Release
keyboard events).
x2x-1.27-1:
Initial Release. Vendor code built and package as-is.
KNOWN BUGS
Doesn't "work" very well with the new rootless mode of XWin.
I plan to fix this in a future release.
INSTALLATION INSTRUCTIONS
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page. This downloads setup.exe to your system.
it and run setup, answer the questions and pick up 'x2x' from the 'XFree86'
category. You may need to click the "Full" button if it doesn't show up.
Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed
due to bandwidth limitations. This means that you will need to find a
mirror which has this update.
In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth
connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.
If one of the above doesn't have the latest version of this package you can
either wait for the site to be updated or find another mirror.
Please send questions or comments to the Cygwin/XFree86 mailing list
(mailto:cygwin-xfree@;sources.redhat.com). If you want to subscribe go to
http://cygwin.com/lists.html. I would appreciate it if you would use the
mailing list rather than emailing me directly. This includes ideas and
comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question, the Cygwin/XFree86 mailing
list is the appropriate place.
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963