Hi Andre,

On Tue, Jan 22, 2013 at 6:18 PM, Andre Klärner <[email protected]> wrote:
> does anyone have an idea how to determine the maximum available window
> size? I want to use that in a connect script that starts rdesktop sessions,
> but rdesktop will either use a default screen size or can run fullscreen
> (both not cool for tiling wm users).
>
> So I looked into the rdesktop manpage which mentions the special geometry
> ("-g workarea") that claims to:
>
> "the geometry will be fetched from the  extended window manager hints
> property _NET_WORKAREA, from the root window."
>
> Anyway that won't work under awesome, so I thought about running rdesktop
> via a wrapper that determines the correct maximum window size. (I use max
> layout for rdp-sessions, so the screen-size minus the 1px borders and the
> wibox on the top edge).
>
> Did somebody already do this or has an idea how to fix the workarea
> geometry?

You can use awesome-client to get the workarea from awesome.
See
http://awesome.naquadah.org/doc/api/modules/screen.html#screen


HTH,
Vitor

--
To unsubscribe, send mail to [email protected].

Reply via email to