|
|
|
|
Launchers
A launcher is an object that performs a specific action when you open it.
You can find launchers in the panels, in the panel menubar, and on the desktop. A launcher is represented by an icon in all of these locations.
You might use a launcher to do any of the following:
Start a particular application.
Execute a command.
Open a folder.
Open a Web browser at a particular page on the Web.
Open special Uniform Resource Identifiers
(URIs). The GNOME Desktop contains special URIs that enable you to access
particular functions from the file manager.
You can modify the properties of a launcher. For example, the properties
of a launcher include the name of the launcher, the icon that represents the
launcher, and how the launcher runs. For more on this, see the section called “Modifying a Launcher”.
| Note |
---|
In certain situations, a launcher in a menu might not show an icon. For example, if it specifies no icon to display, or if the entire menu is set to show no icons.
|
Adding a Launcher to a Panel
You can add a launcher to a panel in one of the following
ways:
-
From the panel popup menu
Right-click on any vacant space on the panel,
then choose . The Add to Panel dialog opens.
To create a new launcher, select Custom Application Launcher from the list. A Create Launcher
dialog is displayed. For more information on the properties in this dialog,
see the section called “Launcher Properties”.
Alternatively, to add an existing launcher to the panel, select Application Launcher from the list. Choose the launcher that you want
to add from the list of menu items.
-
From any menu
To add a launcher to a panel from any menu, perform one of the following
steps:
Open a menu that contains the launcher. Drag the launcher
on to the panel.
Open the menu that contains the launcher from the panel where
you want the launcher to reside. Right-click on the title of the launcher.
Choose .
-
From the file manager
To add a launcher to a panel from the file manager, find the .desktop file for the launcher in your file system, then drag the .desktop file to the panel.
To modify the properties of a launcher in a panel, perform the following
steps:
Right-click on the launcher to open the panel object popup
menu.
Choose . Use the Launcher Properties dialog to modify the properties as required.
For more information on the Launcher Properties dialog,
see the section called “Launcher Properties”.
Click Close to close the Launcher Properties dialog.
You can set a number of properties for a launcher, whether you are creating a launcher, or modify an existing one.
The following table describes the dialog elements on the Basic tabbed
section:
The following table describes the dialog elements on the top part of the Advanced tabbed section:
You can also add a translation of the Name, Generic name, and Comment fields from the Basic tabbed section. To add a translation, enter the details of
the translation in the Name/Comment translations table
as follows:
Then click on the Add/Set button.
To edit a translation, select the translation. The translated text appears
in the lower part of this dialog. Edit the fields as required, then click
on the Add/Set button.
To remove a translation, select the translation, then click on the Remove button.
The type of commands that you can enter in the Command
field depend on the option that you choose from the Type
drop-down combination box. If you choose Application
from the Type drop-down combination box, you can enter
a normal command. The following table shows some sample commands and the actions
that the commands perform:
If you choose Link from the Type
drop-down combination box, you can enter a link command. The following table
shows some sample link commands and the actions that the commands perform:
The command can contain the following special codes which will be replaced with the value specified in the following table:
These are as defined by freedesktop.org's Desktop Entry Specification.
|
|
|