[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

# Debian Menu System

## Abstract

The `menu` package was inspired by the `install-fvwm2-menu` program from the old `fvwm2` package. However, `menu` tries to provide a more general interface for menu building. With the `update-menus` command from this package, no package needs to be modified for every X window manager again, and it provides a unified interface for both text- and X-oriented programs.

## Copyright Notice

Copyright ©1997 Joost Witteveen, Joey Hess, Christian Schwarz. ©2002-2005 Bill Allombert.

This manual is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

A copy of the GNU General Public License is available as `/usr/share/common-licenses/GPL` in the Debian GNU/Linux distribution or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html`. You can also obtain it by writing to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

## Contents

- 1 Introduction
- 2 Menu from the viewpoint of a user
  - 2.1 How/when do the window manager startup files get created?
  - 2.2 Tuning of the generated window manager startup files
  - 2.3 Optimization of menu tree: hints
- 3 The menu file
  - 3.1 Location
  - 3.2 Syntax
  - 3.3 The `title` field
  - 3.4 The `needs` field
  - 3.5 The `section` field
  - 3.6 The `command` field
  - 3.7 The `icon` field
  - 3.8 The `hints` field
  - 3.9 Entries for menu sections.
  - 3.10 Fvwm's task and title bars
- 4 What packages with applications should do
  - 4.1 Providing a menu file
  - 4.2 Adding a hook for dpkg in your packages
- 5 What packages with menu managers should do
- 6 How a user can override the menus
  - 6.1 Configuring the menus
  - 6.2 Specifying that a menu entry should not be displayed
  - 6.3 Including other files
- 7 The internals of the menu package
  - 7.1 The update-menus program
  - 7.2 The install-menu program
  - 7.3 The install-menu config script definitions
  - 7.4 Hints, tree optimization
- 8 Variables and functions in the install-menu scripts
  - 8.1 String constants
  - 8.2 Variables
  - 8.3 Functions

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

Debian Menu System