[openbox] Multiple menu files

Jamin W. Collins jcollins at asgardsrealm.net
Sun Jul 11 18:55:36 EDT 2004


On Thu, Jul 08, 2004 at 04:06:43AM +0200, Mikael Magnusson wrote:
> On Wed, 7 Jul 2004, Jamin W. Collins wrote:
> >
> >And if the debian-menu.xml does exist?
> 
> Then you aren't doing anything wrong afaict, since it works when i do
> that with your file. Check if there are any messages on stdout

Starting openbox with the following:

openbox --debug > ~/.logs/openbox.log 2>&1

The only error messages I see in the log when attempting to access the
menu are:

(openbox:27683): Openbox-WARNING **: Attempted to access menu 'root-menu' but it does not exist.

This message is repeated once for each access attempt.

Both the original menu file and my custom exist:

$ ls -l /var/lib/openbox/debian-menu.xml 
-rw-r--r--    1 root     root        22960 2004-07-09 17:43 /var/lib/openbox/debian-menu.xml

ls -l ~/.config/openbox/menu.xml 
-rw-r--r--    1 jcollins jcollins     4855 2004-07-11 16:46 /home/jcollins/.config/openbox/menu.xml

And near as I can tell the configuration section is right:

<menu>
  <!-- You can specify more than one menu file in here and they are all loaded,
       just don't make menu ids clash or, well, it'll be kind of pointless -->

  <!-- system menu files on Debian systems -->
  <file>/var/lib/openbox/debian-menu.xml</file>

  <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  <file>menu.xml</file>
</menu>

-- 
Jamin W. Collins

Facts do not cease to exist because they are ignored. -- Aldous Huxley,
"Proper Studies", 1927



More information about the openbox mailing list