On Fri, Oct 08, 2010 at 12:52:50AM +0200, Tamas TEVESZ wrote:
> 
> i suspect adding debian's menu format shouldn't be hard (/me eyes 
> brad:),

I forgot to attach the file last time, didn't I?
!F /etc/menu/wmaker
command="/usr/local/bin/wmaker" needs="wm" package="local.wmaker" 
section="Window Managers" sort="Window Maker 1" title="Window Maker (local)"
!L 8
command="/usr/local/src/wmaker/wmaker-crm/src/wmaker" needs="wm" 
package="local.wmaker" section="Window Managers" sort="Window Maker 2" 
title="Window Maker (dev)"
!L 11
command="EXIT" needs="wmaker" package="wmaker" section="/" sort="ZZ" 
title="Exit"
!L 14
command="SHUTDOWN" needs="wmaker" package="wmaker" section="/" sort="ZZ" 
title="Exit session"
!L 17
command="RESTART" needs="wmaker" package="wmaker" section="Window Maker" 
title="Restart"
!L 20
command="INFO_PANEL" needs="wmaker" package="wmaker" section="Window Maker" 
title="Info Panel ..."
!L 23
command="LEGAL_PANEL" needs="wmaker" package="wmaker" section="Window Maker" 
title="Legal Panel ..."
!L 26
arg="WPrefs" command="EXEC" needs="wmaker" package="wmaker" section="Window 
Maker" title="Preferences"
!L 29
command="WORKSPACE_MENU" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Workspaces"
!L 32
command="HIDE_OTHERS" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Hide Others"
!L 35
command="SHOW_ALL" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Show All"
!L 38
command="ARRANGE_ICONS" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Arrange Icons"
!L 41
command="SAVE_SESSION" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Save Session"
!L 44
command="CLEAR_SESSION" needs="wmaker" package="wmaker" section="WorkSpace" 
title="Clear Session"
!L 47
command="REFRESH" needs="wmaker" package="wmaker" section="Window Maker" 
title="Refresh screen"
!L 50
arg="appearance.menu" command="OPEN_MENU" needs="wmaker" package="wmaker" 
section="WorkSpace" title="Appearance"
!L 54
command="OPEN_MENU background.menu" needs="wmappearance" package="wmaker" 
section="Appearance" sort="$" title="Background"
!L 58
command="OPEN_MENU -noext LOCAL_STYLES_DIR STYLES_DIR USER_STYLES_DIR WITH 
setstyle" needs="wmappearance" package="wmaker" section="Appearance" sort="$" 
title="Styles"
!L 62
command="OPEN_MENU -noext LOCAL_THEMES_DIR THEMES_DIR USER_THEMES_DIR WITH 
setstyle" needs="wmappearance" package="wmaker" section="Appearance" sort="$" 
title="Themes"
!L 66
command="OPEN_MENU -noext LOCAL_ICON_SETS_DIR ICON_SETS_DIR USER_ICON_SETS_DIR 
WITH seticons" needs="wmappearance" package="wmaker" section="Appearance" 
sort="ss" title="Icon Sets"
!L 70
command="EXEC geticonset USER_ICON_SETS_DIR/\"%a(IconSet name)\"" 
needs="wmappearance" package="wmaker" section="Appearance" sort="zz" 
title="Save IconSet"
!L 74
command="EXEC getstyle -t USER_THEMES_DIR/\"%a(Theme name)\"" 
needs="wmappearance" package="wmaker" section="Appearance" sort="zz" 
title="Save Theme"
!F /usr/share/menu/xbindkeys
command="/usr/bin/xbindkeys" hints="Keys,Bind" longtitle="XBindKeys - associate 
keys or mouse buttons with shell commands." needs="X11" package="xbindkeys" 
section="Applications/Accessibility" title="xbindkeys"
!L 7
!F /usr/share/menu/wmmount
command="wmmount -- -w -s" needs="X11" package="wmmount" 
section="Applications/System/Monitoring" title="wmmount"
!L 3
!F /usr/share/menu/barrybackup-gui
command="/usr/bin/barrybackup" hints="Blackberry Backup Utility" needs="X11" 
package="barrybackup-gui" section="Applications/Mobile Devices" title="Barry 
Backup"
!L 10
!F /usr/share/menu/gadmin-samba
command="/usr/sbin/gadmin-samba" description="gadmin-samba is an easy to use 
GTK+ frontend for the samba server." icon="/usr/share/pixmaps/gadmin-samba.xpm" 
longtitle="GTK+ configuration tool for samba" needs="X11" 
package="gadmin-samba" section="Applications/System/Administration" 
title="gadmin-samba"
!L 5
!F /usr/share/menu/info
command="info" longtitle="GNU Info browser" needs="text" package="info" 
section="Help" title="Info"
!L 3
!F /usr/share/menu/openoffice.org-calc
command="/usr/bin/oocalc" hints="Spreadsheets" 
icon="/usr/share/icons/hicolor/32x32/apps/openofficeorg3-calc.xpm" 
kderemove="y" needs="X11" package="openoffice.org-calc" 
section="Applications/Office" title="OpenOffice.org Calc"
!L 7
!F /usr/share/menu/pidgin
command="/usr/bin/pidgin" icon="/usr/share/pixmaps/pidgin-menu.xpm" 
longtitle="Multi-protocol Instant Messaging Client" needs="X11" 
package="pidgin" section="Applications/Network/Communication" title="Pidgin"
!L 5
!F /usr/share/menu/pdl
command="/usr/bin/perldl" needs="text" package="pdl" 
section="Applications/Science/Mathematics" title="PerlDl"
!L 6
!F /usr/share/menu/openoffice.org-draw
command="/usr/bin/oodraw" hints="Drawing" 
icon="/usr/share/icons/hicolor/32x32/apps/openofficeorg3-draw.xpm" 
kderemove="y" needs="X11" package="openoffice.org-draw" 
section="Applications/Graphics" title="OpenOffice.org Draw"
!L 7
!F /usr/share/menu/xzgv
command="/usr/bin/xzgv" hints="Images" icon="/usr/share/pixmaps/xzgv.xpm" 
needs="X11" package="xzgv" section="Applications/Viewers" title="xzgv Image 
Viewer"
!L 4
!F /usr/share/menu/grip
command="/usr/bin/grip" icon="/usr/share/pixmaps/grip.xpm" 
longtitle="CD-player/ripper/encoder" needs="X11" package="grip" 
section="Applications/Sound" title="Grip"
!L 4
!F /usr/share/menu/telnet-ssl
command="/usr/bin/telnet-ssl" hints="Terminal" needs="text" 
package="telnet-ssl" section="Applications/Network/Communication" 
title="Telnet-SSL"
!L 4
!F /usr/share/menu/sun-java6-bin
command="/usr/lib/jvm/java-6-sun-1.6.0.21/bin/policytool" hints="Java2" 
icon="/usr/share/pixmaps/sun-java6.xpm" needs="x11" package="sun-java6-bin" 
section="Applications/System/Security" title="Sun Java 6 Policy Tool"
!L 14
command="/usr/lib/jvm/java-6-sun-1.6.0.21/bin/ControlPanel" hints="Java2" 
icon="/usr/share/pixmaps/sun-java6.xpm" needs="x11" package="sun-java6-bin" 
section="Applications/System/Administration" title="Sun Java 6 Plugin Control 
Panel"
!L 22
command="/usr/lib/jvm/java-6-sun-1.6.0.21/bin/javaws -viewer" hints="Java2" 
icon="/usr/share/pixmaps/sun-java6.xpm" needs="x11" package="sun-java6-bin" 
section="Applications/Programming" title="Sun Java 6 Web Start"
!F /usr/share/menu/transmission-gtk
command="/usr/bin/transmission" icon="/usr/share/pixmaps/transmission.xpm" 
needs="X11" package="transmission-gtk" section="Applications/Network/File 
Transfer" title="Transmission BitTorrent Client (GTK)"
!L 4
!F /usr/share/menu/gnome-mplayer
command="gnome-mplayer" icon="/usr/share/pixmaps/gnome-mplayer.xpm" needs="X11" 
package="gnome-mplayer" section="Applications/Video" title="GNOME MPlayer"
!L 7
!F /usr/share/menu/pingus
command="/usr/games/pingus" icon="/usr/share/pixmaps/pingus.xpm" needs="X11" 
package="pingus" section="Games/Strategy" title="Pingus - Enhanced Lemmings 
clone"
!L 6
!F /usr/share/menu/docker
command="/usr/bin/docker" needs="x11" package="docker" 
section="Applications/Viewers" title="docker"
!L 3
!F /usr/share/menu/extremetuxracer
command="/usr/games/etracer" icon="/usr/share/pixmaps/etracer.xpm" 
longtitle="Extreme Tux Racer" needs="X11" package="extremetuxracer" 
section="Games/Action" title="etracer"
!L 8
!F /usr/share/menu/vlc
command="/usr/bin/qvlc" hints="Video" hotkey="V" 
icon="/usr/share/icons/hicolor/32x32/apps/vlc.xpm" needs="X11" package="vlc" 
section="Applications/Video" title="VLC media player"
!L 4
!F /usr/share/menu/guile-1.6
command="/usr/bin/guile-1.6" needs="text" package="guile-1.6" 
section="Applications/Programming" title="Guile 1.6"
!L 6
!F /usr/share/menu/xchat
command="/usr/bin/xchat" hints="IRC" icon="/usr/share/icons/xchat.xpm" 
needs="X11" package="xchat" section="Applications/Network/Communication" 
title="X Chat"
!L 4
!F /usr/share/menu/openbox
command="/usr/bin/openbox" icon="/usr/share/pixmaps/openbox.xpm" needs="wm" 
package="openbox" section="Window Managers" title="Openbox"
!L 4
!F /usr/share/menu/avidemux
command="/usr/bin/avidemux2_gtk" icon="/usr/share/pixmaps/avidemux-gtk.xpm" 
needs="X11" package="avidemux" section="Applications/Graphics" title="avidemux"
!L 5
!F /usr/share/menu/brasero
command="/usr/bin/brasero" longtitle="Brasero - CD/DVD burning application for 
GNOME" needs="X11" package="brasero" section="Applications/File Management" 
title="Brasero"
!F /usr/share/menu/rxvt-unicode
command="urxvt" icon="/usr/share/pixmaps/urxvt.xpm" longtitle="Rxvt-Unicode: 
terminal emulator for X" needs="x11" package="rxvt-unicode" 
section="Applications/Terminal Emulators" title="Rxvt-Unicode"
!L 12
command="urxvt -fn \"xft:Mono\" -rv" icon="/usr/share/pixmaps/urxvt.xpm" 
longtitle="Rxvt-Unicode: terminal emulator for X" needs="x11" 
package="rxvt-unicode" section="Applications/Terminal Emulators" 
title="Rxvt-Unicode (Black, Xft)"
!F /usr/share/menu/lyx
command="lyx" hints="Word processors" icon="/usr/share/pixmaps/lyx-32x32.xpm" 
needs="X11" package="lyx" section="Applications/Office" title="LyX Document 
Processor"
!L 4
!F /usr/share/menu/gimp
command="/usr/bin/gimp" hints="Bitmap" hotkey="Gimp" 
icon="/usr/share/pixmaps/gimp.xpm" needs="X11" package="gimp" 
section="Applications/Graphics" title="The GIMP"
!L 4
!F /usr/share/menu/transfermii-gui
command="/usr/bin/transfermii_gui" 
icon32x32="/usr/share/pixmaps/transfermii_gui-32.xpm" needs="X11" 
package="transfermii-gui" section="Applications/System/Hardware" 
title="transfermii"
!L 7
!F /usr/share/menu/xless
command="xless /usr/share/doc/xless/xless.help" needs="X11" package="xless" 
section="Applications/Viewers" title="XLess"
!L 3
!F /usr/share/menu/bash
command="/bin/bash --login" needs="text" package="bash" 
section="Applications/Shells" title="Bash"
command="/bin/sh --login" needs="text" package="bash" 
section="Applications/Shells" title="Sh"
!F /usr/share/menu/font-manager
command="/usr/bin/font-manager" needs="X11" package="font-manager" 
section="Applications/Graphics" title="Font Manager"
!L 5
!F /usr/share/menu/wireshark
command="/usr/bin/wireshark" icon="/usr/share/pixmaps/wsicon32.xpm" needs="X11" 
package="wireshark" section="Applications/Network/Monitoring" title="Wireshark"
!L 6
!F /usr/share/menu/gnucash
command="gnucash" icon="/usr/share/gnucash/pixmaps/gnucash-icon-16x16.png" 
longtitle="GnuCash personal finance tracking program" needs="x11" 
package="gnucash" section="Applications/Office" title="GnuCash"
!L 6
!F /usr/share/menu/golly
command="/usr/games/golly" icon="/usr/share/pixmaps/golly.xpm" needs="X11" 
package="golly" section="Games/Puzzles" title="golly"
!L 4
!F /usr/share/menu/gparted
command="su-to-root -X -c /usr/sbin/gparted" 
icon="/usr/share/pixmaps/gparted.xpm" needs="X11" package="gparted" 
section="Applications/System/Administration" title="GNOME partition editor"
!L 7
!F /usr/share/menu/wicd-gtk
command="/usr/bin/wicd-gtk" icon="/usr/share/pixmaps/wicd-gtk.xpm" needs="X11" 
package="wicd-gtk" section="Applications/Network/Monitoring" title="WICD"
!L 6
!F /usr/share/menu/plan
command="/usr/bin/plan" needs="X11" package="plan" section="Applications/Data 
Management" title="plan"
!L 5
!F /usr/share/menu/python2.5
command="/usr/bin/python2.5" icon="/usr/share/pixmaps/python2.5.xpm" 
needs="text" package="python2.5" section="Applications/Shells" title="Python 
(v2.5)"
!L 5
!F /usr/share/menu/hugin
command="/usr/bin/hugin" longtitle="Hugin, make panoramas from multiple 
pictures" needs="X11" package="hugin" section="Applications/Graphics" 
title="Hugin"
!L 7
!F /usr/share/menu/psmisc
command="/usr/bin/pstree.x11" description="Displays a tree of processes" 
icon="/usr/share/pixmaps/pstree16.xpm" needs="text" package="psmisc" 
section="Applications/System/Monitoring" title="Pstree"
!L 9
command="/usr/bin/pstree" description="Displays a tree of processes" needs="vc" 
package="psmisc" section="Applications/System/Monitoring" title="Pstree"
!F /usr/share/menu/xterm
command="xterm" icon="/usr/share/pixmaps/xterm-color_32x32.xpm" 
longtitle="XTerm: terminal emulator for X" needs="x11" package="xterm" 
section="Applications/Terminal Emulators" title="XTerm"
!L 14
command="uxterm" icon="/usr/share/pixmaps/xterm-color_32x32.xpm" 
longtitle="XTerm: terminal emulator for X with Unicode support" needs="x11" 
package="xterm" section="Applications/Terminal Emulators" title="XTerm 
(Unicode)"
!F /usr/share/menu/monodevelop
command="/usr/bin/monodevelop" 
icon="/usr/share/icons/hicolor/scalable/apps/monodevelop.svg" needs="X11" 
package="monodevelop" section="Applications/Programming" title="MonoDevelop"
!L 4
!F /usr/share/menu/gnuplot-nox
command="/usr/bin/gnuplot" description="A command-line driven interactive 
plotting program.    Package for making 2D and 3D graphs from data and 
functions.    Supports lots of output formats, including drivers for many    
printers , (La)TeX, (x)fig, X11, PostScript, and so on." hints="Graphs" 
longtitle="Gnuplot - interactive plotting program" needs="text" 
package="gnuplot-nox" section="Applications/Science/Mathematics" title="Gnuplot"
!L 12
!F /usr/share/menu/pavucontrol
command="/usr/bin/pavucontrol" needs="X11" package="pavucontrol" 
section="Applications/Sound" title="pavucontrol"
!L 3
!F /usr/share/menu/wterm
command="/usr/bin/wterm" longtitle="Wterm: RXVT based terminal emulator for X" 
needs="X11" package="wterm" section="Applications/Terminal Emulators" 
title="Wterm"
!L 3
!F /usr/share/menu/timidity
command="timidity -ia" hints="Player" icon="/usr/share/pixmaps/timidity.xpm" 
needs="x11" package="timidity" section="Applications/Sound" title="TiMidity++"
!L 4
!F /usr/share/menu/wmacpi
command="/usr/bin/wmacpi" description="ACPI battery monitor dockapp for 
WindowMaker" needs="X11" package="wmacpi" 
section="Applications/System/Monitoring" title="Wmacpi"
!L 4
!F /usr/share/menu/ocaml-interp
command="/usr/bin/ocaml" hints="ocaml" icon="/usr/share/pixmaps/ocaml.xpm" 
longtitle="Ocaml Toplevel" needs="text" package="ocaml-interp" 
section="Applications/Programming" title="Ocaml"
!L 6
!F /usr/share/menu/gksu
command="/usr/bin/gksu -u root /usr/bin/x-terminal-emulator" 
icon="/usr/share/pixmaps/gksu-debian.xpm" longtitle="Runs an X terminal 
application. Uses GKsu to ask the password." needs="x11" package="gksu" 
section="Applications/Terminal Emulators" title="X-Terminal as root (GKsu)"
!L 8
!F /usr/share/menu/gdb
command="/usr/bin/gdb" hints="Debuggers" needs="text" package="gdb" 
section="Applications/Programming" title="GDB"
!L 4
!F /usr/share/menu/obconf
command="/usr/bin/obconf" icon="/usr/share/pixmaps/obconf.xpm" needs="x11" 
package="obconf" section="Applications/System/Administration" title="Openbox 
Configuration Manager"
!L 8
!F /usr/share/menu/gtk-recordmydesktop
command="/usr/bin/gtk-recordMyDesktop" 
icon="/usr/share/pixmaps/gtk-recordmydesktop.xpm" needs="X11" 
package="gtk-recordmydesktop" section="Applications/Graphics" 
title="gtk-recordmydesktop"
!L 4
!F /usr/share/menu/xmms2tray
command="/usr/bin/xmms2tray" icon="xmms2tray.xpm" needs="X11" 
package="xmms2tray" section="Applications/Sound" title="XMMS2tray"
!F /usr/share/menu/reportbug
command="/usr/bin/reportbug --exit-prompt" hints="Bug reporting" needs="text" 
package="reportbug" section="Applications/System/Administration" 
title="Reportbug"
!L 7
command="/usr/bin/reportbug --exit-prompt --ui gtk2" hints="Bug reporting" 
needs="x11" package="reportbug" section="Applications/System/Administration" 
title="Reportbug (GTK+)"
!F /usr/share/menu/wmudmount
command="/usr/bin/wmudmount" needs="X11" package="wmudmount" 
section="Applications/Viewers" title="wmudmount"
!L 3
!F /usr/share/menu/avidemux-qt
command="/usr/bin/avidemux2_qt4" icon="/usr/share/pixmaps/avidemux-qt.xpm" 
needs="X11" package="avidemux-qt" section="Applications/Graphics" 
title="avidemux"
!L 5
!F /usr/share/menu/texlive-base
command="/usr/bin/xdvi" hints="DVI,Documents" needs="x11" 
package="texlive-base" section="Applications/Viewers" title="XDvi"
!L 11
command="/usr/bin/texconfig" needs="text" package="texlive-base" 
section="Applications/System/Administration" title="TeXconfig"
!L 16
command="/usr/bin/texdoctk" needs="x11" package="texlive-base" section="Help" 
title="TeXdoctk"
!F /usr/share/menu/xzoom
command="xzoom" needs="x11" package="xzoom" 
section="Applications/Accessibility" title="Xzoom"
!L 3
!F /usr/share/menu/x11-utils
command="editres" longtitle="Editres: resource editor for X Toolkit 
applications" needs="x11" package="x11-utils" 
section="Applications/System/Administration" title="Editres"
!L 12
command="x-terminal-emulator -e xev" longtitle="Xev: display X events" 
needs="x11" package="x11-utils" section="Applications/System/Monitoring" 
title="Xev"
!L 19
command="xfontsel" hints="Fonts" longtitle="Xfontsel: font viewer/selector for 
X" needs="x11" package="x11-utils" section="Applications/System/Administration" 
title="Xfontsel"
!L 25
command="xkill" longtitle="Xkill: tool to kill X clients by clicking on their 
windows" needs="x11" package="x11-utils" 
section="Applications/System/Administration" title="Xkill"
!F /usr/share/menu/iceweasel
command="iceweasel" icon="/usr/share/pixmaps/iceweasel.xpm" 
longtitle="Iceweasel Web Browser" needs="x11" package="iceweasel" 
section="Applications/Network/Web Browsing" title="Iceweasel"
!L 6
!F /usr/share/menu/wmfsm
command="/usr/bin/wmfsm" hints="Monitoring,Dockapp" needs="X11" package="wmfsm" 
section="Applications/System/Administration" title="WMfsm"
!L 7
!F /usr/share/menu/pdfedit
command="/usr/bin/pdfedit" needs="x11" package="pdfedit" 
section="Applications/Editors" title="PDFEdit"
!L 3
!F /usr/share/menu/wmsmpmon
command="/usr/bin/wmsmpmon" needs="X11" package="wmsmpmon" 
section="Applications/System" title="wmsmpmon"
!L 6
!F /usr/share/menu/fluxconf
command="/usr/bin/fluxconf" needs="X11" package="fluxconf" 
section="Applications/System/Administration" title="fluxconf"
!L 8
command="/usr/bin/fluxkeys" needs="X11" package="fluxconf" 
section="Applications/System/Administration" title="fluxkeys"
!L 12
command="/usr/bin/fluxmenu" needs="X11" package="fluxconf" 
section="Applications/System/Administration" title="fluxmenu"
!F /usr/share/menu/procps
command="/usr/bin/top" description="Display Linux tasks" needs="text" 
package="procps" section="Applications/System/Monitoring" title="Top"
!L 5
!F /usr/share/menu/gfpoken
command="/usr/games/gfpoken" icon="/usr/share/pixmaps/gfpoken.xpm" needs="X11" 
package="gfpoken" section="Games/Puzzles" title="GFingerPoken"
!L 4
!F /usr/share/menu/python2.6
command="/usr/bin/python2.6" icon="/usr/share/pixmaps/python2.6.xpm" 
needs="text" package="python2.6" section="Applications/Programming" 
title="Python (v2.6)"
!L 5
!F /usr/share/menu/fortune-mod
command="sh -c 'while /usr/games/fortune | col -x | xmessage -center -buttons 
OK:1,Another:0 -default OK -file - ; do :; done'" needs="x11" 
package="fortune-mod" section="Applications/Text" title="Fortune"
!L 11
command="sh -c '/usr/games/fortune; echo; echo Press return to continue; read 
returnkey'" needs="text" package="fortune-mod" section="Applications/Text" 
title="Fortune"
!L 13
!F /usr/share/menu/octave3.2
command="/usr/bin/octave-3.2.4" needs="text" package="octave3.2" 
section="Applications/Science/Mathematics" title="Octave (3.2)"
!L 5
!F /usr/share/menu/lynx-cur
command="lynx" needs="text" package="lynx-cur" 
section="Applications/Network/Web Browsing" title="Lynx-cur"
!L 3
!F /usr/share/menu/stalonetray
command="/usr/bin/stalonetray" needs="X11" package="stalonetray" 
section="Applications/System/Administration" title="stalonetray"
!L 3
!F /usr/share/menu/wmmon
command="/usr/bin/wmmon" hints="Monitoring,Dockapp" needs="X11" package="wmmon" 
section="Applications/System" title="WMmon"
!L 7
!F /usr/share/menu/dash
command="/bin/dash -i" needs="text" package="dash" 
section="Applications/Shells" title="Dash"
!L 6
!F /usr/share/menu/mousepad
command="/usr/bin/mousepad" icon="/usr/share/pixmaps/mousepad.xpm" needs="X11" 
package="mousepad" section="Applications/Editors" title="MousePad"
!L 7
!F /usr/share/menu/ace-of-penguins
command="/usr/games/ace-freecell" needs="X11" package="ace-of-penguins" 
section="Games/Card" title="Penguin Freecell"
!L 4
command="/usr/games/ace-golf" needs="X11" package="ace-of-penguins" 
section="Games/Card" title="Penguin Golf"
!L 6
command="/usr/games/ace-mastermind" needs="X11" package="ace-of-penguins" 
section="Games/Puzzles" title="Penguin Mastermind"
!L 8
command="/usr/games/ace-merlin" needs="X11" package="ace-of-penguins" 
section="Games/Puzzles" title="Penguin Merlin"
!L 10
command="/usr/games/ace-minesweeper" hints="Mines" needs="X11" 
package="ace-of-penguins" section="Games/Puzzles" title="Penguin Minesweeper"
!L 12
command="/usr/games/ace-pegged" needs="X11" package="ace-of-penguins" 
section="Games/Puzzles" title="Penguin Pegged"
!L 14
command="/usr/games/ace-solitaire" needs="X11" package="ace-of-penguins" 
section="Games/Card" title="Penguin Solitaire"
!L 16
command="/usr/games/ace-canfield" needs="X11" package="ace-of-penguins" 
section="Games/Card" title="Penguin Canfield"
!L 18
command="/usr/games/ace-thornq" needs="X11" package="ace-of-penguins" 
section="Games/Card" title="Penguin Thornq"
!L 20
command="/usr/games/ace-taipei" hints="Mahjongg" needs="X11" 
package="ace-of-penguins" section="Games/Board" title="Penguin Taipei"
!L 22
command="/usr/games/ace-taipedit" hints="Mahjongg" needs="X11" 
package="ace-of-penguins" section="Games/Board" title="Penguin Taipei-Editor"
!F /usr/share/menu/wmpasman
command="/usr/bin/wmpasman" needs="X11" package="wmpasman" 
section="Applications/System/Security" title="wmpasman"
!L 3
!F /usr/share/menu/wmweather+
command="/usr/bin/wmweather+" needs="X11" package="wmweather+" 
section="Applications/Science/Geoscience" title="wmweather+"
!L 3
!F /usr/share/menu/fluxbox
command="/usr/bin/startfluxbox" needs="wm" package="fluxbox" section="Window 
Managers" title="FluxBox"
!F /usr/share/menu/qemu-launcher
command="/usr/bin/qemu-launcher" hints="QEMU,Emulator,Virtual" 
icon="/usr/share/pixmaps/qemu-launcher-16x16.xpm" 
icon16x16="/usr/share/pixmaps/qemu-launcher-16x16.xpm" 
icon32x32="/usr/share/pixmaps/qemu-launcher-32x32.xpm" longtitle="Manage 
virtual machine configurations" needs="x11" package="qemu-launcher" 
section="Applications/Emulators" title="Qemu Launcher"
!L 11
!F /usr/share/menu/evince
command="/usr/bin/evince" hints="Documents,GNOME" 
icon="/usr/share/pixmaps/evince.xpm" needs="X11" package="evince" 
section="Applications/Viewers" title="Evince"
!L 4
!F /usr/share/menu/w3m
command="/usr/bin/w3m /usr/share/doc/w3m/MANUAL.html" hints="Web browsers" 
needs="text" package="w3m" section="Applications/Network/Web Browsing" 
title="w3m"
!L 6
!F /usr/share/menu/sane
command="/usr/bin/xscanimage" description="xscanimage provides a graphical      
        user interface to control an image acquisition device           such as 
