LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   openbox syntax error (https://www.linuxquestions.org/questions/linux-desktop-74/openbox-syntax-error-731265/)

lin_uxsprout 06-07-2009 11:29 AM

openbox syntax error
 
well I'm sure I created this problem but I hope someone knows how to fix it. I installed tiny me 09 and I didn't even realize that it use's openbox but it didn't mater because I need a current install of anything that works LOL (finally hosed the pclinux2007)

any way installed tiny me 09 upgraded all. installed jre and flash player, all is good.before I knew you could not run compiz with openbox I tried it and this may be why I got an error. I removed compiz and toggled it "off"

here is the error message i get on boot :
Openbox Syntax Error

syntax errors were found openbox line 210
/etc/xdg/openbox/menu/.xml

any help would be greatly appreciated
Thanks,James

Undeadzz 06-07-2009 12:10 PM

on my system there is a
/etc/xdg/openbox/menu.xml
not
/etc/xdg/openbox/menu/.xml
that could be the problem, or your menu.xml file got messed up.

lin_uxsprout 06-07-2009 01:54 PM

not sure but I might have messed up the error. how do I find the error log so I can post it here?
thanks
I found this in the menu and copied it:
cat > /etc/xdg/openbox/menu.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>

<openbox_menu xmlns="http://openbox.org/3.4/menu">

EOF

xdg_menu --format=openbox3 >> /etc/xdg/openbox/menu.xml

cat >> /etc/xdg/openbox/menu.xml << EOF

<menu id="root-menu" label="TinyMe">
<separator label="TinyMe" />
<menu id="Applications"/>
<separator/>
<menu id="client-list-menu"/>
<separator/>
<item label="Desktop Settings">
<action name="Execute"><execute>tinycc</execute></action>
</item>
<item label="Quit">
<action name="Execute"><execute>tinylogout</execute></action>
</item>
</menu> <!-- root -->

</openbox_menu>

also here:

/etc/xdg/menus

/etc/xdg/menus/lxde-applications.menu
/etc/xdg/menus/applications.menu
/etc/xdg/menus/applications-merged

lin_uxsprout 06-07-2009 05:15 PM

anyone have a clue?


All times are GMT -5. The time now is 04:49 AM.