[openbox] Resize or move a window to a specified value in pixel
Sylvain
debian.roxx at gmail.com
Thu Apr 3 09:40:20 EDT 2008
Re !
It's works for the windows move :
<keybind key="S-W-Right">
<action name="MoveResizeTo">
<width>current + 30</width>
</action>
</keybind>
<keybind key="S-W-Left">
....
But doesn't work as I want for the windows resize, i try on a terminal, it's
works but on a xcalc for example, the increment is too small (characters vs
pixels I suppose)
<keybind key="S-W-Right">
<action name="ResizeRelative">
<right>30</right>
</action>
</keybind>
I try with MoveResizeTo without success too :
<keybind key="S-W-Right">
<action name="MoveResizeTo">
<width>30</width> <!-- <width>current + 30</width> -->
</action>
</keybind>
So, what my mistake ?
Thanks
2008/4/3, Mikael Magnusson <mangosoft at comhem.se>:
>
> On Thu, 3 Apr 2008, Sylvain wrote:
>
> Hi !
> >
> > I'm new to Openbox and at first glance, it's a cool WM, nice work :-)
> > I have a problem : I try to move or resize a window with a specified
> > value
> > in pixel but apparently, it's not possible, can you confirm this ?
> >
> > Example of what I want :
> >
> > <keybind key="S-W-Right">
> > <action name="Resize" value="x+100" />
> > </keybind>
> >
> > <keybind key="S-W-Up">
> > <action name="Resize" value="y+100" />
> > </keybind>
> >
>
> http://icculus.org/openbox/index.php/Help:Actions#ResizeRelative
>
> --
> Mikael Magnusson
>
> ---
> To unsubscribe, send a blank email to openbox-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?24
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20080403/75ece9ba/attachment.htm>
More information about the openbox
mailing list