[openbox] Two Separate Menus: root-menu and Debian menu

Dana Jansens danakj at orodu.net
Mon Oct 5 17:56:17 EDT 2009


2009/10/5 Mikael Magnusson <mikachu at gmail.com>:
> On Mon, 5 Oct 2009, rent0n wrote:
>
>> Mikael Magnusson wrote:
>>>
>>>  On Mon, 5 Oct 2009, rent0n wrote:
>>>
>>> >  Hi,
>>> >  I'm trying to use two different menus on my openbox setup, do you
>>> > think >  it's possible?
>>> >  The first one is the classical root-menu, which i like to modify >
>>> >  manually editing the ./config/openbox/menu.xml file
>>> >  The second one should be the Debian Menu which i would like to call
>>> > with >  a different mousebind, say Shift + Right Click.
>>> > >  So i installed the menu package and i decommented these two lines on
>>> > > the >  rc.xml file:
>>> > >     <file>/var/lib/openbox/debian-menu.xml</file>
>>> >     <file>debian-menu.xml</file>
>>> >  After that  i created the new mousebind (S-Right) to show debian menu,
>>> > >  specyfing "Debian" as menu id.
>>> > >  Everything seemed to work fine as i was able to call the two
>>> > > different >  menus separately, with the two different mousebinds.
>>> >  The big problem is that some categories in my orginal root-menu >
>>> >  (Graphics, Office, System) are now filled with the debian menu stuff, >
>>> >  also if the original menu.xml has not been modified.
>>> > >  Anyone knows a way to use root-menu and debian menu separately
>>> > > without >  interferences?
>>> >  It would be so useful!
>>>
>>>  Make sure you don't use any of the same menu ids in your menu as the
>>>  debian menu, they're global.
>>>
>>
>> I don't know if i understood well..You mean there's no way to have a
>> System, Office and Graphics submenu inside my root-menu or they will be
>> "overwrited" by the debian menu, right?
>
> No.

He meant that no menus inside the "Debian" menu or the "Root" menu
should share an ID if you want to edit them independently.


More information about the openbox mailing list