Re: menus for wmaker 0.60
On Tue, 22 Jun 1999, Lawrence Walton wrote:
> On Tue, Jun 22, 1999 at 01:50:55PM -0400, eric a. Farris wrote:
> >
> > does anyone else using them have root menu weirdness like this:
> >
> > Debian
> > Debian -> Debian
> > Apps
> > ...(etc)...
> > Workspace -> Workspace
> > Appearance -> Debian
> > Appearance -> Appearance
> > Background
> > ...(etc)...
> >
> > That is, some of my menus (the Root menu for one) have only one choice
> > on them, which leads to the other choices that used to be there.
i noticed this too. After looking into the matter, i found that a simple
change to /etc/menu-methods/wmaker seems to fix the problem. I also
noticed that someone already filed a bug report, hopefully they officially
fix it soon.
My /etc/menu-methods/wmaker is attached.
#!/usr/sbin/install-menu
#
# Generates Window Maker menus for all registered applications.
compat="menu-1"
!include menu.h
genmenu="menu.hook"
rootprefix="/etc/X11/WindowMaker/"
userprefix="GNUstep/Library/WindowMaker/"
treewalk=(M)
rootsection="/Debian"
function exec($action,$com)= \
" \"" $title "\" " ifnempty($shortcut, "SHORTCUT " $shortcut " ") $action " " esc($com,"*") "\n"
supported
x11= exec("EXEC",$command)
wm= exec("RESTART",$command)
text= exec("EXEC",term())
wmaker= exec("",$command ifnempty($arg," " $arg))
endsupported
preoutput= "/* Automatically generated file. Do not edit (see /usr/doc/menu/README) */\n\n#include \"wmmacros\"\n\n#include <menu.prehook>\n"
postoutput= "\n#include <menu.posthook>\n"
#preoutput= "/* Automatically generated file. Do not edit (see /usr/doc/menu/README) */\n\n#include \"wmmacros\"\n\nDebian MENU\n\n#include <menu.prehook>\n"
#
#postoutput= "\n#include <menu.posthook>\n\nDebian END\n"
startmenu= ifnempty($title, "\n" $title " MENU \n")
submenutitle= ""
endmenu= ifnempty($title, $title " END\n")
Reply to: