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