System Settings/Startup and Shutdown: Difference between revisions
(Info on autostart) |
No edit summary |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:4--> | |||
{|class="tablecenter vertical-centered" | {|class="tablecenter vertical-centered" | ||
|[[Image:Settings-startup-and-shutdown.png|300px|thumb|center | |[[Image:Settings-startup-and-shutdown.png|300px|thumb|center|Settings affecting startup and shutdown of your workspace]] | ||
|Settings affecting startup and shutdown of your workspace | |||
|} | |} | ||
<!--T:5--> | |||
{{PreferenceHelp}} | {{PreferenceHelp}} | ||
<!--T:6--> | |||
__TOC__ | __TOC__ | ||
<!--T:7--> | |||
{{PrefIcon|System-run.png|Autostart}} | {{PrefIcon|System-run.png|Autostart}} | ||
<!--T:14--> | |||
This article describes how to use the program ''systemsettings'' to configure KDE's startup. To follow this chapter, run <menuchoice>systemsettings</menuchoice> and choose <menuchoice>Startup and Shutdown</menuchoice> > <menuchoice>Autostart</menuchoice>. | |||
<!--T:2--> | <!--T:2--> | ||
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]]. | 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]]. | ||
Clicking <menuchoice>Add | <!--T:8--> | ||
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:9--> | |||
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. | 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. | ||
Clicking the <menuchoice>Add | <!--T:10--> | ||
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:11--> | |||
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. | 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:12--> | |||
{{PrefIcon|Preferences-system-session-services.png|Service Manager}} | {{PrefIcon|Preferences-system-session-services.png|Service Manager}} | ||
<!--T:13--> | |||
{{PrefIcon|Preferences-system.png|Session Management}} | {{PrefIcon|Preferences-system.png|Session Management}} | ||
<!--T: | <!--T:15--> | ||
{|class="tablecenter vertical-centered" | |||
|[[image:Snapshot-kde-session-manager-config.png|300px|thumb|center|Settings affecting session restore&co]] | |||
|} | |||
<!--T:16--> | |||
Session Management allows you to choose how KDE should look when you log in: | |||
* Restore previous session | |||
* Restore manually saved session | |||
* Start with an empty session | |||
<!--T:17--> | |||
{{Info|To manually save a session, you must first select the <menuchoice>Restore manually saved session</menuchoice> option and <menuchoice>Apply</menuchoice>. Then, when you use the <menuchoice>KDE Menu -> Leave</menuchoice> you will find that you have a new option - <menuchoice> Save Session</menuchoice>.}} | |||
== See also == <!--T:19--> | |||
* [[Special:myLanguage/Session Environment Variables|Session Environment Variables]] | |||
<!--T:18--> | |||
[[Category:Desktop]] | [[Category:Desktop]] | ||
[[Category:System]] | [[Category:System]] |
Latest revision as of 10:52, 20 October 2022
Autostart
This article describes how to use the program systemsettings to configure KDE's startup. To follow this chapter, run
and choose > .Here you can configure which applications or scripts should be executed as soon as you log into Plasma Desktop Workspace. You might want to add here applications which are always working, like KAlarm or KTorrent.
Clicking
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 dialog will open. Just click and you are done. You can modify the properties of the application later: select the application in the list and click to bring up the dialog again.You can temporarily suspend automatic start up of an application by deselecting the check box in the
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 and mark the check box.Clicking the button to get a file picker dialog. If you deselect the option the script file will be copied to the autostart folder; otherwise a link will be created. You can use the and buttons in the same way as for applications.
you will be asked for the path to a script; write the path in the text box or click theWith scripts you have one further option: in the
column you will find a dropdown list with three options: , and , 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 .sh extension.Service Manager
Session Management
Session Management allows you to choose how KDE should look when you log in:
- Restore previous session
- Restore manually saved session
- Start with an empty session