System Settings/Startup and Shutdown/zh-cn: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
{{PrefIcon|System-run.png|Autostart}} | {{PrefIcon|System-run.png|Autostart}} | ||
This article describes how to use the program ''systemsettings'' to configure KDE's startup. To follow this chapter, | 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>. | ||
您能在这里设定登录 [[Special:myLanguage/Plasma|Plasma 桌面工作空间]]时运行的程序或脚本。添加一直运行的程序,如 [[Special:myLanguage/KAlarm|KAlarm]] 或 [[Special:myLanguage/KTorrent|KTorrent]]。 | 您能在这里设定登录 [[Special:myLanguage/Plasma|Plasma 桌面工作空间]]时运行的程序或脚本。添加一直运行的程序,如 [[Special:myLanguage/KAlarm|KAlarm]] 或 [[Special:myLanguage/KTorrent|KTorrent]]。 | ||
Line 39: | Line 39: | ||
{{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>.}} | {{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 == | |||
* [[Special:myLanguage/Session Environment Variables|Session Environment Variables]] | |||
[[Category:Desktop]] | [[Category:Desktop]] |
Latest revision as of 10:55, 20 October 2022
Information
If you know something about these preferences then please help us by adding information. Don't worry about formatting. We will help you ensure that your text is properly formatted.
Autostart
This article describes how to use the program systemsettings to configure KDE's startup. To follow this chapter, run
and choose > .您能在这里设定登录 Plasma 桌面工作空间时运行的程序或脚本。添加一直运行的程序,如 KAlarm 或 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
Information
To manually save a session, you must first select the
option and . Then, when you use the you will find that you have a new option - .