LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2004, 02:21 AM   #1
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Rep: Reputation: 0
Openbox menus not working


I ran it through a few XML validators and it turned out okay. Everything between the two separators doesn't show up at all. Here's my menu.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://openbox.org/
                file:///usr/share/openbox/menu.xsd">
<menu id="Menu" label="Menu">
 <item label="Terminal">
  <action name="Execute"><execute>aterm</execute></action>
 </item>
 <item label="Terminal (root)">
  <action name="Execute"><execute>aterm -e su</execute></action>
 </item>
 <separator/>
 <menu id="Net" name="Net">
  <item label="Gaim">
   <action name="Execute"><execute>gaim</execute></action>
  </item>
  <item label="Firefox">
   <action name="Execute"><execute>firefox</execute></action>
  </item>
  <item label="X-Chat">
   <action name="Execute"><execute>xchat</execute></action>
  </item>
 </menu>
 <menu id="Media" name="Media">
  <item label="XMMS">
   <action name="Execute"><execute>xmms</execute></action>
  </item>
 </menu>
 <menu id="Graphics" name="Graphics">
  <item label="The GIMP">
   <action name="Execute"><execute>gimp</execute></action>
  </item>
 </menu>
 <separator/>
 <menu id="Openbox" label="Openbox">
  <item label="Configuration">
   <action name="Execute"><execute>obconf</execute></action>
  </item>
  <item label="Reload">
   <action name="Reconfigure" />
  </item>
  <item label="Restart">
   <action name="Restart" />
  </item>
  <item label="Logout">
   <action name="Exit" />
  </item>
 </menu>
</menu>
</openbox_menu>
 
Old 11-27-2004, 02:59 AM   #2
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Original Poster
Rep: Reputation: 0
Nevermind. I was using name attributes rather than label attributes, and they are hardly the same thing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openbox mark52230 Linux - Software 1 08-21-2004 03:30 PM
Help with openbox fzx1 Linux - Newbie 1 04-10-2004 06:17 PM
Openbox help fzx1 Linux - Newbie 2 04-09-2004 01:33 PM
Mandrake KDE Style & Menus not working Alacrity Linux - Software 1 03-16-2004 05:12 PM
IS IT POSSIBLE TO MAKE OPENBOX MENUs TRANSPARENt?? roorings Linux - Software 0 11-02-2003 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration