System Settings/Autostart: Difference between revisions

From KDE Wiki Sandbox
(Add autostart setting)
 
(Rework info to match the current state of things as of Plasma 5.21.4)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Here you can configure which applications or scripts should be executed as soon as you log into [[Special:myLanguage/Plasma|Plasma Desktop Workspace]]. You might want to add here applications which are always working, like [[Special:myLanguage/KAlarm|KAlarm]] or [[Special:myLanguage/KTorrent|KTorrent]].
<languages />
<translate>
<!--T:1-->
Here, you can configure which applications or scripts will execute as soon as you log into [[Special:myLanguage/Plasma|Plasma Desktop Workspace]], and also scripts for when you log out. You might want to add applications which you want to always run in the background, like [[Special:myLanguage/KAlarm|KAlarm]] or [[Special:myLanguage/KTorrent|KTorrent]].


<!--T:2-->
[[File:AutostartTheme.png|500px|center|Autostart settings windows]]
[[File:AutostartTheme.png|500px|center|Autostart settings windows]]


Clicking <menuchoice>Add Program...</menuchoice> opens the usual application picker dialog from which you can select an application. A desktop file for the application will be created in the autostart folder. When you have selected an application a <menuchoice>Properties</menuchoice> dialog will open. Just click <menuchoice>OK</menuchoice> and you are done. You can modify the properties of the application later: select the application in the list and click <menuchoice>Properties</menuchoice> to bring up the dialog again.
<!--T:3-->
Clicking <menuchoice>Add...</menuchoice> opens a menu, from which you can choose to add an Application, Login Script, or a Logout Script.


You can temporarily suspend automatic start up of an application by deselecting the check box in the <menuchoice>Status</menuchoice> column. You can also specify that the application should only start when you log in to a KDE session. To do that, select the application, click <menuchoice>Advanced</menuchoice> and mark the check box.
<!--T:4-->
Clicking on <menuchoice>Add Application...</menuchoice> will open an application selection dialog. Find the application you want, click on it, then click <menuchoice>OK</menuchoice>. The application will then be added to the list. The order of applications in the list is not meaningful.


Clicking the <menuchoice>Add Script...</menuchoice> you will be asked for the path to a script; write the path in the text box or click the {{Icon|document-open}} button to get a file picker dialog. If you deselect the <menuchoice>Create as symlink</menuchoice> option the script file will be copied to the autostart folder; otherwise a link will be created. You can use the <menuchoice>Properties</menuchoice> and <menuchoice>Advanced</menuchoice> buttons in the same way as for applications.
<!--T:5-->
Clicking on <menuchoice>Add Login Script...</menuchoice> will open a file picker. Select a script, and then click <menuchoice>Open</menuchoice>. The script will then appear in a new "Login Scripts" section, below the Applications section. Clicking on <menuchoice>Add Logout Script...</menuchoice> does the same thing as <menuchoice>Add Login Script...</menuchoice>, only this time, the script appears in a section called "Logout Scripts".


With scripts you have one further option: in the <menuchoice>Run On</menuchoice> column you will find a dropdown list with three options: <menuchoice>Startup</menuchoice>, <menuchoice>Shutdown</menuchoice> and <menuchoice>Pre-KDE Startup</menuchoice>, which determine when the script is run - at startup (after the desktop is started), when you log out, or during start up of the desktop, respectively. Note, that to use either of the last two options, the script must have the <tt>.sh</tt> extension.
<!--T:6-->
Any of the entries you add to the list can be removed by clicking on its dash (-) button, which you can find on the right of the entry.
 
==More Information== <!--T:7-->
 
<!--T:8-->
* [https://docs.kde.org/trunk5/en/plasma-desktop/kcontrol/autostart/index.html KDE official documentation]
 
<!--T:9-->
[[Category:Desktop]]
[[Category:System]]
[[Category:Configuration]]
</translate>

Latest revision as of 14:38, 22 April 2021

Other languages:

Here, you can configure which applications or scripts will execute as soon as you log into Plasma Desktop Workspace, and also scripts for when you log out. You might want to add applications which you want to always run in the background, like KAlarm or KTorrent.

Autostart settings windows
Autostart settings windows

Clicking Add... opens a menu, from which you can choose to add an Application, Login Script, or a Logout Script.

Clicking on Add Application... will open an application selection dialog. Find the application you want, click on it, then click OK. The application will then be added to the list. The order of applications in the list is not meaningful.

Clicking on Add Login Script... will open a file picker. Select a script, and then click Open. The script will then appear in a new "Login Scripts" section, below the Applications section. Clicking on Add Logout Script... does the same thing as Add Login Script..., only this time, the script appears in a section called "Logout Scripts".

Any of the entries you add to the list can be removed by clicking on its dash (-) button, which you can find on the right of the entry.

More Information