You are not logged in.

#1 2019-05-23 15:10:42

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

[Solved] OBConf stopped working for no obvious reason

Hi everyone,

I've recently found that OBConf has simply stopped working on my system and so I've been unable to use it to change themes in Openbox, and I don't know why; I've tried uninstalling it and then reinstalling it, but to no avail. It's not a big deal since changing the theme manually by editing rc.xml still works, but I'm puzzled all the same.

Has anyone got any suggestions as to why this might be happening?

Thanks in advance,

CP .

Last edited by Colonel Panic (2019-05-24 07:14:11)

Offline

#2 2019-05-23 17:20:10

malm
jgmenu developer
Registered: 2016-10-13
Posts: 447
Website

Re: [Solved] OBConf stopped working for no obvious reason

So you get any messages if you start it from a terminal?

Does it misbehave if you use a different rc.xml?

Offline

#3 2019-05-23 17:34:10

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

malm wrote:

So you get any messages if you start it from a terminal?

Does it misbehave if you use a different rc.xml?

Thanks for replying. I don't get any messages when I start it from a terminal, and using a different rc.xml doesn't seem to make any difference.

Editing the rc.xml file by hand does still work though, so if all else fails I'll stick with doing that.

[Brief update; I'm posting this from Debian Stretch now, which Bunsen is based on, and OBConf works fine in that.]

Last edited by Colonel Panic (2019-05-23 18:06:48)

Offline

#4 2019-05-23 18:22:56

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

Re: [Solved] OBConf stopped working for no obvious reason

Might not be a good suggestion, but I'd just build it from git https://github.com/danakj/obconf, something like:

sudo apt remove obconf
git clone ...
cd to that git
./bootstrap
./configure
make
sudo make install

Offline

#5 2019-05-23 20:14:46

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

brontosaurusrex wrote:

Might not be a good suggestion, but I'd just build it from git https://github.com/danakj/obconf, something like:

sudo apt remove obconf
git clone ...
cd to that git
./bootstrap
./configure
make
sudo make install

Thanks for your advice; I'll have a look at that the next time I'm in Bunsen (still in Debian smile ). Don't know much about GitHub though maybe it's time I learned.

For now though I can manage by hand editing the rc.xml file to change the theme.

Last edited by Colonel Panic (2019-05-23 20:25:30)

Offline

#6 2019-05-23 23:02:37

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

I had a go but only got as far as the "cd to that git". I may try again another day but I'm too tired now, sorry.

Last edited by Colonel Panic (2019-05-23 23:16:12)

Offline

#7 2019-05-23 23:17:24

damo
....moderator....
Registered: 2015-08-20
Posts: 5,006

Re: [Solved] OBConf stopped working for no obvious reason

Colonel Panic wrote:

Sorry but life's too short....

...to troubleshoot a problem with minimal information about package versions, error messages (.xsession-errors? journalctl?), any Debian bug reports, any recent system changes, forum searches.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2019-05-23 23:23:32

hhh
Meep!
Registered: 2015-09-17
Posts: 8,051
Website

Re: [Solved] OBConf stopped working for no obvious reason

Colonel Panic wrote:

Has anyone got any suggestions as to why this might be happening?

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

If not that, any other weirdness you can report? Any big package installs or removals? Is this the only GUI program that won't start? Is Venus in retrograde?

Offline

#9 2019-05-24 04:21:09

ohnonot
...again
Registered: 2015-09-29
Posts: 3,830
Website

Re: [Solved] OBConf stopped working for no obvious reason

really nothing at all in the terminal? i get loads.

Colonel Panic wrote:

[Brief update; I'm posting this from Debian Stretch now, which Bunsen is based on, and OBConf works fine in that.]

that is interesting.
it must be specific to your install, and hhh's suspicion seems the most plausible atm.
output of

apt update

please (as well as answering hhh's other questions of course).

Last edited by ohnonot (2019-05-24 04:21:45)

Offline

#10 2019-05-24 05:43:39

hhh
Meep!
Registered: 2015-09-17
Posts: 8,051
Website

Re: [Solved] OBConf stopped working for no obvious reason

I mean, it's such a simple package and it's the first report of this in the 3 plus years BL's been around, plus another 3 or more on CrunchBang.

OP, do you run other desktop sessions on this machine? Honestly... How do you break obconf? Have you tried removing/moving the themes from your home directory temporarily?

Offline

#11 2019-05-24 05:55:57

hhh
Meep!
Registered: 2015-09-17
Posts: 8,051
Website

Re: [Solved] OBConf stopped working for no obvious reason

Here it is, a corrupt rc.xml. It works by manually editing it, but it's a malformed file so obconf chokes on it, I'm guessing...

https://webcache.googleusercontent.com/ … refox-b-ab

Backup your current rc.xml file, copy the default from /usr/share/bunsen/skel/.config/openbox to ~/.config/openbox and then run 'openbox --reconfigure' or just logout/login

Source: #!, almost 6 years ago. YEAH BABY!!!

Offline

#12 2019-05-24 06:39:46

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

damo wrote:
Colonel Panic wrote:

Sorry but life's too short....

...to troubleshoot a problem with minimal information about package versions, error messages (.xsession-errors? journalctl?), any Debian bug reports, any recent system changes, forum searches.

Sorry damo.

I deleted that post because I realised it wasn't appropriate. The one I wanted people to read was the one where I said I would come back and look at it again.

Last edited by Colonel Panic (2019-05-24 07:28:56)

Offline

#13 2019-05-24 07:03:36

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

post deleted

Last edited by Colonel Panic (2019-05-24 10:02:04)

Offline

#14 2019-05-24 07:04:29

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

I've just seen this thread, which I think contains the solution to the problem. It appears to be a permissions issue;

https://bbs.archlinux.org/viewtopic.php?id=133302

Later on I'm going to check the write permissions of my rc.xml file, as it looks like the file hasn't been saved anew each time I run OBConf as it should have been.

Thanks again to everyone who's contributed with suggestions and advice.

Last edited by Colonel Panic (2019-05-24 10:39:02)

Offline

#15 2019-05-24 08:47:00

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

hhh wrote:
Colonel Panic wrote:

Has anyone got any suggestions as to why this might be happening?

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

Thanks for this link; I'm going to have a good look at it. One thing I've learnt already is that you don't mix Debian and Ubuntu packages in the same system.

Offline

#16 2019-05-24 15:55:23

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 714

Re: [Solved] OBConf stopped working for no obvious reason

Colonel Panic wrote:
hhh wrote:
Colonel Panic wrote:

Has anyone got any suggestions as to why this might be happening?

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

Thanks for this link; I'm going to have a good look at it. One thing I've learnt already is that you don't mix Debian and Ubuntu packages in the same system.

Darn straight and this especially goes for packages from PPAs that claim to be compatible with plain Debian. If you break Debian you keep the pieces smile

And don't try to backport newer compilers or toolchains to Stable wink

Last edited by DeepDayze (2019-05-24 15:56:11)


Real Men Use Linux

Offline

#17 2019-05-24 19:54:29

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

DeepDayze wrote:
Colonel Panic wrote:
hhh wrote:

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

Thanks for this link; I'm going to have a good look at it. One thing I've learnt already is that you don't mix Debian and Ubuntu packages in the same system.

Darn straight and this especially goes for packages from PPAs that claim to be compatible with plain Debian. If you break Debian you keep the pieces smile

And don't try to backport newer compilers or toolchains to Stable wink

Thanks, I'll bear that in mind though to be honest I don't do all that much compiling nowadays (and don't know what a toolchain is either) smile .

A further update; it turned out that yes, it was a file permissions problem. I’ve installed midnight commander, a console-based file manager which can change a file's permissions from its file menu, and when I changed the group permissions of rc.xml to enable reading and writing, OBConf worked without a hitch (and stopped working when I changed them back again).

Thanks again to everyone who's contributed with suggestions and advice. I've marked the thread "Solved" now in accordance with the fact that the problem I had with OBConf is now in the past.

Last edited by Colonel Panic (2019-05-24 20:06:54)

Offline

#18 2019-05-24 20:15:50

malm
jgmenu developer
Registered: 2016-10-13
Posts: 447
Website

Re: [Solved] OBConf stopped working for no obvious reason

Glad you found the issue.

You can set permissions with chmod. E.g.

chmod 644 rc.xml

I too am a fan of mc.

Offline

#19 2019-05-25 00:52:19

hhh
Meep!
Registered: 2015-09-17
Posts: 8,051
Website

Re: [Solved] OBConf stopped working for no obvious reason

Colonel Panic wrote:
hhh wrote:
Colonel Panic wrote:

Has anyone got any suggestions as to why this might be happening?

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

Thanks for this link; I'm going to have a good look at it. One thing I've learnt already is that you don't mix Debian and Ubuntu packages in the same system.

Simple backports are easy...

https://forums.bunsenlabs.org/viewtopic.php?id=58

You'll know it's simple if it compiles successfully. smile

Offline

#20 2019-05-25 01:13:53

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 714

Re: [Solved] OBConf stopped working for no obvious reason

hhh wrote:
Colonel Panic wrote:
hhh wrote:

Did you break Debian stable? How can you break Debian stable? Naughty, naughty!

https://wiki.debian.org/DontBreakDebian

Thanks for this link; I'm going to have a good look at it. One thing I've learnt already is that you don't mix Debian and Ubuntu packages in the same system.

Simple backports are easy...

https://forums.bunsenlabs.org/viewtopic.php?id=58

You'll know it's simple if it compiles successfully. smile

Yep, as long as said package doesn't use funky Ubuntu specific libraries.


Real Men Use Linux

Offline

#21 2019-05-25 20:44:10

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

malm wrote:

Glad you found the issue.

You can set permissions with chmod. E.g.

chmod 644 rc.xml

I too am a fan of mc.

Thanks. I've got a copy of the O'Reilly published book "Linux In A Nutshell", and there's a section in that describing the various file permissions and how to change them (never bothered to learn it all though - maybe I should).

Just found this article online, and it looks pretty good;

https://www.pluralsight.com/blog/it-ops … ermissions

So 4 = Read, 2 = Write, 1 = Execute and 0 = No Permisson. Hence, 644 means that User can read and write but not execute, Group can read (but not write or execute) and Others can read (but not write or execute).

Last edited by Colonel Panic (2019-05-25 20:45:23)

Offline

#22 2019-05-26 01:39:16

bigbenaugust
Member
From: unc.edu / the 919 / KIGX
Registered: 2017-05-20
Posts: 142

Re: [Solved] OBConf stopped working for no obvious reason

malm wrote:
chmod 644 rc.xml

which is a shorter way of doing

chmod a+r,u+w rc.xml

which hardly anyone ever does with multiple modes and usually uses the octal form (or multiple chmod commands).


--Ben
BL / MX / Raspbian... and a whole bunch of RHEL boxes. :)

Offline

#23 2019-05-26 07:22:41

malm
jgmenu developer
Registered: 2016-10-13
Posts: 447
Website

Re: [Solved] OBConf stopped working for no obvious reason

^^ yep

Use 755 for directories and executables (e.g. scripts)

Don’t touch anything outside your home directory.

Offline

#24 2019-05-31 09:46:43

Colonel Panic
Member
Registered: 2018-11-13
Posts: 79

Re: [Solved] OBConf stopped working for no obvious reason

malm wrote:

^^ yep

Use 755 for directories and executables (e.g. scripts)

Don’t touch anything outside your home directory.

Thanks again! (and bigbenaugust too).

Offline

Board footer

Powered by FluxBB