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">&lt;<a href="mailto:dasfox@gmail.com" target="_blank">dasfox@gmail.com</a>&gt;</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>
&lt;<a href="mailto:mathias.dufresne@gmail.com">mathias.dufresne@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; You can use middle mouse button to resize vertically and right button to<br>
&gt; resize window horizontally in place of left button which resize in full<br>
&gt; screen...<br>
&gt; It almost remember previous position even if sometimes I had strange<br>
&gt; behaviour when clicking to get back to previous state. No idea if it was old<br>
&gt; version, my mistake or whatever... Anyway, I use that for years and that<br>
&gt; miss me so much under Windows...<br>
&gt;<br>
&gt; That does not answer to your question but perhaps it would help : )<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Mat<br>
&gt;<br>
&gt;<br>
&gt; 2012/12/18 laertis &lt;<a href="mailto:loutsis@csd.uoc.gr">loutsis@csd.uoc.gr</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; first of all i&#39;d like to say how much i love this WM and how configurable<br>
&gt;&gt; it is.<br>
&gt;&gt;<br>
&gt;&gt; What is troubling me for the past of the week is how to get openbox to<br>
&gt;&gt; simulate Win7 aero snapping behavior which i find really comforting and<br>
&gt;&gt; productive btw. I assumed that in order to achieve so, given the current<br>
&gt;&gt; configuration actions, i would need to know the variables holding the<br>
&gt;&gt; window&#39;s position so i could &quot;MoveResizeTo&quot; those!<br>
&gt;&gt;<br>
&gt;&gt; I think this guy describes the same thing with me except that he is<br>
&gt;&gt; talking about mousebinds while i&#39;m talking about keybinds.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; And this is the nearest i could get to Win7 snapping :<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt; I&#39;ve tried a work around leveraging the if statements of the openbox<br>
&gt;&gt; configuration file and the result was something like this :<br>
&gt;&gt;<br>
&gt;&gt; &lt;keybind key=&#39;W-Right&quot;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;   &lt;action name=&quot;If&quot;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     &lt;maximized&gt;yes&lt;/maximized&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     &lt;then&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;action name=&quot;Unmaximize&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;action name=&quot;Unmaximize&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         &lt;direction&gt;vertical&lt;/direction&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;/action&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;action name=&quot;MoveResizeTo&quot;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         &lt;x&gt;0&lt;/x&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         &lt;y&gt;0&lt;/y&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         &lt;width&gt;50%&lt;/width&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;/action&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     &lt;/then&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     &lt;else&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;       &lt;action name=&quot;If&quot;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;        ..........<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;        ..........<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;        ..........<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;        ..........<br>
&gt;&gt;<br>
&gt;&gt;   but i figured out but it can&#39;t be done without knowing the window&#39;s<br>
&gt;&gt; position.<br>
&gt;&gt;<br>
&gt;&gt; So i think writing a wmctrl script holding the windows position and<br>
&gt;&gt; combining it with the above would give me what i want.<br>
&gt;&gt;<br>
&gt;&gt; Is there any chance this is implemented somewhere out there?<br>
&gt;&gt;<br>
&gt;&gt; I think i&#39;m gonna write down a script either way but if there is<br>
&gt;&gt; something out there getting the job done it would help for now.<br>
&gt;&gt;<br>
&gt;&gt; However there are some issues i&#39;m thinking right now, such as, how is<br>
&gt;&gt; each windows going to hold it&#39;s previous state ?<br>
&gt;&gt;<br>
&gt;&gt; Anyway, that&#39;s about it. Thank you for the support.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; openbox mailing list<br>
&gt;&gt; <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
&gt;&gt; <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; openbox mailing list<br>
&gt; <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
&gt; <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
&gt;<br>
</div></div></blockquote></div><br>