Xfce Wiki

Sub domains
 

This is an old revision of the document!


Launcher

The Launcher panel plugin allows you to create application shortcuts and display them on your panel.

Usage

Add New Launchers

Besides adding launchers with the Add New Items window, it is also possible to drag-and-drop .desktop files straight onto the panel. A common way to do this is by finding the desired application in Application Finder, and then dragging it from the list and onto the panel.

If you try to drop it in between two existing launchers, Xfce will attempt to open the .desktop file with the nearest application. To prevent this, hold down Ctrl as you drag and drop the item.

Drag-and-drop

All launchers accept text/uri-list drops on the launcher button. If a file is dropped on the panel, it will be used as an argument for the first application in the items-list. See the topic “Expanding variables” below for more information.

Properties

Launcher's properties dialog

Advanced

Expanding Variables

The command of each launcher is expanded before it is executed. This means the .desktop files' field codes are processed.

%F
%f
%U
%u
%i
%c
%k
%%

Plugin Events

It is possible to send events to launcher plugins over the command line. One example is this:

xfce4-panel --plugin-event launcher:disable-tooltips:bool:true

This will disable the tooltips property for all launcher plugins in the panel.