You are not logged in.
Hello guys, my problem is that the window don't maxime.
Window maximized:
http://img.ctrlv.in/img/14/10/16/543f1e5aa5dc4.png
Now without maximize:
http://img.ctrlv.in/img/14/10/16/543f1ed21c54b.png
Someone can help me? Thank you in advance! ![]()
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- author edit: sorry
--
Last edited by eduardojunio (2014-10-16 02:38:04)
CODE IS POETRY.
Offline
It looks like one of two things, either 1) you've set up openbox to reserve dock space on the right, or there is some dock/panel program with a strut-policy set reserving that space.
Have you restarted openbox and seen this more than once? Are you running any docks or panels? Do you get the same thing if you (temporarily) rename or remove ~/.config/openbox/rc.xml?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My only dock/panel is tint2, I reboot my PC now, I remove the folder ~/.config/openbox, make a new folder called ~/.config/openbox and paste this: cp -R /etc/xdg/openbox/* ~/.config/openbox, and I ran openbox --reconfigure, and the problem still.
CODE IS POETRY.
Offline
Hmm, that is odd. Could you post the output of `xrandr`
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The output is:
[archie@pimposo ~]$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*+
800x600 60.32 56.25
640x480 59.94
VGA1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 59.79*+
1024x768 60.00
800x600 60.32
640x480 60.00
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[archie@pimposo ~]$ CODE IS POETRY.
Offline
Aha! What a dumb luck guess of mine - that's it.
You have two outputs active, and they are overlapping. So when you maximize a window, openbox sizes it to fit the primary output LVDS1 which is only 1024 pixels wide, but your VGA1 output is wider. The VGA1 output matches the dimensions of the screenshot you posted. There *should be* an extra 342 pixels remaining on the side of VGA1.
How are these screens set up? Are you actively using both? How do you want them set up?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I want to use only the VGA1 with screen 1366x768, I don't know how to disable the LVDS1. ![]()
Last edited by eduardojunio (2014-10-16 02:30:10)
CODE IS POETRY.
Offline
How do you *enable it*?
The quick fix would be
xrandr --output VGA1 --auto --output LVDS1 --offYou can use the other monitor in an extended desktop mode with something like this:
xrandr --output VGA1 --auto --output LVDS1 --auto --right-of VGA1You could put either of these in your xinitrc if you use xinit/startx to start X.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Problem solved!! @Trilby thank you very much! I ran:
xrandr --output VGA1 --auto --output LVDS1 --offAnd now when I maximize a window:
http://img.ctrlv.in/img/14/10/16/543f2ecf97446.png
I put this on the autostart script of Openbox to be permanent! ![]()
CODE IS POETRY.
Offline