Book HomeLinux in a NutshellSearch this book

15.3. The Main Menu

By default, the GNOME panel contains one menu -- the main menu. It is displayed using the first button on the right with the GNOME foot icon on it (sometimes it is called the foot menu). The default main menu offers a number of items and submenus divided into sections:

You will notice that the top entry for each menu section and each submenu is not an actionable item. It is the titlebar for the menu. Right-clicking a titlebar opens a pop-up menu containing a couple of options:

Add this as drawer to panel

Takes the current submenu and converts it to a drawer on the panel.

Add this as menu to panel

Copies the menu to a new menu launcher on the panel. Keep in mind that the submenu from the main menu and the menu on the panel are the same. You can edit the submenu in the menu editor, and the changes will occur in the Panel menu.

Add this to personal menu

Copies the menu to the User menu.

The default configuration of the main menu makes it a bit difficult to customize. Since the System menus are set and cannot be altered (unless you are root), you can initially configure only the User menu section.

The best way to make a fully customizable main menu (other than being root all the time) is to copy the desired parts of the System menu to your User menu. Once you have done this, you can edit the User menu in the menu editor to your liking.

15.3.1. Menu Display Properties

You can choose which menus are displayed by using the menu properties. Right-click the menu button and choose Properties to open this dialog. The Menu Properties window contains display settings for the System menu, User menu, and any other default menus you have installed. You can choose to display each menu as either fully listed, in a submenu, or not displayed at all.

15.3.2. Editing the Menu

The Menu Editor, shown in Figure 15-3, lets you add and remove items from your menu and move them around. To open the menu editor, select Settings, then Menu Editor from the main menu.

Figure 15-3

Figure 15-3. The Menu Editor

The menu editor is divided into two sections: the left window displays the hierarchy of the User and System menus and the items they contain. You can reorder menu items or move them to other submenus by clicking and dragging them in the left window. The right window shows the properties of an item selected in the left window.

The buttons on the toolbar provide you with the following actions on a selected menu item: add a new submenu, add a new item, delete the selection, move it up or down, and sort a submenu.

To add a new submenu, select the menu in which you want to place it in the menu tree and click the New Submenu button. Provide the name of the submenu in the right window and click OK.

To add a new item to the menu, select its location in the menu tree and click the New Item button. The right window displays the properties settings for the item. Type in the name for the item, a comment for the tooltip, the command to launch the item, and its application type. Click OK to add the item to the menu.



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.