[openbox] Multiple menu files

Robert Carson geekporn at gmail.com
Sun Jul 11 21:00:18 EDT 2004


I think there is something crufty about your menu.xml file.  Try
nameing it something else like 'my-menu.xml' and putting an entry into
rc.xml between the <menu> tags like this:

<file>my-menu.xml</file>

remember this is a NEW entry in RC.XML if you already have an menu
file entry between the <menu> tag then leave it alone.  hope this
helps...


On Sun, 11 Jul 2004 16:55:36 -0600, Jamin W. Collins
<jcollins at asgardsrealm.net> wrote:
> 
> 
> 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
> 


-- 
R. Carson


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d s+:+ a- C++++$ ULL+++>++++$ P+>++++ L+++>+++++$ !E- W N+ !o K-?
!w--- !O !M !V PS+ PE+ Y+ PGP+ !t !5 !X R+ !tv b++ !DI !D G++ e+ h----
r+++ y++++
------END GEEK CODE BLOCK------



More information about the openbox mailing list