Firefox"> ]> The &kmenuedit; Handbook &Milos.Prudek; &Milos.Prudek.mail; &Lauri.Watts; &Lauri.Watts.mail; 2000 &Milos.Prudek; &FDLNotice; 2006-11-23 0.7 (&tde; 3.5.5) &kmenuedit; allows editing of the &tde; &kmenu;. KDE KDE Menu Editor kmenuedit application program menu kicker Introduction &kmenuedit; allows editing of &tde; &kmenu;. &kmenuedit; can be started either by &RMB; clicking the &kmenu; button on the panel and choosing Menu Editor, or by choosing Menu Editor from the Settings submenu of the &kmenu;. &kmenuedit; allows you to: View and edit the current &kmenu; Cut, Copy and Paste menu items Create and delete submenus &Virgil.J.Nisly; &Virgil.J.Nisly.mail; A Quick Start Guide to Adding an Entry to the &kmenu; In this example, we will add &firefox; to the Internet submenu. Most applications can be added with &kappfinder;, &firefox; can usually be added that way, but was used for lack of a better example. To start off, we need to open &kmenuedit;, so &RMB; on the &kmenu;, click Menu Editor to start &kmenuedit;. After &kmenuedit; has started, select Internet as shown in picture below. Select Internet Select Internet Once you have selected Internet, click on FileNew Item..., opening the New Item dialog, as shown below. Type the name of the program you want to add, in this case, type firefox. New Item dialog The New Item dialog. Press return, and you should see something like the picture below in the main window. New Item The new item created. Now lets fill in the Description:, in this case type Web Browser. The description and name will be displayed on the &kmenu; as Web Browser (Firefox). We will need to fill in the executable name in the Command: field, in this instance we will type firefox. Following the command, you can have several place holders which will be replaced with actual values when the program is run: %f - a single file name %F - a list of files; use for applications that can open several local files at once %u - a single &URL; %U - a list of &URL;s %d - the folder of a file to open %D - a list of folders %i - the icon %m - the mini icon %c - the caption For example: if you want to firefox to start your web browsing at www.kde.org - instead of firefox you would type firefox %u www.kde.org. We would like to have a more creative icon, so we will click the generic icon sitting beside Name:. It will bring the Select Icon dialog which will let us choose the new icon, as shown below. Select Icon dialog The Select Icon dialog. We choose the firefox icon from the list, and press return. Your finished screen should probably look something like the screenshot below. Done screenshot This is what the completed menu item should looks like. Click FileSave, wait for the Updating System Configuration dialog to get finished, you should find &firefox; in the &kmenu; Internet submenu! Using &kmenuedit; The left application panel shows the &kmenu; 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 &kmenu; menu. It can be different from the real executable name. For instance the name of mc executable is "Midnight Commander". Description: The description will be displayed together with the name in the &kmenu;. This is entirely optional. 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. Enable launch feedback If this box is checked, this will display feedback when an application is started Place in system tray When checked, the application's icon will show up in the panel system tray. You will then be able to hide or show the application by clicking on the system tray icon. Clicking on it using the &RMB; will allow also you to undock, or quit the application. Icon List Click this icon to display a choice of icons. Choose an icon for your program. 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. 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 a 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 None button to the right of the Current shortcut key: checkbox. A dialog box will pop up, allowing you to assign a Primary shortcut: by pressing the key combination on your keyboard that you want to be assigned to your program. It might be useful to assign a second keybinding to the same item by checking the Alternate shortcut: button, 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 mode box if you want to assign a shortcut that uses more than one key. The dialog will close when you have selected a keybinding. Menu Reference &Ctrl;N File New Item... Adds new menu item. File New Submenu... Adds new submenu. FileNew Separator Adds a new separator to the menu. &Ctrl;S FileSave Saves the menu &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. Delete Edit Delete Deletes currently selected menu item. Settings Show/Hide Toolbar Show or hide the toolbar SettingsConfigure Shortcuts... Customize the keyboard shortcuts SettingsConfigure Toolbars... Customize the toolbar icons. &help.menu.documentation; 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 &tde; 3.0 by &Lauri.Watts; &Lauri.Watts.mail; 2002 &underFDL; &underGPL; 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 &tde; in mind. Such applications run fine in &tde;. However, they are not warned automatically when you shut down your &tde; session. You therefore must not forget to save documents open in these applications before you log out from &tde;. Additionally, many of these applications do not support copying and pasting from &tde; compliant applications. &Netscape; 4.x browser is a prominent example of such application Some GNOME applications may provide limited interoperability with the &tde;.. Console Application Application originally written for non-graphic, text oriented environment. Such applications run fine in &tde;. They must run within console emulator, like &konsole;. They are not warned automatically when you shut down your &tde; session. You therefore must not forget to save documents open in these applications before you log out from the &tde;. Console applications support copying and pasting from &tde;-compliant applications.Simply mark the text in the console application with your mouse, switch to the &tde;-compliant application and press &Ctrl; V to paste the text. If you want to copy from &tde; 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 mouseIf 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.. &documentation.index;