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

local entry in menu



Hi,

	I'm not being able to put a local entry in menu.
	I've tried /etc/menu/package, also $HOME/.menu/package without
success. Bellow are the file contents I'm trying:

/etc/menu/mozilla:
?package(mozilla):needs="x11" section="Apps/Net"  \
        title="Netscape 6" command="/usr/local/netscape/netscape" \
        icon="/usr/local/netscape/icons/mozicon16.xpm"

/etc/menu/StarOffice:
?package(StarOffice52):needs="x11" section="Apps/Editors"  \
        title="StarOffice 5.2" command="~/office52/soffice" \
        icon="/usr/local/office52/share/kde/icons/so52.xpm" \
        hints="Beginner,Big"

	Every time I run update-menus, the entries are not added and I
get the following error:
/etc/menu# update-menus -d
.... (lots of lines deleted)
Update-menus[7874]: Running method:/etc/menu-methods//fvwm
Update-menus[7874]: Running method:/etc/menu-methods//kdm
sed: -e expression #1, char 1: Unknown command: ``-''

	This message appears long after the files were read, both in
/etc/menu and in $HOME/.menu
	Any hints?

[]s,
Mario O.de Menezes            "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario                 Prov. 19.21




Reply to: