You are not logged in.

#1 2011-10-14 11:19:55

Snuken
Member
Registered: 2011-06-14
Posts: 24

[SOLVED]Can't edit openbox menu

Hi,
when I try to add a menu to openbox with obmenu, the changes I've done doesn't show when i click on the "Reconfigure openbox" option. What am I doing wrong?

Last edited by Snuken (2011-10-14 20:01:04)

Offline

#2 2011-10-14 12:51:25

d2ogch3n
Member
Registered: 2010-01-20
Posts: 42

Re: [SOLVED]Can't edit openbox menu

You need to save changes in obmenu you don't need to reconfigure openbox that's only for changes to rc.xml.

Offline

#3 2011-10-14 13:06:43

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

Yes well, I have saved them aswell but still no change.

Offline

#4 2011-10-14 14:25:13

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED]Can't edit openbox menu

Do a locate menu.xml and see what you have. I have three menu.xml which can be confusing, but this; .config/openbox/menu.xml
should be the one.

Offline

#5 2011-10-14 15:19:12

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

Well,  this is my folder;
[snuken@Farner ~]$ ls .config/openbox/
autostart.sh  autostart.sh~  menu.xml  menu.xml~  rc.xml  rc.xml~

Offline

#6 2011-10-14 15:49:07

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED]Can't edit openbox menu

Test ; obmenu .config/openbox/menu.xml

Offline

#7 2011-10-14 17:18:53

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

swanson wrote:

Test ; obmenu .config/openbox/menu.xml

Did that, same result. And here's a screenshot aswell
http://i.imgur.com/tzPSx.jpg

I've also tried and change it manually as in opening the config file, but it doesn't work either.

Last edited by Snuken (2011-10-14 17:21:25)

Offline

#8 2011-10-14 19:15:33

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: [SOLVED]Can't edit openbox menu

Snuken wrote:
swanson wrote:

Test ; obmenu .config/openbox/menu.xml

Did that, same result. And here's a screenshot aswell
http://i.imgur.com/tzPSx.jpg

I've also tried and change it manually as in opening the config file, but it doesn't work either.

This has prolly already been done, but you need to restart X in order for your changes to show. Im not really sure what else it could be- are you running an up-to-date system?

Offline

#9 2011-10-14 19:30:46

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

GSF1200S wrote:
Snuken wrote:
swanson wrote:

Test ; obmenu .config/openbox/menu.xml

Did that, same result. And here's a screenshot aswell
http://i.imgur.com/tzPSx.jpg

I've also tried and change it manually as in opening the config file, but it doesn't work either.

This has prolly already been done, but you need to restart X in order for your changes to show. Im not really sure what else it could be- are you running an up-to-date system?

Rebooted my computer without any changes sad

Offline

#10 2011-10-14 19:39:12

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

Here's my code for menu.xml btw if it helps

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
	<menu id="apps-term-menu" label="Terminals">
		<item label="Rxvt Unicode">
			<action name="Execute">
				<command>
					urxvt
				</command>
			</action>
		</item>
		<item label="Xterm">
			<action name="Execute">
				<command>
					xterm
				</command>
			</action>
		</item>
	</menu>
	<menu id="None-59737" label="ASD">
		<item label="New Item">
			<action name="Execute">
				<execute>
					command
				</execute>
			</action>
		</item>
	</menu>
	<menu id="None-991628" label="Media">
		<item label="New Item">
			<action name="Execute">
				<execute>
					command
				</execute>
			</action>
		</item>
	</menu>
	<menu id="apps-net-menu" label="Internet">
		<item label="Firefox">
			<action name="Execute">
				<command>
					firefox
				</command>
				<startupnotify>
					<enabled>
						yes
					</enabled>
					<wmclass>
						Firefox
					</wmclass>
				</startupnotify>
			</action>
		</item>
		<item label="Teamspeak">
			<action name="Execute">
				<execute>
					/home/snuken/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64
				</execute>
			</action>
		</item>
		<item label="Mumble">
			<action name="Execute">
				<execute>
					mumble
				</execute>
			</action>
		</item>
		<item label="Pidgin Instant Messenger">
			<action name="Execute">
				<command>
					pidgin
				</command>
				<startupnotify>
					<enabled>
						yes
					</enabled>
				</startupnotify>
			</action>
		</item>
	</menu>
	<menu id="apps-fileman-menu" label="File Managers">
		<item label="Nautilus">
			<action name="Execute">
				<command>
					nautilus
				</command>
				<startupnotify>
					<enabled>
						yes
					</enabled>
				</startupnotify>
			</action>
		</item>
	</menu>
	<menu id="system-menu" label="System">
		<item label="Openbox Configuration Manager">
			<action name="Execute">
				<command>
					obconf
				</command>
				<startupnotify>
					<enabled>
						yes
					</enabled>
				</startupnotify>
			</action>
		</item>
		<separator/>
		<item label="Reconfigure Openbox">
			<action name="Reconfigure"/>
		</item>
	</menu>
	<menu id="root-menu" label="Openbox 3">
		<separator label="Applications"/>
		<menu id="apps-accessories-menu"/>
		<menu id="apps-editors-menu"/>
		<menu id="apps-graphics-menu"/>
		<menu id="apps-net-menu"/>
		<menu id="apps-office-menu"/>
		<menu id="apps-multimedia-menu"/>
		<menu id="apps-term-menu"/>
		<menu id="apps-fileman-menu"/>
		<separator label="System"/>
		<menu id="system-menu"/>
		<separator/>
		<item label="Log Out">
			<action name="Exit">
				<prompt>
					yes
				</prompt>
			</action>
		</item>
	</menu>
</openbox_menu>

Offline

#11 2011-10-14 20:00:37

Snuken
Member
Registered: 2011-06-14
Posts: 24

Re: [SOLVED]Can't edit openbox menu

Fixed it by installing menumaker, force it to overwrite my old config, then I configured the new one.

Offline

Board footer

Powered by FluxBB