source: xfce/core/xfce4-session.xml@ eb0031c

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since eb0031c was bb72b0a, checked in by Ken Moffat <ken@…>, 11 months ago

Tags:

Some AV stuff, and most of xfce.

I have omitted thunar, thunar-volman, xfburn as I do not use them.

I've also omitted xfce4-power-manager - works ok for me, but it
might be implicated in the intel backlight issue so I'm leaving it.

  • Property mode set to 100644
File size: 9.2 KB
RevLine 
[17bcb81]1<?xml version="1.0" encoding="ISO-8859-1"?>
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
[dcd16c6]7 <!ENTITY xfce4-session-download-http
[c6b192c]8 "https://archive.xfce.org/src/xfce/xfce4-session/&xfce4-version;/xfce4-session-&xfce4-session-version;.tar.bz2">
[17bcb81]9 <!ENTITY xfce4-session-download-ftp " ">
[b72894d0]10 <!ENTITY xfce4-session-md5sum "dfdcb697a2315168e2e56a70f17a19b7">
11 <!ENTITY xfce4-session-size "856 KB">
12 <!ENTITY xfce4-session-buildsize "16 MB">
[3441548]13 <!ENTITY xfce4-session-time "0.1 SBU">
[17bcb81]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
[bb72b0a]37 &lfs120_checked;
[17bcb81]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">
[3441548]77 <xref linkend="libwnck"/> and
78 <xref linkend="libxfce4ui"/>
[17bcb81]79 </para>
80
[8b59876]81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
[eca7a58]83 <xref linkend="desktop-file-utils"/>,
[dc235691]84 <ulink url="https://docs.xfce.org/apps/screensaver/start">xfce4-screensaver</ulink> or <xref linkend="xscreensaver"/>,
[eca7a58]85 <xref linkend="shared-mime-info"/> and
[31fc886]86 <xref linkend="polkit-gnome"/>
[8b59876]87 </para>
88
[34e7ac3]89 <bridgehead renderas="sect4">Required Runtime</bridgehead>
[1051f94e]90 <para role="required">
91 <xref role="runtime" linkend="xfdesktop"/>
[34e7ac3]92 </para>
93
[17bcb81]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
[dcd16c6]104<screen><userinput>./configure --prefix=/usr \
105 --sysconfdir=/etc \
[f78b8b5]106 --disable-legacy-sm &amp;&amp;
[17bcb81]107make</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>
[dcd16c6]118
[17bcb81]119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
[f78b8b5]124 <para>
[7830c481]125 <parameter>--disable-legacy-sm</parameter>: This switch disables
[c4b0455]126 legacy session management which isn't necessary on modern
[f78b8b5]127 system.
128 </para>
[dcd16c6]129
[17bcb81]130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring Xfce4 Session</title>
134
[dcd16c6]135 <para>
136 There are several optional run time dependencies for
137 <application>Xfce4</application>:
[4e349b9]138 <xref linkend="dbus"/>,
[f78b8b5]139 <xref linkend="gnupg2"/>,
140 <xref linkend="hicolor-icon-theme"/> and
141 <xref linkend="openssh"/>
[dcd16c6]142 </para>
[6c3a7cc]143
[8b59876]144 <para>
145 When building an <application>Xfce4</application> package, some
146 configuration files are installed in <filename class="directory">
[a8a3b0cd]147 /usr/share/applications</filename>, <filename class="directory">
148 /usr/share/icons</filename>, and <filename class="directory">
149 /usr/share/mime</filename>. In order to use those files in your
[8b59876]150 <application>Xfce4</application> session, you need to update various
151 databases. Do that by running, as the <systemitem class="username">
152 root</systemitem> user (you need to have the recommended dependencies
153 installed):
154 </para>
155
156<screen role="root"><userinput>update-desktop-database &amp;&amp;
[aa5520e]157update-mime-database /usr/share/mime</userinput></screen>
[17bcb81]158 </sect2>
159
[eca7a58]160 <sect2 role="starting">
161 <title>Starting Xfce4</title>
162
[3f460da0]163 <para revision="sysv">
[eca7a58]164 You can start <application>Xfce4</application> from runlevel 3, using
165 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
[c225bfa]166 such as <xref linkend="lightdm"/>.
[eca7a58]167 </para>
168
[3f460da0]169 <para revision="systemd">
170 You can start <application>Xfce4</application> from a TTY using
[51dfb3e]171 <xref linkend="xinit"/>, or from a graphical display manager, such as
172 <xref linkend="lightdm"/>.
[3f460da0]173 </para>
174
[eca7a58]175 <para>
176 To start <application>Xfce4</application> using <xref linkend="xinit"/>,
177 run the following commands:
178 </para>
179
[51dfb3e]180<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
[ae20e9a]181<literal>dbus-launch --exit-with-x11 startxfce4</literal>
[3f460da0]182EOF
183
[eca7a58]184startx</userinput></screen>
185
186 <para>
187 The X session starts on the first unused virtual terminal, normally vt7.
[d09eb9b]188 You can switch to another vt<emphasis>n</emphasis> simultaneously
189 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
190 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
191 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
192 <command>startx</command> was executed will display many messages,
193 including X starting messages, applications automatically started with
194 the session, and eventually, some warning and error messages. You may
195 prefer to redirect those messages to a log file, which not only will keep
[1c8d0ff]196 the initial vt uncluttered, but can also be used for debugging purposes. This
[d09eb9b]197 can be done starting X with:
[eca7a58]198 </para>
199
200 <screen><userinput>startx &amp;&gt; ~/.x-session-errors</userinput></screen>
201
[3f460da0]202 <note revision="sysv">
[d09eb9b]203 <para>
[ce5819b]204 You may wish to drop dbus-launch, e.g., just using
[1bac25ed]205 startxfce4 in ~/.xinitrc. However some capabilities such as mounting or
206 umounting file systems from a file manager will not be possible, or the
207 reboot option will be absent or inoperative, among other problems.
[d09eb9b]208 </para>
209 </note>
[eca7a58]210
211 <para>
[1bac25ed]212 When shutting down or rebooting, the shutdown messages appear on the vt
[d09eb9b]213 where X was running. If you wish to see those messages, simultaneously
214 press keys Alt-F7 (assuming that X was running on vt7).
[eca7a58]215 </para>
216
217 </sect2>
218
[17bcb81]219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Programs</segtitle>
224 <segtitle>Installed Library</segtitle>
[f7b6f93a]225 <segtitle>Installed Directories</segtitle>
[17bcb81]226
227 <seglistitem>
228 <seg>
[3441548]229 startxfce4,
[17bcb81]230 xfce4-session,
231 xfce4-session-logout,
[3441548]232 xfce4-session-settings, and
233 xflock4
[dcd16c6]234 </seg>
235 <seg>
[3441548]236 None
[17bcb81]237 </seg>
238 <seg>
[3441548]239 /usr/lib/xfce4/session
[17bcb81]240 </seg>
241 </seglistitem>
242 </segmentedlist>
243
244 <variablelist>
245 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
246 <?dbfo list-presentation="list"?>
247 <?dbhtml list-presentation="table"?>
248
249 <varlistentry id="xfce4-session-prog">
250 <term><command>xfce4-session</command></term>
251 <listitem>
252 <para>
[4c24eb0a]253 starts up the <application>Xfce</application> Desktop Environment
[17bcb81]254 </para>
255 <indexterm zone="xfce4-session xfce4-session-prog">
256 <primary sortas="b-xfce4-session">xfce4-session</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="xfce4-session-logout">
262 <term><command>xfce4-session-logout</command></term>
263 <listitem>
264 <para>
[4c24eb0a]265 logs out from <application>Xfce</application>
[17bcb81]266 </para>
267 <indexterm zone="xfce4-session xfce4-session-logout">
268 <primary sortas="b-xfce4-session-logout">xfce4-session-logout</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="xfce4-session-settings">
274 <term><command>xfce4-session-settings</command></term>
275 <listitem>
276 <para>
[5e99854b]277 is a <application>GTK+ 3</application> GUI which allows you to alter
[4c24eb0a]278 your preferences for your <application>Xfce Session</application>
[17bcb81]279 </para>
280 <indexterm zone="xfce4-session xfce4-session-settings">
281 <primary sortas="b-xfce4-session-settings">xfce4-session-settings</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 </variablelist>
[dcd16c6]287
[17bcb81]288 </sect2>
[dcd16c6]289
[17bcb81]290</sect1>
Note: See TracBrowser for help on using the repository browser.