[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] Resize or move a window to a specified value in pixel
From: debian.roxx () gmail ! com (Sylvain)
Date: 2008-04-07 7:13:56
Message-ID: 6b63c8070804070013l38c6f038qff67c48eddbbb794 () mail ! gmail ! com
[Download RAW message or body]
Sorry, I've seen only now I have switched the keybind so for the windows
move who works :
<keybind key="W-Right">
<action name="MoveRelative">
<x>150</x>
</action>
</keybind>
and for the windows resize who works resize differently terminals and other
X applications :
<keybind key="S-W-Right">
<action name="ResizeRelative">
<right>30</right>
</action>
</keybind>
Any ideas ?
2008/4/3, Sylvain <debian.roxx at gmail.com>:
>
> 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/20080407/acac3f2b/attachment.htm>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic