1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY xfce4-session-download-http
|
---|
8 | "https://archive.xfce.org/src/xfce/xfce4-session/&xfce4-version;/xfce4-session-&xfce4-session-version;.tar.bz2">
|
---|
9 | <!ENTITY xfce4-session-download-ftp " ">
|
---|
10 | <!ENTITY xfce4-session-md5sum "620c369a44c6b866c80d31e4685d6bef">
|
---|
11 | <!ENTITY xfce4-session-size "901 KB">
|
---|
12 | <!ENTITY xfce4-session-buildsize "16 MB">
|
---|
13 | <!ENTITY xfce4-session-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="xfce4-session" xreflabel="xfce4-session-&xfce4-session-version;">
|
---|
17 | <?dbhtml filename="xfce4-session.html"?>
|
---|
18 |
|
---|
19 |
|
---|
20 | <title>xfce4-session-&xfce4-session-version;</title>
|
---|
21 |
|
---|
22 | <indexterm zone="xfce4-session">
|
---|
23 | <primary sortas="a-xfce4-session">xfce4-session</primary>
|
---|
24 | </indexterm>
|
---|
25 |
|
---|
26 | <sect2 role="package">
|
---|
27 | <title>Introduction to Xfce4 Session</title>
|
---|
28 |
|
---|
29 | <para>
|
---|
30 | <application>Xfce4 Session</application> is a session manager for
|
---|
31 | <application>Xfce</application>. Its task is to save the state of your
|
---|
32 | desktop (opened applications and their location) and restore it during a
|
---|
33 | next startup. You can create several different sessions and choose one of
|
---|
34 | them on startup.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs122_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&xfce4-session-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&xfce4-session-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &xfce4-session-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &xfce4-session-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &xfce4-session-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &xfce4-session-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Xfce4 Session Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="libwnck"/> and
|
---|
78 | <xref linkend="libxfce4ui"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="desktop-file-utils"/>,
|
---|
84 | <ulink url="https://docs.xfce.org/apps/screensaver/start">xfce4-screensaver</ulink> or <xref linkend="xscreensaver"/>,
|
---|
85 | <xref linkend="shared-mime-info"/> and
|
---|
86 | <xref linkend="polkit-gnome"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Required Runtime</bridgehead>
|
---|
90 | <para role="required">
|
---|
91 | <xref role="runtime" linkend="xfdesktop"/>
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="installation">
|
---|
97 | <title>Installation of Xfce4 Session</title>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Install <application>Xfce4 Session</application> by running the following
|
---|
101 | commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr \
|
---|
105 | --sysconfdir=/etc \
|
---|
106 | --disable-legacy-sm &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | This package does not come with a test suite.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="commands">
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | <parameter>--disable-legacy-sm</parameter>: This switch disables
|
---|
126 | legacy session management which isn't necessary on modern
|
---|
127 | system.
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="configuration">
|
---|
133 | <title>Configuring Xfce4 Session</title>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | There are several optional run time dependencies for
|
---|
137 | <application>Xfce4</application>:
|
---|
138 | <xref linkend="dbus"/>,
|
---|
139 | <xref linkend="gnupg2"/>,
|
---|
140 | <xref linkend="hicolor-icon-theme"/>,
|
---|
141 | <xref linkend="openssh"/>, and
|
---|
142 | <xref linkend="xinit"/>
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | When building an <application>Xfce4</application> package, some
|
---|
147 | configuration files are installed in <filename class="directory">
|
---|
148 | /usr/share/applications</filename>, <filename class="directory">
|
---|
149 | /usr/share/icons</filename>, and <filename class="directory">
|
---|
150 | /usr/share/mime</filename>. In order to use those files in your
|
---|
151 | <application>Xfce4</application> session, you need to update various
|
---|
152 | databases. Do that by running, as the <systemitem class="username">
|
---|
153 | root</systemitem> user (you need to have the recommended dependencies
|
---|
154 | installed):
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | <screen role="root"><userinput>update-desktop-database &&
|
---|
158 | update-mime-database /usr/share/mime</userinput></screen>
|
---|
159 | </sect2>
|
---|
160 |
|
---|
161 | <sect2 role="starting">
|
---|
162 | <title>Starting Xfce4</title>
|
---|
163 |
|
---|
164 | <para revision="sysv">
|
---|
165 | You can start <application>Xfce4</application> from runlevel 3, using
|
---|
166 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
167 | such as <xref linkend="lightdm"/>.
|
---|
168 | </para>
|
---|
169 |
|
---|
170 | <para revision="systemd">
|
---|
171 | You can start <application>Xfce4</application> from a TTY using
|
---|
172 | <xref linkend="xinit"/>, or from a graphical display manager, such as
|
---|
173 | <xref linkend="lightdm"/>.
|
---|
174 | </para>
|
---|
175 |
|
---|
176 | <para>
|
---|
177 | To start <application>Xfce4</application> using <xref linkend="xinit"/>,
|
---|
178 | run the following commands:
|
---|
179 | </para>
|
---|
180 |
|
---|
181 | <!-- TODO: A plain "startxfce4" command works for me on Systemd.
|
---|
182 | But maybe it does not work on SysV. Need more investigate. -->
|
---|
183 |
|
---|
184 | <screen role="nodump"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
185 | <literal>dbus-launch --exit-with-x11 startxfce4</literal>
|
---|
186 | EOF
|
---|
187 |
|
---|
188 | startx</userinput></screen>
|
---|
189 |
|
---|
190 | <para>
|
---|
191 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
192 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
193 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
194 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
195 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
196 | <command>startx</command> was executed will display many messages,
|
---|
197 | including X starting messages, applications automatically started with
|
---|
198 | the session, and eventually, some warning and error messages. You may
|
---|
199 | prefer to redirect those messages to a log file, which not only will keep
|
---|
200 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
201 | can be done starting X with:
|
---|
202 | </para>
|
---|
203 |
|
---|
204 | <screen role="nodump"><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
205 |
|
---|
206 | <note revision="sysv">
|
---|
207 | <para>
|
---|
208 | You may wish to drop dbus-launch, e.g., just using
|
---|
209 | startxfce4 in ~/.xinitrc. However some capabilities such as mounting or
|
---|
210 | umounting file systems from a file manager will not be possible, or the
|
---|
211 | reboot option will be absent or inoperative, among other problems.
|
---|
212 | </para>
|
---|
213 | </note>
|
---|
214 |
|
---|
215 | <para>
|
---|
216 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
217 | where X was running. If you wish to see those messages, simultaneously
|
---|
218 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
219 | </para>
|
---|
220 |
|
---|
221 | </sect2>
|
---|
222 |
|
---|
223 | <sect2 role="content">
|
---|
224 | <title>Contents</title>
|
---|
225 |
|
---|
226 | <segmentedlist>
|
---|
227 | <segtitle>Installed Programs</segtitle>
|
---|
228 | <segtitle>Installed Library</segtitle>
|
---|
229 | <segtitle>Installed Directories</segtitle>
|
---|
230 |
|
---|
231 | <seglistitem>
|
---|
232 | <seg>
|
---|
233 | startxfce4,
|
---|
234 | xfce4-session,
|
---|
235 | xfce4-session-logout,
|
---|
236 | xfce4-session-settings, and
|
---|
237 | xflock4
|
---|
238 | </seg>
|
---|
239 | <seg>
|
---|
240 | None
|
---|
241 | </seg>
|
---|
242 | <seg>
|
---|
243 | /usr/lib/xfce4/session
|
---|
244 | </seg>
|
---|
245 | </seglistitem>
|
---|
246 | </segmentedlist>
|
---|
247 |
|
---|
248 | <variablelist>
|
---|
249 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
250 | <?dbfo list-presentation="list"?>
|
---|
251 | <?dbhtml list-presentation="table"?>
|
---|
252 |
|
---|
253 | <varlistentry id="startxfce4">
|
---|
254 | <term><command>startxfce4</command></term>
|
---|
255 | <listitem>
|
---|
256 | <para>
|
---|
257 | is a script responsible for starting an
|
---|
258 | <application>Xfce</application> session.
|
---|
259 | </para>
|
---|
260 | <indexterm zone="xfce4-session startxfce4">
|
---|
261 | <primary sortas="b-startxfce4">startxfce4</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="xfce4-session-prog">
|
---|
267 | <term><command>xfce4-session</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>
|
---|
270 | starts up the <application>Xfce</application> Desktop Environment
|
---|
271 | </para>
|
---|
272 | <indexterm zone="xfce4-session xfce4-session-prog">
|
---|
273 | <primary sortas="b-xfce4-session">xfce4-session</primary>
|
---|
274 | </indexterm>
|
---|
275 | </listitem>
|
---|
276 | </varlistentry>
|
---|
277 |
|
---|
278 | <varlistentry id="xfce4-session-logout">
|
---|
279 | <term><command>xfce4-session-logout</command></term>
|
---|
280 | <listitem>
|
---|
281 | <para>
|
---|
282 | logs out from <application>Xfce</application>
|
---|
283 | </para>
|
---|
284 | <indexterm zone="xfce4-session xfce4-session-logout">
|
---|
285 | <primary sortas="b-xfce4-session-logout">xfce4-session-logout</primary>
|
---|
286 | </indexterm>
|
---|
287 | </listitem>
|
---|
288 | </varlistentry>
|
---|
289 |
|
---|
290 | <varlistentry id="xfce4-session-settings">
|
---|
291 | <term><command>xfce4-session-settings</command></term>
|
---|
292 | <listitem>
|
---|
293 | <para>
|
---|
294 | is a <application>GTK+ 3</application> GUI which allows you to alter
|
---|
295 | your preferences for your <application>Xfce Session</application>
|
---|
296 | </para>
|
---|
297 | <indexterm zone="xfce4-session xfce4-session-settings">
|
---|
298 | <primary sortas="b-xfce4-session-settings">xfce4-session-settings</primary>
|
---|
299 | </indexterm>
|
---|
300 | </listitem>
|
---|
301 | </varlistentry>
|
---|
302 |
|
---|
303 | </variablelist>
|
---|
304 |
|
---|
305 | </sect2>
|
---|
306 |
|
---|
307 | </sect1>
|
---|