/etc/menu/*
/usr/lib/menu/*
/usr/share/menu/*
Please read the Debian menu manual available in /usr/share/doc/menu/html for the complete specification of menu files.
The menu files are usually named after the Debian package that contains the programs listed in them. In it, you can list several "menu entries" that specify a specific item in the menu structure. Each menu entry specifies which packages it depends on; if that package are not installed, the menu entry will be ignored by update-menus(1). (In a menu entry you can specify pseudo-packages that start with "local."; update-menus will always use those menu entries). If you wish to remove an item from the menu entirely, make an empty menu file with the same name as the file you want to override.
?package(dosemu):needs="text" section="Applications/Emulators" title="Dosemu" command="dosemu"
?package(dosemu):needs="X11" section="Applications/Emulators" title="Dosemu" command="xdos"
The system administrator wants to override this file to change how dosemu is run, so /etc/menu/dosemu is created:
?package(dosemu):needs="text" section="Applications/Emulators" title="Dosemu" command="dosemu -A"
?package(dosemu):needs="X11" section="Applications/Emulators" title="Dosemu" command="xdos -A"
A user does not want Dosemu to appear in the menus at all, so the user creates an empty file named ~/.menu/dosemu.
?package(package-name):var1=value1 var2=value2 ...
Use `/' to separate sub-menu names, for example, "Applications/Editors" or "Games/Arcade".
Applications
Accessibility
Amateur Radio
Data Management
Editors
Education
Emulators
File Management
Graphics
Mobile Devices
Network
Communication
File Transfer
Monitoring
Web Browsing
Web News
Office
Programming
Project Management
Science
Astronomy
Biology
Chemistry
Data Analysis
Electronics
Engineering
Geoscience
Mathematics
Medicine
Physics
Social
Shells
Sound
System
Administration
Hardware
Language Environment
Monitoring
Package Management
Security
Terminal Emulators
Text
TV and Radio
Viewers
Video
Web Development
Games
Action
Adventure
Blocks
Board
Card
Puzzles
Simulation
Strategy
Tools
Toys
Help
Screen
Saving
Locking
Window Managers
FVWM Modules
Window Maker
?package(mypackage):needs="X11" section="Applications" icon="icon.xpm" hotkey="E" title="Editors"
Whenever any menu files are changed, you must run update-menus(1)
~/.menu/*
(Man page by Joey Hess, <joeyh@debian.org>)