[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Blackbox menus and the menu system



On Mon, 30 Apr 2001, Timothy Ball wrote:

> I've been trying to understand the update-menu system. Perhaps the
> parsing bit of my brain is set to off...
>
> What I would like is a way to include a Custom user menu inside the
> generated blackbox menu.
>
> I find if I edit the menu in /etc/X11/blackbox/blackbox-menu w/
> something like this:
>    [submenu] (UserMenu) {}
>       [include] (~/.blackbox/menu)
>    [end]
> I get what I want... but I can't see a clear way of adding this to
> /etc/menu-methods/blackbox. If anyone could shed some light that'd be
> "great".

	cp /etc/menu-methods/* ~/.menu-methods

	man update-menus

will get you started with a customized menu system, but may not work,
is an all or nothing affair, and doesn't help with tweaking the
blackbox menu generator.

I would probably ignore the menu building system and write a script
that runs when blackbox is fired up; it would copy the default menu to
my home dir and insert the custom stuff.  ~/.blackboxrc would have
"session.menuFile: $HOME/.blackbox/menu" in it, instead of
"session.menuFile: /usr/X11/blackbox/blackbox-menu".  This would be
trivial to do if you use startx, but I'm not sure where you would put
the code for g|k|xdm logins.


- Bruce



Reply to: