# The &kmenuedit; Handbook

## Introduction

&kmenuedit; allows editing of &kde; Main menu.

&kmenuedit; can be started either by right-clicking the K Button, or by choosing Menu Edit from the System submenu of the Main menu.

&kmenuedit; allows you to:

- View and edit current Main menu

- Cut, Copy and paste menu items

- Create and delete submenus

## Using &kmenuedit;

The left application panel shows the Main menu structure. When you browse items in the left panel, the right panel shows detailed information for the highlighted menu item.

### General program information

Name

- This is the name of your program as it appears in the Main menu. It can be different from the real executable name. For instance the name of `mc` executable is "Midnight Commander".

Comment

- Describe the program in greater detail in this field. This is entirely optional.

Command

- This is the name of the executable program. Make sure that you have permission to run the program.

Type

- This field is similar to the Comment field. Describe the type of your program here.

Work Path

- Specify the work path of the program. This will be the current path when the program launches. It does not need to be the same as the executable location.

Icon List

- Click this icon to display a choice of icons. Choose an icon for your program.

Run in Terminal

- You must check this if your program requires terminal emulator in order to run. This mainly applies to console applications.

Terminal Options

- Put all terminal options in this field.

Run as different user

- If you want to run this program as a different user (not you), check this checkbox, and provide the username in the Username field.

You can assign a special keyboard shortcut to launch your program.

Click the empty button to the right of the Current key checkbox and press the key combination on your keyboard that you want to be assigned to your program.

A dialog box will pop up, allowing you to assign a second keybinding to the same item by checking the Alternate button. This might be useful, for example, if you often switch keyboard maps, and some shortcuts are not as convenient to type at all times.

Click the x to clear the shortcut, if you made a mistake. Check the Multi-Key box if you want to assign a shortcut that uses more than one key.

By default the Auto-Close box is checked, and the dialog will close when you have selected a keybinding. Uncheck it if you want the dialog to stay open.

## Menu Reference

File New Item

- Adds new menu item.

File New Submenu

- Adds new submenu.

&Ctrl;Q File Quit

- Quits &kmenuedit;.

&Ctrl;X Edit Cut

- Cuts the current menu item to the clipboard. If you want to move menu item, you should first cut it to the clipboard, move to the destination place using the left panel, and use the Paste function to paste the menu item from the clipboard.

&Ctrl;C Edit Copy

- Copies the current menu item to the clipboard. You can later use the Paste function to paste the copied menu itemfrom the clipboard to its destination. You can paste the same item many times.

&Ctrl;V Edit Paste

- Paste menu item from the clipboard to currently selected place in the Main menu. You must first use Cut or Copy before you can Paste.

Edit Delete

- Deletes currently selected menu item.

&help.menu.documentation;

### Glossary

Terminal emulator

Terminal emulator is simply a windowed shell; this is known as command line window in some other environments. If you want to use the shell, you should know at least a few of the system-level commands for your operating system.

Applet

A small application that occupies very little memory and screen space, and at the same time gives you some useful information or provides a control shortcut. For instance the Clock applet shows current time and date (and even a month diary if you click it), and System Monitor applet shows how busy your machine currently is in real-time.

Legacy Application

An X-window application which was not written with &kde; in mind. Such applications run fine in &kde;. However, they are not warned automatically when you shut down your &kde; session. You therefore must not forget to save documents open in these applications before you log out from &kde;.

Additionally, many of these applications do not support copying and pasting from &kde; compliant applications. &Netscape; 4.x browser is a prominent example of such application

Some GNOME applications may provide limited interoperability with the &kde;.

.
Console Application

Application originally written for non-graphic, text oriented environment. Such applications run fine in &kde;. They must run within console emulator, like &konsole;. They are not warned automatically when you shut down your &kde; session. You therefore must not forget to save documents open in these applications before you log out from the &kde;.

Console applications support copying and pasting from KDE-compliant applications.Simply mark the text in the console application with your mouse, switch to the KDE-compliant application and press &Ctrl; V to paste the text. If you want to copy from &kde; application to a console application, first mark the text with your mouse, press &Ctrl; C, switch to the console application and press the middle button on your mouse

If your mouse does not have a middle button, you must press left and right button at the same time. This is called middle button emulation and it must be supported by your operating system to work.

.

## Credits and License

&kmenuedit;

Program copyright © 2002, &Raffaele.Sandrini;

Contributors:

- &Matthias.Elter; &Matthias.Elter.mail; - Original Author

- &Matthias.Ettrich; &Matthias.Ettrich.mail;

- &Daniel.M.Duley; &Daniel.M.Duley.mail;

- &Preston.Brown; &Preston.Brown.mail;

Documentation copyright © 2000 &Milos.Prudek;

Updated for &kde; 3.0 by &Lauri.Watts; &Lauri.Watts.mail; 2002

&underFDL; &underGPL;
&documentation.index;