SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-01-18 20:56:30

jkbmsh
New Member
Registered: 2013-01-11
Posts: 6

Errors when customizing Openbox

Hi guys smile
Before I start, a disclaimer;
I'm a Linux Noob, and a Crunchbang Ubernoob...

After having a bit of a play with Corky, I've now started to mess with my Openbox menu configuration. I've done this by opening the menu.xml file in geany, saving a backup, then taking stuff out and adding it in. I've tried to stay away from the GUI Editor to purposely get my hands dirty and get familiar with this stuff. I'm pretty sure my syntax has all been fine, but every time I save a new (adjusted) menu.xml and restart Openbox I get an error message:

### I would have posted the error message, but I've deleted <action =restart> from the menu.xml, (so I can't restart Openbox), and obmenu won't load so I can't restart it that way either ###

I seem to have gotten myself into a bit of a pickle! hmm

How can I reset Openbox to it's default settings in the terminal?

Or perhaps I should just stick to XP.......

Cheers all smile

Offline

Be excellent to each other!

#2 2013-01-18 21:23:42

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 805
Website

Re: Errors when customizing Openbox

jkbmsh wrote:

### I would have posted the error message, but I've deleted <action =restart> from the menu.xml, (so I can't restart Openbox), and obmenu won't load so I can't restart it that way either ###

I seem to have gotten myself into a bit of a pickle! hmm

Heya smile

To restart openbox, open a terminal and enter:

openbox --restart

jkbmsh wrote:

How can I reset Openbox to it's default settings in the terminal?

If you don't have a backup of your OB config files, you can find the files as they shipped with your install in /etc/skel/.config/openbox . Be sure to copy and not cut / paste these files or the next time you're in another pickle, you won't have them to save you smile

jkbmsh wrote:

Or perhaps I should just stick to XP.......

Drastic measures, my man, drastic measures smile

Online

#3 2013-01-18 22:37:18

jkbmsh
New Member
Registered: 2013-01-11
Posts: 6

Re: Errors when customizing Openbox

lovely, thanks for your help!

Any idea why the gui won't load?

Offline

#4 2013-01-18 22:42:37

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 805
Website

Re: Errors when customizing Openbox

by gui, do you mean menu?  I would guess it's a syntax error in the file, but without seeing it, couldn't say for sure.

If it's not the menu you're talking about, then just let me know what you're not seeing and how you're trying to get it to show.

Online

#5 2013-01-18 23:50:42

jkbmsh
New Member
Registered: 2013-01-11
Posts: 6

Re: Errors when customizing Openbox

no it's the GUI Menu Editor ''obmenu', where you can edit the menu in a table with a softer interface. There's buttons to add seperators, and menu items. I don't think I've changed anything that would mean that it shouldn't load, as all I've changed is the menu.xml file in geany. However, when I run it with gmrun nothing happens.
cheers

Offline

#6 2013-01-19 01:23:37

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 805
Website

Re: Errors when customizing Openbox

Open up a terminal and enter

obmenu

and paste any errors you get.

Online

#7 2013-01-20 16:31:32

jkbmsh
New Member
Registered: 2013-01-11
Posts: 6

Re: Errors when customizing Openbox

schwim wrote:

Open up a terminal and enter

obmenu

and paste any errors you get.

That's what I'm doing - before it was loading the editor but now nothing happens whatsoever. Is there any log that I can look at to see what's going on? smile

Offline

#8 2013-01-20 16:56:35

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 805
Website

Re: Errors when customizing Openbox

open a terminal and enter

obmenu

then enter

sudo tail -n 10 /var/log/messages

And paste whatever  you get here.  If it's logging an error that should get it for us.

Online

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo