You are not logged in.
Pages: 1
Title says it all... I can't get obmenu to start for some reason.
Here is my menu.xml
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="apps-accessories-menu" label="Accessories">
<item label="TintWizard">
<action name="Execute">
<execute>
tintwizard
</execute>
</action>
</item>
<item label="Nitrogen">
<action name="Execute">
<execute>
nitrogen
</execute>
</action>
</item>
<item label="Lxappearance">
<action name="Execute">
<execute>
lxappearance
</execute>
</action>
</item>
<item label="Obmenu">
<action name="Execute">
<execute>
obmenu
</execute>
</action>
</item>
<item label="Squeeze">
<action name="Execute">
<execute>
squeeze
</execute>
</action>
</item>
<item label="Calculator">
<action name="Execute">
<command>
gnome-calculator
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Character Map">
<action name="Execute">
<command>
gnome-character-map
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Ark File Archiver">
<action name="Execute">
<command>
ark
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-editors-menu" label="Editors">
<item label="Geany">
<action name="Execute">
<execute>
/usr/bin/geany
</execute>
</action>
</item>
<item label="GVim">
<action name="Execute">
<command>
gvim
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
GVim
</wmclass>
</startupnotify>
</action>
</item>
<item label="Emacs">
<action name="Execute">
<command>
emacs
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
Emacs
</wmclass>
</startupnotify>
</action>
</item>
<item label="GEdit">
<action name="Execute">
<command>
gedit
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Kate">
<action name="Execute">
<command>
kate
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Kwrite">
<action name="Execute">
<command>
kwrite
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-term-menu" label="Terminals">
<item label="Rxvt Unicode">
<action name="Execute">
<command>
urxvt
</command>
</action>
</item>
<item label="Gnome Terminal">
<action name="Execute">
<command>
gnome-terminal
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Xfce Terminal">
<action name="Execute">
<command>
xfce4-terminal
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Konsole">
<action name="Execute">
<command>
konsole
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Lilyterm">
<action name="Execute">
<execute>
/usr/bin/lilyterm
</execute>
</action>
</item>
<item label="Xterm">
<action name="Execute">
<command>
xterm
</command>
</action>
</item>
</menu>
<menu id="apps-net-menu" label="Internet">
<item label="Thunderbird">
<action name="Execute">
<execute>
/usr/bin/thunderbird
</execute>
</action>
</item>
<item label="Firefox">
<action name="Execute">
<command>
firefox
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
Firefox
</wmclass>
</startupnotify>
</action>
</item>
<item label="Opera">
<action name="Execute">
<command>
opera
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
Opera
</wmclass>
</startupnotify>
</action>
</item>
<item label="Konqueror">
<action name="Execute">
<command>
konqueror
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Epiphany">
<action name="Execute">
<command>
epiphany
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Pidgin Instant Messenger">
<action name="Execute">
<command>
pidgin
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Kopete Instant Messenger">
<action name="Execute">
<command>
kopete
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="XChat">
<action name="Execute">
<command>
xchat
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="" label="Office">
<item label="OpenOffice Base">
<action name="Execute">
<command>
soffice -base
</command>
</action>
</item>
<item label="OpenOffice Calc">
<action name="Execute">
<command>
soffice -calc
</command>
</action>
</item>
<item label="OpenOffice Draw">
<action name="Execute">
<command>
soffice -draw
</command>
</action>
</item>
<item label="OpenOffice Impress">
<action name="Execute">
<command>
soffice -impress
</command>
</action>
</item>
<item label="OpenOffice Math">
<action name="Execute">
<command>
soffice -math
</command>
</action>
</item>
<item label="OpenOffice Printer Administration">
<action name="Execute">
<command>
spadmin
</command>
</action>
</item>
<item label="OpenOffice Writer">
<action name="Execute">
<command>
soffice -writer
</command>
</action>
</item>
</menu>
<menu id="apps-multimedia-menu" label="Multimedia">
<item label="Amarok">
<action name="Execute">
<command>
amarok
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Rhythmbox">
<action name="Execute">
<command>
rhythmbox
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="K3b">
<action name="Execute">
<command>
k3b
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="MPlayer">
<action name="Execute">
<command>
smplayer
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
MPlayer
</wmclass>
</startupnotify>
</action>
</item>
<item label="Totem">
<action name="Execute">
<command>
totem
</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 --no-desktop --browser
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Thunar">
<action name="Execute">
<command>
Thunar
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="KDE File Manager">
<action name="Execute">
<command>
kfmclient openURL ~
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Rox">
<action name="Execute">
<command>
rox
</command>
<startupnotify>
<enabled>
yes
</enabled>
<wmclass>
ROX-Filer
</wmclass>
</startupnotify>
</action>
</item>
<item label="PCMan File Manager">
<action name="Execute">
<command>
pcmanfm
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-graphics-menu" label="Graphics">
<item label="Gimp">
<action name="Execute">
<command>
gimp
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Gwenview">
<action name="Execute">
<command>
gwenview
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Dia Diagram Editor">
<action name="Execute">
<command>
dia
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Inkscape">
<action name="Execute">
<command>
inkscape
</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>
<item label="Gnome Control Center">
<action name="Execute">
<command>
gnome-control-center
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="KDE Control Center">
<action name="Execute">
<command>
kcontrol
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Xfce Settings">
<action name="Execute">
<command>
xfce-setting-show
</command>
<startupnotify>
<enabled>
yes
</enabled>
</startupnotify>
</action>
</item>
<item label="Manage Cups Printers">
<action name="Execute">
<command>
xdg-open http://localhost:631/
</command>
<startupnotify>
<enabled>
no
</enabled>
<icon>
cups
</icon>
</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=""/>
<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>
<item label="Reboot">
<action name="Execute">
<prompt>
Are you sure you want to Reboot?
</prompt>
<execute>
sudo shutdown -r now
</execute>
</action>
</item>
<item label="Shutdown">
<action name="Execute">
<prompt>
Are you sure you want to Shutdown?
</prompt>
<execute>
sudo shutdown -h now
</execute>
</action>
</item>
<item label="Hibernate">
<action name="Execute">
<prompt>
Are you sure you want to Hibernate?
</prompt>
<execute>
sudo pm-hibernate
</execute>
</action>
</item>
<item label="Suspend">
<action name="Execute">
<prompt>
Are you sure you want to Suspend?
</prompt>
<execute>
sudo pm-suspend
</execute>
</action>
</item>
</menu>
</openbox_menu>
Last edited by matt101 (2010-09-09 15:38:40)
Offline
Are you having problems launching obmenu from the Openbox menu, or just launching the program in general?
For the latter, try running it from a terminal and post the output (if any).
Offline
When launching in terminal:
[matt@Arch-PC ~]$ obmenu
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
Then i get a tonne of this same error:
File "/usr/bin/obmenu", line 42, in createTree
self.createTree(hijo, it["id"])
Lastly it sends this:
File "/usr/bin/obmenu", line 34, in createTree
for it in self.menu.getMenu(menuid):
File "/usr/lib/python2.6/site-packages/obxml.py", line 327, in getMenu
mnu = self._get_dom_menu(menu)
File "/usr/lib/python2.6/site-packages/obxml.py", line 40, in _get_dom_menu
if item.attributes["id"].nodeValue == menu: return item
File "/usr/lib/python2.6/xml/dom/minidom.py", line 823, in _get_attributes
return NamedNodeMap(self._attrs, self._attrsNS, self)
RuntimeError: maximum recursion depth exceeded
Last edited by matt101 (2010-09-09 06:31:57)
Offline
Maybe start with a clean menu.xml and try obmenu again?
cp /etc/xdg/openbox/menu.xml ~/.config/openbox
Offline
Oops, I forgot to tell you that I got those errors and it doesn't actually start the obmenu program. So I don't think it's my menu.xml file.
Offline
It would still help if you tried with a clean menu.xml.
Offline
OK i have a clean menu.xml but it still won't launch... So what shall I do now? Oh and i was wondering on your deviantart what panel is this http://anonymous-bot.deviantart.com/gallery/#/d1tdvor and if it has a theme what is the name of the theme, thanks
Offline
Did you run "openbox --reconfigure" after copying over the new menu?
Also I found a thread with almost the same error:
Offline
OK i'm gonna check that thread out... what panel is it you are using in the link i posted above?
Offline
Its xfce4-panel and I think I was use a Shiki GTK theme.
Offline
OK i just ran the same command again to create a new menu.xml file and reconfigured again, then tried to launch obmenu and it worked! Thanks for the help
Offline
Pages: 1