[openbox] Using screen size in key bindings
Kai Großjohann
kai at emptydomain.de
Wed Mar 11 18:40:39 EDT 2009
I want the same thing, but some people cope by replacing openbox with a
script that first computes an rc.xml and then starts openbox.
Kai
On Wed, 11 Mar 2009 07:09:02 -0400
"openbox at jelmail.com" <openbox at jelmail.com> wrote:
> Hello,
> I've just signed up to Openbox and like it so far. I have written
> some key bindings to relocate windows in a similar fashion to the
> windows programs "SplitView" and "Winsplit Revolution".
>
> For example I press W+Home and the active window is moved and resized
> so it occupies the top left quadrant of the screen.
>
> I have done this by hard coding the window size based on the
> dimensions of my screen. I have a 1920x1200 display so my key binding
> resizes the window to a width of 960 and a height of 600.
>
> Now, what I would like to do is somehow tell openbox to use
> screenwidth/2 and screenheight/2 so moving to a different screen or
> resolution would not require the keybindings to be changed.
>
> I can't see anything in the documentation to indicate that this is
> supported. If it is then great, but if not would it be the kind of
> thing that might be considered as an enhancement request ?
>
> Thanks,
> John
>
>
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on
> Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
>
> ---
> To unsubscribe, send a blank email to openbox-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?24
>
>
--
The Epoch Times Deutschland
Kai Großjohann (Leitung Informationstechnik)
www.epochtimes.de
kai.grossjohann at epochtimes.de
Epochtimes Europe GmbH
Geschäftsführer: Zhongnan Jiang, Man-Yan Ng, Amtsgericht Hamburg, HRB
80404, USt.-Idnr. DE 217 913 863 Sitz: Bundesstraße 20, D-20146 Hamburg
Hauptverwaltung
Schmitthennerstr. 61
69124 Heidelberg
Tel. : +49-(0)6221-868988-0
Fax : +49-(0)6221-868988-1
More information about the openbox
mailing list