Re: Using update-menus?
"Gary L. Hennigan" wrote:
>
> I have mathematica installed on my system and was thinking it'd be
> nice to make this available via the menus. I know Debian has a nice
> method of doing things like this but I can't seem to make it work. I
> THOUGHT it was as easy as adding a menu entry in /etc/menu, so I
> installed a file called /etc/menu/mathematica with the contents:
>
> ?package(mathematica):\
> needs=x11\
> section=Apps/Math\
> title="Mathematica"\
> command=/usr/local/bin/mathematica
>
> and ran update-menus. Unfortunately I must be missing something
> because the entry didn't show up in my WindowMaker menu. Apps/Math
> only contains:
>
> Xcalc
> bc
> dc
>
> I tried various things, including a reboot, and a "update-menus -v",
> but I didn't see anything that was of use to me. Can someone shed some
> light on what I'm missing here?
>
> Thanks,
> Gary
The package name must be a real package thats really installed on
your system. Otherwise prefix 'local.' to the name. Look at
/usr/doc/menu/html/ch4.html
--
Ed C.
Reply to: