menufile - entry in the Debian menu system
/etc/menu/*
/usr/lib/menu/*
This man page may be out of date in some places. Look at /usr/share/doc/menu/html for more up-to-date info.
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 "menu entries", that specify a specific item in the menu structure. Each menu entry specifies what package it depends on, if that package is 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=Apps/Emulators title="Dosemu" command=dosemu
?package(dosemu):needs=x11 section=Apps/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=Apps/Emulators title="Dosemu" command="dosemu -A"
?package(dosemu):needs=x11 section=Apps/Emulators title="Dosemu" command="xdos -A"
A user does not want Dosemu to appear on his menus at all, so he creates an empty file named ~/.menu/dosemu .
?package(package-name):var1=value var2=varlue2 ...
Use `/' to separate sub-menu names, for example, "Apps/Editors" or "Games/Arcade".
Apps -- Normal apps
Databases -- Interactive database programs
Editors -- Editors
Emulators -- dosemu, ...
Education -- Educational and training programs
Graphics -- Image manipulation
Hamradio -- Anything relating to ham radio.
Math -- Math apps: gnuplot, octave, oleo, ...
Net -- mail, news, web, irc, etc
Programming -- Debuggers, etc
Science -- Scientific programs
Tools -- Other tools: xclock, xmag, xman, ...
Technical -- Technical stuff
Text -- Text oriented tools other than editors
Shells -- Different shells, like bash, zsh, ...
Sound -- Sound players and editors
Viewers -- Picture viewers, gs, ...
System -- System administration and monitoring
Games -- Games and recreations
Adventure -- Walk around virtual space, zork, MOO's, ...
Arcade -- Any game where reflexes count
Board -- Like: Gnuchess, pente, gnugo
Card -- solitaire, etc
Puzzles -- Stuff from xpuzzles, ...
Sports -- Games derived from "real world" sports
Strategy -- Games involving long term strategic thinking
Simulation -- Flight simulators, etc
Tetris-like -- Games involving falling blocks
Toys -- oneko, xeyes, etc
Screen -- Programs that affect the whole screen
Lock -- xlock, etc
Save -- Screen savers
Root-window -- Things that fill the root window
Window-managers -- Switch between fvwm, afterstep, ...
Modules -- fvwm modules, etc
XShells -- Shells (like xterm, rxvt, ...)
?package(mypackage):needs=X11 section=Apps icon=icon.xpm hotkey=E title="Editors"
Whenever any menu files are changed, you must run update-menus(1)
~/.menus/*
(Man page by Joey Hess, <[email protected]>)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |