SEARCH

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

You are not logged in.

#1 2012-09-09 02:24:04

JLloyd13
#! Member
From: Halifax NS Canada
Registered: 2012-08-08
Posts: 79

can someone look over my menu.xml?

everytime I open openbox it is just a small blank box. could someone who knows the syntax give it a look over?

Last edited by JLloyd13 (2012-09-09 02:25:03)


OS: Debian GNU/Linux 6.0.6 64-bit
WMs: Openbox, Compiz, and DWM

Offline

Help fund CrunchBang, donate to the project!

#2 2012-09-09 02:25:37

JLloyd13
#! Member
From: Halifax NS Canada
Registered: 2012-08-08
Posts: 79

Re: can someone look over my menu.xml?

whoops, here it is:

<?xml version="1.0" encoding="UTF-8"?>

<openbox_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="Transmission">
    <action name="Execute">
      <command>transmission</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
 <item label="Thunderbird">
    <action name="Execute">
      <command>thunderbird</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
</menu>

<menu id="apps-office-menu" label="Office">
  <item label="OpenOffice Base">
    <action name="Execute">
      <command>ooffice -base</command>
    </action>
  </item>
  <item label="OpenOffice Calc">
    <action name="Execute">
      <command>ooffice -calc</command>
    </action>
  </item>
  <item label="OpenOffice Draw">
    <action name="Execute">
      <command>ooffice -draw</command>
    </action>
  </item>
  <item label="OpenOffice Impress">
    <action name="Execute">
      <command>ooffice -impress</command>
    </action>
  </item>
  <item label="OpenOffice Math">
    <action name="Execute">
      <command>ooffice -math</command>
    </action>
  </item>
  <item label="OpenOffice Writer">
    <action name="Execute">
      <command>ooffice -writer</command>
    </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="inkscape">
    <action name="Execute">
      <command>gimp</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
  
<menu id="system-menu" label="System">
  <item label="Obconf">
    <action name="Execute">
      <command>obconf</command>
      <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
  </item>
  <item label="Terminal">
    <action name="Execute">
      <command>xterm</command>
      <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
  </item>
  <item label="PCMan File Manager">
    <action name="Execute">
      <command>pcmanfm</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
</menu>

<menu id="root-menu" label="Openbox 3"/>
  <menu id="apps-net-menu"/>
  <menu id="apps-office-menu"/>
  <menu id="app-graphics-menu"/>
  <menu id="system-menu"/>
  <separator />
  <item label="Log Out">
    <action name="Exit">
      <prompt>yes</prompt>
    </action>
  </item>
</menu>

</openbox_menu>

Last edited by JLloyd13 (2012-09-09 02:26:57)


OS: Debian GNU/Linux 6.0.6 64-bit
WMs: Openbox, Compiz, and DWM

Offline

#3 2012-09-09 03:28:12

JLloyd13
#! Member
From: Halifax NS Canada
Registered: 2012-08-08
Posts: 79

Re: can someone look over my menu.xml?

no one?


OS: Debian GNU/Linux 6.0.6 64-bit
WMs: Openbox, Compiz, and DWM

Offline

#4 2012-09-09 04:21:53

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

Re: can someone look over my menu.xml?

Please don't bump. Try changing

<menu id="root-menu" label="Openbox 3"/>

to this

<menu id="root-menu" label="Openbox 3">

Offline

#5 2012-09-09 05:04:46

JLloyd13
#! Member
From: Halifax NS Canada
Registered: 2012-08-08
Posts: 79

Re: can someone look over my menu.xml?

thank you so much!!! smile everything works!


OS: Debian GNU/Linux 6.0.6 64-bit
WMs: Openbox, Compiz, and DWM

Offline

#6 2012-09-09 07:35:25

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: can someone look over my menu.xml?

As a general hint: Open xml files in a text editor that does syntax highlights and collapsing. See if there is a section that does not collapse (take all the other sections as an example). If a section does not collapse, it is in some way broken. Not every error can be found this way, but widely common ones like this one.


I'm so meta, even this acronym

Offline

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