<div dir="ltr"><div>Your example menu has two issues:</div><div>- the closing </menu> tag is missing between </item> and <openbox_menu></div><div>- the menu id has to be "root-menu" instead of "menu_test".</div><div><br></div><div>If these two changes are applied, the item shows up.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am So., 12. Juli 2020 um 23:37 Uhr schrieb Philip Mundhenk <<a href="mailto:philip.mundhenk@protonmail.ch">philip.mundhenk@protonmail.ch</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I have file<br></div><div>~/.config/openbox/menu_test.xml<br></div><div><br></div><div>which contains what's between the #######s:<br></div><div>##########################################################################<br></div><div><?xml version="1.0" encoding="utf-8"?><br><openbox_menu xmlns="<a href="http://openbox.org/" target="_blank">http://openbox.org/</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://openbox.org/" target="_blank">http://openbox.org/</a>                 file:///usr/share/openbox/menu.xsd"><br>    <menu id="menu_test" label="menu test"><br><br>  <item label="proof it works"><br>    <action name="Execute"><br>      <command>xmessage Hello</command><br>      <startupnotify><br>        <enabled>yes</enabled><br>      </startupnotify><br>    </action><br>  </item><br><br></openbox_menu><br><br></div><div>##########################################################################<br></div><div>or here, if you prefer:<br></div><div><a href="https://pastebin.com/R7VqSqRQ" target="_blank">https://pastebin.com/R7VqSqRQ</a><br></div><div>per stat: Access: (0777/-rwxrwxrwx)<br></div><div>so perms shouldn't be the issue.<br></div><div><br></div><div><br></div><div><div><div>But when I attempt to invoke it, I get a zenity-like box with the title "Openbox" and the error message:<br></div><div><br></div><div>Attempted to access menu "menu_test" but it does not exist<br></div><div><br></div><div>I can't see anything weird about the file. It has an extra newline at the end per linux conventions. Except for the id and label values, which are unique, it has the same header as other menus located in the same directory. They work fine. Is there some low limit to the number of menus I can define?<br></div><div><br></div><div>This is under pclos, the plain Openbox version. It's in the Mandrake family of distros and nobody at that forum has any ideas.<br></div></div><div><br></div><div>Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" rel="noreferrer" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</blockquote></div>