Hi guys,<br><br>Did anyone see this, can this be done?<br><br>THANKS<br><br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 2:35 PM, Das <span dir="ltr"><<a href="mailto:dasfox@gmail.com" target="_blank">dasfox@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ahhh snap a Window to the left then snap a Window to the right, having<br>
them side by side like Windows 7, hmm I never thought about this<br>
before...<br>
<br>
So are we saying this is do able? This would be a nice feature...<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Tue, Dec 18, 2012 at 9:43 AM, Mathias Dufresne<br>
<<a href="mailto:mathias.dufresne@gmail.com">mathias.dufresne@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> You can use middle mouse button to resize vertically and right button to<br>
> resize window horizontally in place of left button which resize in full<br>
> screen...<br>
> It almost remember previous position even if sometimes I had strange<br>
> behaviour when clicking to get back to previous state. No idea if it was old<br>
> version, my mistake or whatever... Anyway, I use that for years and that<br>
> miss me so much under Windows...<br>
><br>
> That does not answer to your question but perhaps it would help : )<br>
><br>
> Cheers,<br>
><br>
> Mat<br>
><br>
><br>
> 2012/12/18 laertis <<a href="mailto:loutsis@csd.uoc.gr">loutsis@csd.uoc.gr</a>><br>
>><br>
>> Hello,<br>
>><br>
>> first of all i'd like to say how much i love this WM and how configurable<br>
>> it is.<br>
>><br>
>> What is troubling me for the past of the week is how to get openbox to<br>
>> simulate Win7 aero snapping behavior which i find really comforting and<br>
>> productive btw. I assumed that in order to achieve so, given the current<br>
>> configuration actions, i would need to know the variables holding the<br>
>> window's position so i could "MoveResizeTo" those!<br>
>><br>
>> I think this guy describes the same thing with me except that he is<br>
>> talking about mousebinds while i'm talking about keybinds.<br>
>><br>
>><br>
>> And this is the nearest i could get to Win7 snapping :<br>
>> <a href="http://www.jasoncavett.com/2012/05/better-aero-snap-with-openbox.html" target="_blank">http://www.jasoncavett.com/2012/05/better-aero-snap-with-openbox.html</a><br>
>><br>
>> I've tried a work around leveraging the if statements of the openbox<br>
>> configuration file and the result was something like this :<br>
>><br>
>> <keybind key='W-Right"><br>
>><br>
>><br>
>><br>
>> <action name="If"><br>
>><br>
>><br>
>><br>
>> <maximized>yes</maximized><br>
>><br>
>><br>
>><br>
>> <then><br>
>><br>
>><br>
>><br>
>> <action name="Unmaximize"/><br>
>><br>
>><br>
>><br>
>> <action name="Unmaximize"/><br>
>><br>
>><br>
>><br>
>> <direction>vertical</direction><br>
>><br>
>><br>
>><br>
>> </action><br>
>><br>
>><br>
>><br>
>> <action name="MoveResizeTo"><br>
>><br>
>><br>
>><br>
>> <x>0</x><br>
>><br>
>><br>
>><br>
>> <y>0</y><br>
>><br>
>><br>
>><br>
>> <width>50%</width><br>
>><br>
>><br>
>><br>
>> </action><br>
>><br>
>><br>
>><br>
>> </then><br>
>><br>
>><br>
>><br>
>> <else><br>
>><br>
>><br>
>><br>
>> <action name="If"><br>
>><br>
>><br>
>><br>
>> ..........<br>
>><br>
>><br>
>><br>
>> ..........<br>
>><br>
>><br>
>><br>
>> ..........<br>
>><br>
>><br>
>><br>
>> ..........<br>
>><br>
>> but i figured out but it can't be done without knowing the window's<br>
>> position.<br>
>><br>
>> So i think writing a wmctrl script holding the windows position and<br>
>> combining it with the above would give me what i want.<br>
>><br>
>> Is there any chance this is implemented somewhere out there?<br>
>><br>
>> I think i'm gonna write down a script either way but if there is<br>
>> something out there getting the job done it would help for now.<br>
>><br>
>> However there are some issues i'm thinking right now, such as, how is<br>
>> each windows going to hold it's previous state ?<br>
>><br>
>> Anyway, that's about it. Thank you for the support.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> openbox mailing list<br>
>> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
>> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> openbox mailing list<br>
> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
><br>
</div></div></blockquote></div><br>