Changeset View
Changeset View
Standalone View
Standalone View
doc/kcontrol/autostart/index.docbook
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> | ||
---|---|---|---|---|---|
2 | <!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" | 2 | <!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" | ||
3 | "dtd/kdedbx45.dtd" [ | 3 | "dtd/kdedbx45.dtd" [ | ||
4 | <!ENTITY % addindex "IGNORE"> | 4 | <!ENTITY % addindex "IGNORE"> | ||
5 | <!ENTITY % English "INCLUDE"> | 5 | <!ENTITY % English "INCLUDE"> | ||
6 | ]> | 6 | ]> | ||
7 | <article id="autostart" lang="&language;"> | 7 | <article id="autostart" lang="&language;"> | ||
8 | <articleinfo> | 8 | <articleinfo> | ||
9 | <title>Autostart</title> | 9 | <title>Autostart</title> | ||
10 | <authorgroup> | 10 | <authorgroup> | ||
11 | <author>&Anne-Marie.Mahfouf;</author> | 11 | <author>&Anne-Marie.Mahfouf;</author> | ||
12 | <!-- TRANS:ROLES_OF_TRANSLATORS --> | 12 | <!-- TRANS:ROLES_OF_TRANSLATORS --> | ||
13 | </authorgroup> | 13 | </authorgroup> | ||
14 | 14 | | |||
15 | <date>2015-07-22</date> | 15 | <date>2018-03-25</date> | ||
16 | <releaseinfo>&plasma; 5.4</releaseinfo> | 16 | <releaseinfo>&plasma; 5.12</releaseinfo> | ||
17 | 17 | | |||
18 | <keywordset> | 18 | <keywordset> | ||
19 | <keyword>KDE</keyword> | 19 | <keyword>KDE</keyword> | ||
20 | <keyword>System Settings</keyword> | 20 | <keyword>System Settings</keyword> | ||
21 | <keyword>autostart</keyword> | 21 | <keyword>autostart</keyword> | ||
22 | <keyword>desktop file</keyword> | 22 | <keyword>desktop file</keyword> | ||
23 | <keyword>script file</keyword> | 23 | <keyword>script file</keyword> | ||
24 | </keywordset> | 24 | </keywordset> | ||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | |||||
92 | Unchecking the status <guilabel>Enabled</guilabel> sets the Desktop file Hidden property to true in the <filename class="directory">Autostart</filename> folder. | 92 | Unchecking the status <guilabel>Enabled</guilabel> sets the Desktop file Hidden property to true in the <filename class="directory">Autostart</filename> folder. | ||
93 | </para> | 93 | </para> | ||
94 | </listitem> | 94 | </listitem> | ||
95 | </varlistentry> | 95 | </varlistentry> | ||
96 | 96 | | |||
97 | <varlistentry><term><guilabel>Run On</guilabel></term> | 97 | <varlistentry><term><guilabel>Run On</guilabel></term> | ||
98 | <listitem> | 98 | <listitem> | ||
99 | <para> | 99 | <para> | ||
100 | Programs (Desktop files) can only be run on startup. Scripts can be run on <guilabel>Startup</guilabel>, <guilabel>Shutdown</guilabel> or <guilabel>Pre-KDE Startup</guilabel>. This column allows you to change when your script is run. Startup is when &plasma; starts, shutdown is when you log out of &plasma; and pre-KDE startup is before &plasma; starts. | 100 | Programs (Desktop files) can only be run on startup. Scripts can be run on <guilabel>Startup</guilabel>, <guilabel>Shutdown</guilabel> or <guilabel>Before session startup</guilabel>. This column allows you to change when your script is run. Startup is when &plasma; starts, shutdown is when you log out of &plasma; and before session startup is before &plasma; starts. | ||
101 | </para> | 101 | </para> | ||
102 | <para> | 102 | <para> | ||
103 | Scripts and desktop files set to run on <guilabel>Startup</guilabel> are copied or symlinked in <filename class="directory">$HOME/.config/autostart</filename> and will be run during &plasma; startup. | 103 | Scripts and desktop files set to run on <guilabel>Startup</guilabel> are copied or symlinked in <filename class="directory">$HOME/.config/autostart</filename> and will be run during &plasma; startup. | ||
104 | </para> | 104 | </para> | ||
105 | <para> | 105 | <para> | ||
106 | Scripts set on to be ran on <guilabel>Shutdown</guilabel> are copied or symlinked in the <filename class="directory">$HOME/.config/plasma-workspace/shutdown</filename> directory and will be automatically run during &plasma; shutdown after the user has logged out. | 106 | Scripts set on to be ran on <guilabel>Shutdown</guilabel> are copied or symlinked in the <filename class="directory">$HOME/.config/plasma-workspace/shutdown</filename> directory and will be automatically run during &plasma; shutdown after the user has logged out. | ||
107 | </para> | 107 | </para> | ||
108 | <para> | 108 | <para> | ||
109 | Scripts set to run at <guilabel>Pre-&kde; Startup</guilabel> are copied or symlinked in <filename class="directory">$HOME/.config/plasma-workspace/env</filename> and are sourced during &plasma; startup (the <filename>startkde</filename> script will look for scripts here). | 109 | Scripts set to run at <guilabel>Pre-&kde; Startup</guilabel> are copied or symlinked in <filename class="directory">$HOME/.config/plasma-workspace/env</filename> and are sourced during &plasma; startup (the <filename>startkde</filename> script will look for scripts here). | ||
110 | </para> | 110 | </para> | ||
111 | <note><para> | 111 | <note><para> | ||
112 | Only scripts with the <filename class="extension">.sh</filename> extension can be read by &plasma; for <guilabel>Pre-&kde; startup</guilabel> and <guilabel>Shutdown</guilabel> modes. | 112 | Only scripts with the <filename class="extension">.sh</filename> extension can be read by &plasma; for <guilabel>Before session startup</guilabel> and <guilabel>Shutdown</guilabel> modes. | ||
113 | </para></note> | 113 | </para></note> | ||
114 | </listitem> | 114 | </listitem> | ||
115 | </varlistentry> | 115 | </varlistentry> | ||
116 | </variablelist> | 116 | </variablelist> | ||
117 | </sect2> | 117 | </sect2> | ||
118 | 118 | | |||
119 | <sect2 id="actions"> | 119 | <sect2 id="actions"> | ||
120 | <title>Actions</title> | 120 | <title>Actions</title> | ||
Show All 32 Lines | |||||
153 | <para> | 153 | <para> | ||
154 | This button (only enabled for programs &ie; Desktop files) 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 for programs. | 154 | This button (only enabled for programs &ie; Desktop files) 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 for programs. | ||
155 | </para> | 155 | </para> | ||
156 | </listitem> | 156 | </listitem> | ||
157 | </varlistentry> | 157 | </varlistentry> | ||
158 | <varlistentry><term><guibutton>Advanced</guibutton></term> | 158 | <varlistentry><term><guibutton>Advanced</guibutton></term> | ||
159 | <listitem> | 159 | <listitem> | ||
160 | <para> | 160 | <para> | ||
161 | This button only applies to programs (&ie; Desktop files). A dialog asks you if you only want the program to autostart only in &plasma; (and not in other desktop environments you might run). By default, the program will autostart in all desktop environments you might run. Checking <guilabel>Autostart only in KDE</guilabel> will autostart the program only if you start the &plasma; desktop environment. | 161 | This button only applies to programs (&ie; Desktop files). A dialog asks you if you only want the program to autostart only in &plasma; (and not in other desktop environments you might run). By default, the program will autostart in all desktop environments you might run. Checking <guilabel>Autostart only in Plasma</guilabel> will autostart the program only if you start the &plasma; desktop environment. | ||
162 | </para> | 162 | </para> | ||
163 | <para> | 163 | <para> | ||
164 | This sets the value KDE to the OnlyShowIn key of the program Desktop file. | 164 | This sets the value Plasma to the OnlyShowIn key of the program Desktop file. | ||
165 | </para> | 165 | </para> | ||
166 | </listitem> | 166 | </listitem> | ||
167 | </varlistentry> | 167 | </varlistentry> | ||
168 | </variablelist> | 168 | </variablelist> | ||
169 | </sect2> | 169 | </sect2> | ||
170 | </sect1> | 170 | </sect1> | ||
171 | </article> | 171 | </article> | ||
172 | 172 | | |||
Show All 12 Lines |