You are not logged in.

#1 2018-06-03 14:19:38

verndog
Member
Registered: 2018-05-22
Posts: 42

[SOLVED] openbox's Config Manager default width

I read somewhere. I thought it was here, about the size of ObConf gui. My Lubuntu ObConf is very long in size. I'm unsure what config to change.

Googling only brings up openbox itself.

Last edited by verndog (2018-06-04 21:03:04)

Offline

#2 2018-06-03 17:47:56

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,595

Re: [SOLVED] openbox's Config Manager default width

I'd ref-raze that question to : I'd like to do X, how?

Online

#3 2018-06-03 19:07:13

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,106
Website

Re: [SOLVED] openbox's Config Manager default width

This is what he's describing, the OB GUI pref window is wide by default, he wants it to open narrower...

Screenshot_2018-06-03_15-05-12.th.png

Offline

#4 2018-06-03 19:33:14

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,595

Re: [SOLVED] openbox's Config Manager default width

Oh, (I would never guess that). edited.

Last edited by brontosaurusrex (2018-06-03 21:08:23)

Online

#5 2018-06-03 19:48:55

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,106
Website

Re: [SOLVED] openbox's Config Manager default width

I've renamed the thread for clarity. @verndog, it this is NOT the issue you are having, please post here.

Offline

#6 2018-06-03 20:38:24

grapefruit
Member
Registered: 2017-01-03
Posts: 16

Re: [SOLVED] openbox's Config Manager default width

Via rc.xml:

    <size><width>X</width><height>Y</height></size>

or as a percentage (X%)

Offline

#7 2018-06-03 20:46:44

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,106
Website

Re: [SOLVED] openbox's Config Manager default width

grapefruit wrote:

Via rc.xml:

    <size><width>X</width><height>Y</height></size>

or as a percentage (X%)

If you could be a little more n00b friendly, it would be great. The app is obconf, what exactly do we edit in rc.xml (line numbers, please)?

Offline

#8 2018-06-03 21:07:51

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,595

Re: [SOLVED] openbox's Config Manager default width

grapefruit: That is actually working, cool

    <application class="Obconf" name="obconf" type="normal">
      <size>
        <width>45%</width>
      </size>
    </application>

or a longer version

    <application class="Obconf" name="obconf" type="normal">
      <size>
        <width>45%</width>
      </size>
      <position force="no">
        <x>center</x>
        <y>center</y>
        <monitor>1</monitor>
      </position>
    </application>

That should go somewhere between <applications> ... </applications>.

Last edited by brontosaurusrex (2018-06-03 21:17:47)

Online

#9 2018-06-03 23:30:06

grapefruit
Member
Registered: 2017-01-03
Posts: 16

Re: [SOLVED] openbox's Config Manager default width

Sorry, hhh.

As bronto says, it goes at the bottom, between the <applications> ... </applications> tags, although mine would read:

<application name="obconf">
      <size>
        <width>45%</width>
      </size>
    </application>

Line numbers won't help because my rc file is far from standard.

I'll bear your comments in mind in future. smile

Offline

#10 2018-06-04 01:29:16

verndog
Member
Registered: 2018-05-22
Posts: 42

Re: [SOLVED] openbox's Config Manager default width

grapefruit wrote:

Sorry, hhh.

As bronto says, it goes at the bottom, between the <applications> ... </applications> tags, although mine would read:

<application name="obconf">
      <size>
        <width>45%</width>
      </size>
    </application>

Line numbers won't help because my rc file is far from standard.

I'll bear your comments in mind in future. smile

This is where I thought I needed to be, but it didn't work.
I failed to mentioned apparently the most critical part. This is on Lubuntu. Assuming rc.xml worked the same as a normal openbox. It doesn't.

I did add @grapfruit's script at the bottom as it states. It didn't work. There's even a note on Lubuntu to add it there.

I'll find out if anyone on ubuntu forum knows or even cares. This question has never appeared there.

Last edited by verndog (2018-06-04 01:31:08)

Offline

#11 2018-06-04 03:59:50

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,595

Re: [SOLVED] openbox's Config Manager default width

As a workaround, script like

#!/bin/bash

# obConfSmall

# license: WTFPL – Do What the **** You Want to Public License

set -x

obconf 2> /dev/null &

xdotool search --sync --name "Openbox Configuration" windowactivate windowsize "400" "400"

Online

#12 2018-06-04 05:14:34

verndog
Member
Registered: 2018-05-22
Posts: 42

Re: [SOLVED] openbox's Config Manager default width

Thanks @Middle Office, I'll try that.

edit:I just loaded BL, and I have it already fixed. I should have just loaded BL and went from there:
from line#82

  <applications>
    <application name="obconf">
      <size>
        <width>33%</width>
      </size>
    </application>

Last edited by verndog (2018-06-04 05:36:17)

Offline

#13 2018-06-04 05:58:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] openbox's Config Manager default width

verndog wrote:

This is on Lubuntu

Check the content of ~/.config/openbox/ — the Lubuntu session has it's own rc.xml file, I think it's called lubuntu-rc.xml or something, and that's the one to edit.

The plain rc.xml file is only read if a plain "openbox-session" is selected in the login manager, I think.

EDIT: thread moved to Help & Support (Other)

Last edited by Head_on_a_Stick (2018-06-04 05:59:46)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#14 2018-06-06 02:33:37

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,106
Website

Re: [SOLVED] openbox's Config Manager default width

OK, I didn't realize there were typos in one or more of the above posts. WFM, the bottom of rc.xml should look like this...

    <application name="obconf">
      <size>
        <width>45%</width>
      </size>
    </application>

  </applications>
</openbox_config>

Offline

Board footer

Powered by FluxBB