a flatbed scanner or a camera." 
icon="/usr/share/sane/xscanimage-icon-32x32-2.xpm" needs="X11" package="sane" 
section="Applications/Graphics" title="xscanimage"
!L 12
command="/usr/bin/xcam" description="xcam provides a graphical                  
user interface to control an image acquisition device           such as a 
flatbed scanner or a camera." 
icon="/usr/share/sane/xscanimage-icon-32x32-2.xpm" needs="X11" package="sane" 
section="Applications/Graphics" title="xcam"
!F /usr/share/menu/pinfo
command="pinfo" needs="text" package="pinfo" section="Help" title="Info Browser"
!L 3
!F /usr/share/menu/mutt
command="/usr/bin/mutt" hints="Mail" icon="/usr/share/pixmaps/mutt.xpm" 
needs="text" package="mutt" section="Applications/Network/Communication" 
title="Mutt"
!L 6
!F /usr/share/menu/wmsystemtray
command="/usr/bin/wmsystemtray" needs="X11" package="wmsystemtray" 
section="Applications/Viewers" title="wmsystemtray"
!L 3
!F /usr/share/menu/imagemagick
command="/usr/bin/display logo:" hints="Images" 
icon="/usr/share/pixmaps/display.xpm" needs="X11" package="imagemagick" 
section="Applications/Graphics" title="ImageMagick"
!L 4
!F /usr/share/menu/xpdf
command="/usr/bin/xpdf" hints="Documents" icon="/usr/share/pixmaps/xpdf.xpm" 
longtitle="Xpdf: Portable Document Format (PDF) file viewer for X" needs="x11" 
package="xpdf" section="Applications/Viewers" title="Xpdf"
!L 9
!F /usr/share/menu/x11-xserver-utils
command="xrefresh" longtitle="Xrefresh: redraw X screen" needs="x11" 
package="x11-xserver-utils" section="Applications/System/Administration" 
title="Xrefresh"
!L 13
command="xvidtune" hints="Config" longtitle="Xvidtune: tool for customizing X 
server modelines" needs="x11" package="x11-xserver-utils" 
section="Applications/System/Hardware" title="Xvidtune"
!F /usr/share/menu/pavumeter
command="/usr/bin/pavumeter" needs="X11" package="pavumeter" 
section="Applications/Sound" title="pavumeter"
!L 3
!F /usr/share/menu/x11-apps
command="oclock" hints="Clocks" longtitle="Oclock: analog clock for X" 
needs="x11" package="x11-apps" section="Games/Toys" title="Oclock"
!L 14
command="xbiff" hints="Mail" longtitle="Xbiff: mailbox flag for X" needs="x11" 
package="x11-apps" section="Applications/Network/Communication" title="Xbiff"
!L 21
command="xcalc" hints="Calculators" longtitle="Xcalc: scientific calculator for 
X" needs="x11" package="x11-apps" section="Applications/Science/Mathematics" 
title="Xcalc"
!L 27
command="xclipboard" longtitle="Xclipboard: clipboard for text cut and paste 
operations in X" needs="x11" package="x11-apps" 
section="Applications/System/Administration" title="Xclipboard"
!L 34
command="xclock -analog" hints="Clocks" longtitle="Xclock (analog): analog 
clock for X" needs="x11" package="x11-apps" section="Games/Toys" title="Xclock 
(analog)"
!L 41
command="xclock -digital -update 1" hints="Clocks" longtitle="Xclock (digital): 
digital clock for X" needs="x11" package="x11-apps" section="Games/Toys" 
title="Xclock (digital)"
!L 47
command="xconsole -file /dev/xconsole" longtitle="Xconsole: monitor system 
console messages with X" needs="x11" package="x11-apps" 
section="Applications/System/Monitoring" title="Xconsole"
!L 54
command="xditview" hints="Troff" longtitle="Xditview: a ditroff file viewer for 
X" needs="x11" package="x11-apps" section="Applications/Viewers" 
title="Xditview"
!L 60
command="xedit" longtitle="Xedit: a simple text editor for X" needs="x11" 
package="x11-apps" section="Applications/Editors" title="Xedit"
!L 66
command="xeyes" longtitle="Xeyes: demo in which a pair of eyes follow the mouse 
pointer in X" needs="x11" package="x11-apps" section="Games/Toys" title="Xeyes"
!L 72
command="xload" longtitle="Xload: system load average display for X" 
needs="x11" package="x11-apps" section="Applications/System/Monitoring" 
title="Xload"
!L 78
command="xlogo" longtitle="Xlogo: demo which displays the X logo" needs="x11" 
package="x11-apps" section="Games/Toys" title="Xlogo"
!L 84
command="xmag" longtitle="Xmag: magnify parts of the X screen" needs="x11" 
package="x11-apps" section="Applications/Accessibility" title="Xmag"
!L 90
command="xman" longtitle="Xman: manual page browser for X" needs="x11" 
package="x11-apps" section="Help" title="Xman"
!L 97
command="xwd | xwud" hints="Screenshot" longtitle="X Window Snapshot: take 
snapshot of any X window (xwd|xwud)" needs="x11" package="x11-apps" 
section="Applications/Graphics" title="X Window Snapshot"
!F /usr/share/menu/wmweather
command="/usr/bin/wmweather" needs="X11" package="wmweather" 
section="Applications/Science/Geoscience" title="wmweather"
!L 3
!F /usr/share/menu/man2html
command="/usr/bin/hman -P sensible-browser" needs="x11" package="man2html" 
section="Help" title="Man2html"
!L 9
command="/usr/bin/hman -P sensible-browser" needs="text" package="man2html" 
section="Help" title="Man2html"
!L 11
!F /usr/share/menu/openoffice.org-writer
command="/usr/bin/oowriter" hints="Word Processors" 
icon="/usr/share/icons/hicolor/32x32/apps/openofficeorg3-writer.xpm" 
kderemove="y" needs="X11" package="openoffice.org-writer" 
section="Applications/Office" title="OpenOffice.org Writer"
!L 7
!F /usr/share/menu/tcl8.5
command="/usr/bin/tclsh8.5" needs="text" package="tcl8.5" 
section="Applications/Programming" title="Tclsh8.5"
!L 5
!F /usr/share/menu/ruby1.8
command="/usr/bin/irb1.8" needs="text" package="ruby1.8" 
section="Applications/Programming" title="Ruby (irb1.8)"
!L 3
!F /usr/share/menu/wmifs
command="/usr/bin/wmifs" needs="x11" package="wmifs" 
section="Applications/Network/Monitoring" title="WMifs"
!F /usr/share/menu/inkscape
command="/usr/bin/inkscape" hints="Vector" 
icon="/usr/share/pixmaps/inkscape.xpm" longtitle="Vector based drawing program" 
needs="X11" package="inkscape" section="Applications/Graphics" title="Inkscape"
!L 6
!F /usr/share/menu/paman
command="/usr/bin/paman" needs="X11" package="paman" 
section="Applications/Sound" title="paman"
!L 3
!F /usr/share/menu/aptitude
command="/usr/bin/aptitude-curses" hints="apt" longtitle="Terminal-based 
software package manager" needs="text" package="aptitude" 
section="Applications/System/Administration" title="Aptitude (terminal)"
!L 7
!F /usr/share/menu/bc
command="/usr/bin/bc" hints="Calculators" needs="text" package="bc" 
section="Applications/Science/Mathematics" title="Bc"
!F /usr/share/menu/gv
command="/usr/bin/gv" hints="PostScript,Documents" 
icon="/usr/share/pixmaps/mini-gv.xpm" needs="x11" package="gv" 
section="Applications/Viewers" title="GV"
!L 4
!F /usr/share/menu/wmgui
command="/usr/bin/wmgui" icon16x16="/usr/share/pixmaps/wmgui-16.xpm" 
icon32x32="/usr/share/pixmaps/wmgui-32.xpm" needs="X11" package="wmgui" 
section="Applications/System/Hardware" title="wmgui"
!L 8
!F /usr/share/menu/kismet
command="/usr/bin/su-to-root -c /usr/bin/kismet" hints="Monitoring" 
needs="text" package="kismet" section="Applications/Network/Monitoring" 
title="Kismet"
!L 5
!F /usr/share/menu/tcl8.4
command="/usr/bin/tclsh8.4" needs="text" package="tcl8.4" 
section="Applications/Programming" title="Tclsh8.4"
!L 5
!F /usr/share/menu/sgt-puzzles
command="/usr/games/blackboxgame" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Black Box"
command="/usr/games/bridges" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Bridges"
command="/usr/games/cube" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Cube"
command="/usr/games/dominosa" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Dominosa"
command="/usr/games/fifteen" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Fifteen"
command="/usr/games/flipgame" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Flip"
command="/usr/games/filling" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Filling"
command="/usr/games/galaxies" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Galaxies"
command="/usr/games/guess" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Guess"
command="/usr/games/inertia" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Inertia"
command="/usr/games/keen" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Keen"
command="/usr/games/lightup" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Light Up"
command="/usr/games/loopy" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Loopy"
command="/usr/games/magnets" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Magnets"
command="/usr/games/map" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Map"
command="/usr/games/mines" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Mines"
command="/usr/games/netgame" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Net"
command="/usr/games/netslide" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Netslide"
command="/usr/games/pattern" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Pattern"
command="/usr/games/pegs" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Pegs"
command="/usr/games/rect" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Rectangles"
command="/usr/games/samegame" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Same Game"
command="/usr/games/singles" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Singles"
command="/usr/games/sixteen" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Sixteen"
command="/usr/games/slant" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Slant"
command="/usr/games/solo" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Solo"
command="/usr/games/tents" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Tents"
command="/usr/games/towers" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Towers"
command="/usr/games/twiddle" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Twiddle"
command="/usr/games/unequal" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Unequal"
command="/usr/games/untangle" needs="x11" package="sgt-puzzles" 
section="Games/Puzzles" title="Untangle"
!F /usr/share/menu/heirloom-mailx
command="/usr/bin/heirloom-mailx" hints="Mail" needs="text" 
package="heirloom-mailx" section="Applications/Network/Communication" 
title="heirloom-mailx"
!L 7
#!/usr/bin/install-menu
#
# Generates Window Maker menus for all registered applications.

!include menu.h
compat="menu-1";
outputencoding="UTF-8"

genmenu="menu.hook"
rootprefix="/usr/local/etc/X11/WindowMaker/"
userprefix=shell("echo -n /${GNUSTEP_USER_ROOT-GNUstep}") 
"/Library/WindowMaker/"
treewalk="(M)"
rootsection="/Debian"


function mytitle()=replacewith(title(),"\"","'")
function indent($comma)=$comma "\n" nstring(level()," ")

function exec($action,$com)= \
        indent(",") "(\"" mytitle() "\", " $action ifnempty($com, ", \"" 
esc($com,"\\\"") "\"" ) ")"

supported
x11=    exec("SHEXEC",$command) 
wm=     exec("RESTART",$command) 
text=   exec("SHEXEC",term())
wmaker= exec($command, ifnempty($arg,$arg))
endsupported

preoutput= ""
postoutput = "\n"

mainmenutitle=""
submenutitle= ""

startmenu= ifelse(mytitle(), \
               indent(",") "(\"" mytitle() "\"", \
               "(\"Debian\"" \
           )
endmenu=   indent("") ")"

Reply via email to