On Fri, Jun 03, 2005 at 12:03:59AM -0400, Roberto C. Sanchez wrote:
> Package: menu
> Version: 2.1.24
> Severity: normal
>
> If I create a file in ~/.menu with an entry whose package name does not
> exist on the system, the menu option will not be created. For example:
>
> ?package(gnome-terminal):needs="X11"\
> section="Apps/Office"\
> title="OpenOffice.org Writer"\
> icon="/opt/share/icons/gnome/32x32/apps/openofficeorg-19-writer.png"\
> command="/opt/bin/openoffice.org-1.9 -writer"
>
> If I change the package name to openoffice.org, the menu entry
> disappears on update-menus. Chaging back to gnome-terminal (or any
> other package that is installed) brings it back. Note: I have
> OpenOffice installed from tarballs.
Of course, this is the documented behaviour. The whole purpose of
the Debian menu system is to not display menu entries for programs
which are not installed.
If you want to force a menu entry to be displayed, use a package
name of 'local.openoffice.org'.
See the menu manual, section "6.1. Configuring the menus"
A user can specify his/her own menu entries in the `~/.menu'
directory. The files can have an arbitrary file name as long as the
new syntax for the menu entries is used. They should start with
either
?package(installed-package):
or
?package(local.mystuff):
if it's something that isn't ``debian-officially'' installed. (Any
``package'' that starts with ```local.''' is considered installed.)
Cheers,
--
Bill. <[EMAIL PROTECTED]>
Imagine a large red swirl here.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]