Re: Question About Geometry Settings and Dual Displays

Peter Åstrand <[email protected]> Mon, 29 Aug 2011 08:51:25 +0200 (CEST)
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
On Thu, 25 Aug 2011, [email protected] wrote:

> Hi,
>
> I am testing rdesktop 1.7 on Mac OS 10.6 Snow Leopard, it compiled and
> runs just fine but I have a question regarding geometry settings and dual
> displays.
>
> We have many laptop users that sometimes use their machines with and
> sometimes without an external monitor. I found that if I send the command
> "-g 90%" for instance I can get rdesktop to take up 90% of the available
> screen. This works great until I initiate it on a dual display system, then
> it seems to treat both monitors as a single monitor and spreads the window
> across both screens. Is there any way to specify that I want rdesktop to
> use just 90% of the primary display when running on a dual display system?

No, not yet. When using a percent figure, rdesktop calculates the size 
from HeightOfScreen() and WidthOfScreen(). These returns the combined size 
on Xinerama systems, and apparently OS X as well. To get the individual 
screen sizes, rdesktop would need to use the Xinerama or Randr library 
calls. Some people might prefer the current behaviour though; a new
command line syntax may be necessary.

Rgds, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev

_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users