Finding out how many displays attached to computer (Sophie?
Ffenestri?)
Joshua Gargus
schwa at fastmail.us
Sun Feb 4 00:09:27 UTC 2007
Thanks David,
In addition to the behavior you describe (aside: I wonder how it
works when the displays are different sizes?), RealVNC on Windows
also has the option to specify which of the displays to share.
Ideally, I want to hide this completely from the user (they shouldn't
even have to start the VNC server themselves); if I could find out
that there are 2 displays, and Squeak is on display #2, then I would
invoke RealVNC to share only display #1.
Josh
On Feb 2, 2007, at 6:43 PM, David Faught wrote:
> Joshua Gargus wrote:
>> I want to use OSProcess to launch a VNC server. If multiple monitors
>> are attached to the computer, I want the VNC server to display the
>> monitor that Squeak is not on (I'll need to generate the appropriate
>> command-line argument from within Squeak). Has anyone (Sophie?
>> Ffenestri?) done any work to make Squeak aware of how many displays
>> are available, and which one Squeak is running on?
>>
>> The desired platforms are (in order of decreasing importance)
>> Windows, OS X, and Linux.
>
> I have used VNC server on a Windows machine with 2 displays with the
> desktop extended across both displays. When the VNC client attaches
> to this server, it gets a full desktop-size display, covering both
> displays from the server, within a scrollable window. I don't know if
> there is a way to change this behavior to do exactly what you want.
More information about the Squeak-dev
mailing list
|