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

Re: Adding stuff to menus



On Sun, May 27, 2001 at 12:14:57AM -0600, Cameron Matheson wrote:
> Hey,
> 
> I have a bunch of programs that I've compiled over time, and I kind of want
> to add them to the debian menus.  How would I do this?  Is this window-manager
> specific, or is their a global way to do this?  It seems if I do use a window
> manager's configuration utility, everytime I install a new package, it overrides
> the menu.

It's easy with Debian's menu system.  See /etc/menu/README.

Example:

?package(local.mozilla):\
        needs="x11"\
        section="Apps/Net/Mozilla"\
        title="Mozilla 0.9"\
        command="/usr/local/bin/mozilla"\
        icon="/usr/local/mozilla/icons/mozicon16.xpm"

The "local" tells update-menus that it's a "local" package of all things!

Then run "update-menus"...

-- 
Eric G. Miller <egm2@jps.net>



Reply to: