That may obfuscate the issue, but the original commands are correct anyways, and openbox still needs to work in that case.<br><br><div class="gmail_quote">On Fri, May 14, 2010 at 16:10, Pedro Ribeiro <span dir="ltr">&lt;<a href="mailto:pedrib@gmail.com">pedrib@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;"><div><div></div><div class="h5">On 12 May 2010 22:14, Dana Jansens &lt;<a href="mailto:dana@orodu.net">dana@orodu.net</a>&gt; wrote:<br>

&gt;<br>
&gt; On 2010-05-12, at 3:04 PM, Pedro Ribeiro wrote:<br>
&gt;<br>
&gt;&gt; On 12 May 2010 19:48, Dana Jansens &lt;<a href="mailto:dana@orodu.net">dana@orodu.net</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 2010-05-12, at 2:11 PM, Pedro Ribeiro wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; this may or may not be a solvable however I think I&#39;ve hit a bug using<br>
&gt;&gt;&gt;&gt; openbox and xrandr.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have an external monitor connected to my laptop. When I set the<br>
&gt;&gt;&gt;&gt; monitor like this:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; xrandr --output LVDS1 --off --output VGA1 --mode 1920x1080<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; everything works correctly.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; However when I do<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; xrandr --output LVDS1 --off --output VGA1 --auto<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; which sets exactly the same 1920x1080 resolution, openbox does not<br>
&gt;&gt;&gt;&gt; seem to understand the full screen resolution.<br>
&gt;&gt;&gt;&gt; By this I mean that when I maximize a window, it will only cover the<br>
&gt;&gt;&gt;&gt; 1280x800 (which is the size of my laptop monitor) and not the whole<br>
&gt;&gt;&gt;&gt; external screen. If I click and drag on the titlebar, the window then<br>
&gt;&gt;&gt;&gt; grows to 1920x1080, but I have to do this on every window I try to<br>
&gt;&gt;&gt;&gt; maximize.<br>
&gt;&gt;&gt;&gt; Restarting or reconfiguring openbox appears to solve it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It sounds like a bug but I don&#39;t think I really get what is going on clearly.  Let me see if I have this right.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; At the start, you have one monitor disabled, and one enabled, set at 1920x1080 with the command:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; xrandr --output LVDS1 --off --output VGA1 --mode 1920x1080<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Openbox is functioning correctly at this time.  You have maximized windows filling the screen.<br>
&gt;&gt;<br>
&gt;&gt; Correct.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then, you run the command:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; xrandr --output LVDS1 --off --output VGA1 --auto<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; which does not change the screen resolution, but maximized windows are shrunk immediately to 1280x800 (the size of the disabled screen).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then, reconfiguring Openbox returns the maximized windows to their original size of 1920x1080.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is this what you are experiencing, or is it slightly different?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Actually I explained incorrectly. The first command works correctly as<br>
&gt;&gt; I noted. Lets assume that then I go back to using only LVDS1 (my<br>
&gt;&gt; internal LCD screen) and disable the external output.<br>
&gt;&gt;<br>
&gt;&gt; If I do<br>
&gt;&gt; xrandr --output LVDS1 --auto --output VGA1 --auto<br>
&gt;&gt;<br>
&gt;&gt; The screen gets mirrored on both monitors, although maximized windows<br>
&gt;&gt; will only cover 1280x800 of the external monitor. I guess this is<br>
&gt;&gt; expected, since its being mirrored although at different resolutions,<br>
&gt;&gt; so definitely not a bug in this case.<br>
&gt;&gt;<br>
&gt;&gt; However, if after the command above I do<br>
&gt;&gt; xrandr --output LVDS1 --off --output VGA1 --auto<br>
&gt;&gt;<br>
&gt;&gt; Openbox still thinks that my internal monitor is on, and maximized<br>
&gt;&gt; windows will only cover 1280x800 of the external screen. If I click<br>
&gt;&gt; and drag the window title, it suddenly grows to fill the whole screen.<br>
&gt;&gt;<br>
&gt;&gt;&gt; And have you compiled Openbox yourself?  What version is it?  Etc..<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Its 3.4.11.1 from Debian testing.<br>
&gt;<br>
&gt;<br>
&gt; Ok, yes, please bug tracker this, with all the above.  When I have access to two monitors again I will fix it.<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Dana<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>
<br>
</div></div>Thanks for the help, but apparently it was all my stupidity. When<br>
using any of those commands that cause trouble, I should specify a<br>
primary monitor using --primary.<br>
<br>
Regards,<br>
<font color="#888888">Pedro<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jeremy Nickurak -= Email/XMPP: <a href="mailto:jeremy@nickurak.ca">jeremy@nickurak.ca</a> =-<br><br>