You are not logged in.

#1 2016-07-13 21:37:38

ratcheer
Member
Registered: 2011-10-09
Posts: 912

[Resolved] Openbox stopped parsing my menu.xml and rc.xml files

This morning, I rebooted my system because I saw that package intel-ucode had been updated. After the reboot, my customized Openbox menu entries and key combos were no longer in effect. The ~/.config/openbox/menu.xml and rc.xml files were still intact with my customized entries, they just weren't being parsed when Openbox was starting.

I have been trying to troubleshoot this all day, reading documentation and searching web sites. I found nothing relating to my problem. Everything starts with the assumption that these files will be used if they are present.

So, following a wild idea I had, I copied my customized files from ~/.config/openbox to /etc/xdg/openbox. My custom menu entries and key combos are now in effect, again. So, something has gone wrong with my Openbox installation such that it is no longer parsing my files in ~/.config/openbox. Prior to this morning, these files had been working properly for at least a couple of years.

Any ideas on what has gone haywire?

Tim

Last edited by ratcheer (2016-07-14 00:43:15)

Offline

#2 2016-07-13 21:43:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

With the config files in ~/.config start openbox in debug mode and see if that prints any useful clues. Also, check the permissions on ~/.config/openbox.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-14 00:08:26

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

I tried debug mode (by running "openbox --restart --debug") earlier, and nothing was output. I figure that was because it was using the default system configurations, successfully.

The permissions in ~/.config/openbox are 644. The permissions of the openbox directory are 755. The current permissions of the working files in /etc/xdg/openbox are also 644.

Thank you.

Tim

Offline

#4 2016-07-14 00:13:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

ratcheer wrote:

I tried debug mode (by running "openbox --restart --debug") earlier, and nothing was output. I figure that was because it was using the default system configurations, successfully.

That is why I suggested running it with the files that aren't being read...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-07-14 00:16:02

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

So, delete the files in /etc/xdg/openbox and try debugging? I guess I could try that.

Tim

Offline

#6 2016-07-14 00:18:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

Well, rather than delete, just move them somewhere while you test.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-07-14 00:19:11

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

Ok, there's still no debug output, and now I don't have a menu, at all.

Tim

Offline

#8 2016-07-14 00:25:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

Lucky you only moved the defaults. Move them back and try creating a minimal menu to check that yours does not have some broken XML in it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-07-14 00:42:34

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Resolved] Openbox stopped parsing my menu.xml and rc.xml files

Well, they are the exact same files copied over to /etc/xdg/openbox, where they are working, perfectly. And, until today, they had been working perfectly in ~/.config/openbox

I guess I will leave well enough alone and just use them from the system default location. I will mark the thread Resolved.

Thanks again.

Tim

Offline

Board footer

Powered by FluxBB