[openbox] menu not recognized

Philip Mundhenk philip.mundhenk at protonmail.ch
Sun Jul 12 17:29:10 EDT 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20200712/0f088c1e/attachment.htm>


More information about the openbox mailing list