Re: local entry in menu
Break it up into 2 distinct files and put each of them
in /usr/lib/menu. Make sure that the permissions are
good. Also, for StarOffice, you may need to use the full
pathname instead of the tilde (I'm not sure about that one).
update-menus should then work. As for the sed error, I
always get that as well, but my menus seem to be just fine
anyway.
On Wed, Sep 05, 2001 at 10:22:22AM -0300, Mario Olimpio de Menezes wrote:
>
> 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
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
John Patton patton66@home.com
"The mind is its own place, and in itself can make a
heaven of Hell, a hell of Heaven." - John Milton
Reply to: