[openbox] menu not recognized

Marcus Schätzle kickshaw22 at gmail.com
Sun Jul 12 18:58:11 EDT 2020


Your example menu has two issues:
- the closing </menu> tag is missing between </item> and <openbox_menu>
- the menu id has to be "root-menu" instead of "menu_test".

If these two changes are applied, the item shows up.

Am So., 12. Juli 2020 um 23:37 Uhr schrieb Philip Mundhenk <
philip.mundhenk at protonmail.ch>:

> I have file
> ~/.config/openbox/menu_test.xml
>
> which contains what's between the #######s:
> ##########################################################################
> <?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_test" label="menu test">
>
>   <item label="proof it works">
>     <action name="Execute">
>       <command>xmessage Hello</command>
>       <startupnotify>
>         <enabled>yes</enabled>
>       </startupnotify>
>     </action>
>   </item>
>
> </openbox_menu>
>
> ##########################################################################
> or here, if you prefer:
> https://pastebin.com/R7VqSqRQ
> per stat: Access: (0777/-rwxrwxrwx)
> so perms shouldn't be the issue.
>
>
> But when I attempt to invoke it, I get a zenity-like box with the title
> "Openbox" and the error message:
>
> Attempted to access menu "menu_test" but it does not exist
>
> 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?
>
> This is under pclos, the plain Openbox version. It's in the Mandrake
> family of distros and nobody at that forum has any ideas.
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20200713/2f008143/attachment.htm>


More information about the openbox mailing list