Re: update-menus
Subject: Re: update-menus
Date: Sun, May 09, 1999 at 04:22:20PM -0400
In reply to:Andrew Chung
Quoting Andrew Chung(anderoo@ac111.resnet.cornell.edu):
> > Looks like I have opened a can of worms here. Looks like I will
> > change WM to fvwm and start this all over again.
> >
> > Andrew, what WM are you running and do you see any of the above
> > happening?
>
> Here's what I added to get the menu entries:
> In ~/.menu/tcd:
> ?package(tcd):needs="text" title=tcd \
> section=Apps/Sound command=/usr/bin/tcd
> And in ~/.menu/gtcd:
> ?package(tcd):needs="x11" title=gtcd \
> section=Apps/Sound command=/usr/X11R6/bin/gtcd
>
> Then update-menus and it works perfectly... FYI, I'm using v1.5-19 of the
> menu package and 0.53.0-2 of WindowMaker. Also note that you can have only
> one menu entry per file...
I have menu-1.5-17 and wmaker-0.20.3-5.
Oh?
less /usr/lib/menu/netscape
?package(netscape4):needs=x11 section=Apps/Net title="Netscape
Navigator" command="/usr/bin/X11/netscape"
?package(netscape4):needs=x11 section=Apps/Net title="Netscape Mail"
command="/usr/bin/X11/netscape mailbox:"
?package(netscape4):needs=x11 section=Apps/Net title="Netscape News"
command="/usr/bin/X11/netscape news:"
I must be either too far behind or ahead. It seems you must be
running the unstable version, that works and I am running the stable
version, that doesn't.
>
> Also check your wmaker menu files. ~/GNUStep/Defaults/WMRootMenu should
> contain "menu.hook" and ~/GNUStep/Library/WindowMaker/menu.hook should have
> your current menu structure.
>
Yes, those are what I have. Well kind of, my menu is GNUstep not
GNUStep.
> If this doesn't work, maybe try 'update-menus -d 2> log' and then look through
> log.. It *should* have a line like
>
> Update-menus[13336]: ADDING: command="/usr/bin/tcd" needs="text"
> section="Apps/Sound" title="tcd"
>
Nope, that isn't what I get. the only entry in the log is
Reading menuentryfile /home/wtopa/.menu/gtcd and if I have no .menu
dir, Reading menuentryfile /etc/menu/gtcd.
But there are no ADDING lines containg it.
I thought that Slink had released 'working' programs. I just checked
and I have the latest Slink versions of menu amd wmaker. I will
upgrade those packages, as long as thay don't try to upgrade to Glib,
and give that a try. I should have mentioned in the beginning that I
was running Slink.
Wayne
--
Real computer scientists don't program in assembler. They don't write
in anything less portable than a number two pencil.
_______________________________________________________
Wayne T. Topa <wtopa@mindspring.com>
Reply to: