Table of Contents
This module is a configuration tool for managing what programs start up with your personal Plasma™. It allows you to add programs or scripts so they automatically run during startup or shutdown of your Plasma™ session and to manage them.
Please note that in this module all changes are immediately applied.
The program scans
$HOME/.config/autostart/ for applications and login scripts,
$HOME/.config/plasma-workspace/env for pre-startup scripts and
$HOME/.config/plasma-workspace/shutdown for logout scripts to check what programs and scripts are already there and displays them. It allows you to manage them easily.
Login scripts are
.desktop files with a
X-KDE-AutostartScript=true key. Pre-startup scripts are run earlier and can be used to set environment variables.
Note that you can change the location of your
folder in →
in the Personalization category of the System Settings and set a different folder
Some KDE applications handle the autostart behavior on their own, e.g. you can enable or disable autostart of an application in the settings dialog (KAlarm) or you have to use → (Konversation, Kopete), otherwise the application is still running in the systemtray and will be restarted on next login.
To migrate your personal autostart setting from KDE Workspaces 4:
|Copy desktop files from |
|Copy pre startup script files from |
|Copy shutdown script files from |
The correct way to disable an autostart item, for example the printer-applet if you use printer from time to time, is to copy its
.desktop file to your personal autostart folder. Anything of the same name in
$HOME/.config/autostart overrides the
.desktop file in the default package. Add the following line to the copied
The main part of the module displays the programs that are loaded when Plasma™ starts and scripts that are run when Plasma™ starts or shutdowns.
This column shows the icon of the program or script you want to start with Plasma™. The icon is extracted from the Desktop file from the Icon key for a program and is the default icon for a script.
This column shows the name of the program or script you want to start with Plasma™. The name is extracted from the
.desktopfile from the
Namekey for a program and is the filename for a script.
This button is only shown when you hover the item with the mouse pointer. The button (only enabled for programs and login scripts i.e.
.desktopfiles) allows you to change the properties of the program or script. You have general properties, permissions properties, a preview when applicable, and properties related to the application or login script. The default command is extracted from the
.desktopfile from the
For a logout script, the command is the path to the script and can not be modified.
This button is only shown when you hover the item with the mouse pointer. Pressing the button will immediately remove the Desktop file for the program or the script or symbolic link in the
On the bottom, you have the combined button to choose the type of item you want to add. You can add programs and login or logout scripts.
Clicking this item displays the standard Plasma™ Choose Application dialog and allows you to choose which program you want to start. After choosing the program, clicking brings you the properties for this program.
This will copy the program
.desktopfile in your
This item opens a dialog that asks you for the location of the script you want to add. Scripts set to run on login will have a corresponding
.desktopfile created in your
Autostartfolder and will be run during Plasma startup.
This item opens a dialog that asks you for the location of the script you want to add. Scripts set on to be run on logout are copied or symlinked in the
$HOME/.config/plasma-workspace/shutdowndirectory and will be automatically run during Plasma™ shutdown after the user has logged out.