Hi Maury! On Sat, 29 Apr 2000, Maury R. Merkin wrote:
> I finally (okay I'm slow but ...) figured out that the only apps which > update-menus will find are those which have been installed using *.deb > packages system. ('apt-get install' or 'dpkg -i' or however.) > > But I have several important (to me) apps which I've accumulated over > time in /usr/local/bin or /opt/bin or wherever. Is there any way to get > them on my menus? Yes! Read the doc in /usr/share/menu In short: o create a ~/.menu directory o put your menu files there: e.g: [EMAIL PROTECTED]:~/.menu$ cat local.netscape # menu for netscape. # taken from: # menu for xmms, localy installed. # this file derived from debians # made by PP on Wed Feb 9 22:05:21 CET 2000 ?package(local.netscape):\ needs=X11\ section=Apps/Net\ title="Netscape"\ longtitle="Netscape Navigator"\ command="/usr/local/bin/netscape"\ shortcut="Control+Mod1+c" important: packagename, the part in parenthensis, has to start with "local.", otherwise menu will take this as an packagename and only use the menu entry if the package is installed. I for example override xterm: [EMAIL PROTECTED]:~/.menu$ cat xterm # modified PP on ? # o added shortcut for XTerm # o changed xterm command to have color ?package(xterm):\ needs=x11\ section=XShells\ longtitle="Xterm: terminal emulator for X"\ title=Xterm\ command="xterm -bg black -fg lightblue3 +bdc +ulc"\ shortcut="Control+Mod1+x" o run update-menus. Since you now have your own menus db, you must run it as your user everytime you want it updated (afaik). the system menu files are in /usr/lib/menu. But don't touch them. If you want to change menus systemwide, your place is /etc/menu/ HTH yours, peter -- PGP encrypted messages prefered. http://www.cosy.sbg.ac.at/~ppalfrad/
pgpqP0v8k4voC.pgp
Description: PGP signature