You are not logged in.

#1 2010-05-08 09:59:03

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

[solved] openbox default window sizes for ALL applications

I found many threads complaining about it being hard to set default sizes for individual applications, however I'd like all apps to be 800x480. I can't seem to make that happen using the rc.xml config file. I've looked at the config quite a bit now and I am still confused as to how it can be done - if it can!

I've tried using (my screen is 800x480) but to no success:

        <application name="xbmc.bin">
                <decor>no</decor>
                <maximized>true</maximized>
        </application>

I've also had a look at .Xdefaults but it seems my application does not look there.

Incidentally this is to run XBMC at fullscreen but using the windowed mode so that the touchscreen does not stop working.

Any help?

Last edited by brendan (2010-05-08 10:05:26)

Offline

#2 2010-05-08 11:05:25

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [solved] openbox default window sizes for ALL applications

How did you solved this???

Offline

#3 2010-05-08 12:10:15

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: [solved] openbox default window sizes for ALL applications

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

<applications>
<application class="*">
 <decor>no</decor>
 <maximized>yes</maximized>
</application>
</applications>

or you could set a keybinding:

    <keybind key="W-F1">
      <action name="UnmaximizeFull"/>
      <action name="MoveResizeTo">
        <x>center</x>
        <y>center</y>
        <width>800</width>
        <height>480</height>
      </action>
    </keybind>

Last edited by Roline (2010-05-08 12:16:54)


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

#4 2010-05-08 21:20:10

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: [solved] openbox default window sizes for ALL applications

botzoboy wrote:

How did you solved this???

The code I have quoted does fix it. I actually edited my post to reflect this, but the forum seemed to have a technical glitch stopping me from editing my post :-(

Thanks for the keybinding idea Roline, I really have to dig deeper into at openbox.

Offline

Board footer

Powered by FluxBB