You are not logged in.

#1 2010-03-29 02:01:36

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Openbox and maximized windows

Hi everyone... Im running Arch with openbox as my main DE. I really like it, but there is just one thing that make me angry. When i open an application (such as firefox or dolphin) its window appears covering almost the size of my screen. I have to maximize the window for just cover 2 or 3 pixels more.

I know that in rc.xml, i can define rules to make windows matching the some name, behave as i like (start maximized in this case). But is annoying (and innapropriate) to make one of these rules (matching name) for each application i'd like to start maximized.

I tried defining a rule, matching the tipe of window. I tought was fine, till a dialog box appeared. Its had the size of my entire screen (ugly for a dialog box).

If anybody can tell me which rule could match common applications, i'll be thankfull.

Best Regards Archers!

See this: http://openbox.org/wiki/Help:Applications

Last edited by sironitomas (2010-03-29 02:06:11)

Offline

#2 2010-03-29 02:18:58

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Openbox and maximized windows

<application class="*">
<maximized>yes</maximized>
</application>

This will make all windows maximized by default, which I think is what you want.

EDIT:  Actually, if you don't want dialogs to be maximized, try that, and this, I think:

<application type="dialog">
<maximized>no</maximized>
</application>

Last edited by kmason (2010-03-29 02:20:56)

Offline

#3 2010-03-29 02:45:08

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: Openbox and maximized windows

Thanks kmason... It worked with just

<application class="*">
<maximized>yes</maximized>
</application>

Is weird, because the dialogs don't get maximized, so i didn't need the other codes.

Offline

#4 2010-03-29 02:46:21

Wintervenom
Member
From: /home/wintervenom
Registered: 2008-08-20
Posts: 1,011

Re: Openbox and maximized windows

type="normal".


Data is guaranteed to stay crunchy in milk.
Keep your _✍ hand strong.

Offline

Board footer

Powered by FluxBB