[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[17bcb81] | 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 " ">
|
---|
[11b0ec8] | 10 | <!ENTITY xfce4-session-md5sum "620c369a44c6b866c80d31e4685d6bef">
|
---|
| 11 | <!ENTITY xfce4-session-size "901 KB">
|
---|
[b72894d0] | 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 |
|
---|
[42f164e] | 37 | &lfs122_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 &&
|
---|
[17bcb81] | 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>
|
---|
[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"/>,
|
---|
[af4e04b2] | 140 | <xref linkend="hicolor-icon-theme"/>,
|
---|
| 141 | <xref linkend="openssh"/>, and
|
---|
| 142 | <xref linkend="xinit"/>
|
---|
[dcd16c6] | 143 | </para>
|
---|
[6c3a7cc] | 144 |
|
---|
[8b59876] | 145 | <para>
|
---|
| 146 | When building an <application>Xfce4</application> package, some
|
---|
| 147 | configuration files are installed in <filename class="directory">
|
---|
[a8a3b0cd] | 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
|
---|
[8b59876] | 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 &&
|
---|
[aa5520e] | 158 | update-mime-database /usr/share/mime</userinput></screen>
|
---|
[17bcb81] | 159 | </sect2>
|
---|
| 160 |
|
---|
[eca7a58] | 161 | <sect2 role="starting">
|
---|
| 162 | <title>Starting Xfce4</title>
|
---|
| 163 |
|
---|
[3f460da0] | 164 | <para revision="sysv">
|
---|
[eca7a58] | 165 | You can start <application>Xfce4</application> from runlevel 3, using
|
---|
| 166 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 167 | such as <xref linkend="lightdm"/>.
|
---|
[eca7a58] | 168 | </para>
|
---|
| 169 |
|
---|
[3f460da0] | 170 | <para revision="systemd">
|
---|
| 171 | You can start <application>Xfce4</application> from a TTY using
|
---|
[51dfb3e] | 172 | <xref linkend="xinit"/>, or from a graphical display manager, such as
|
---|
| 173 | <xref linkend="lightdm"/>.
|
---|
[3f460da0] | 174 | </para>
|
---|
| 175 |
|
---|
[eca7a58] | 176 | <para>
|
---|
| 177 | To start <application>Xfce4</application> using <xref linkend="xinit"/>,
|
---|
| 178 | run the following commands:
|
---|
| 179 | </para>
|
---|
| 180 |
|
---|
[af4e04b2] | 181 | <!-- TODO: A plain "startxfce4" command works for me on Systemd.
|
---|
| 182 | But maybe it does not work on SysV. Need more investigate. -->
|
---|
| 183 |
|
---|
[665150a] | 184 | <screen role="nodump"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[ae20e9a] | 185 | <literal>dbus-launch --exit-with-x11 startxfce4</literal>
|
---|
[3f460da0] | 186 | EOF
|
---|
| 187 |
|
---|
[eca7a58] | 188 | startx</userinput></screen>
|
---|
| 189 |
|
---|
| 190 | <para>
|
---|
| 191 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 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
|
---|
[1c8d0ff] | 200 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
[d09eb9b] | 201 | can be done starting X with:
|
---|
[eca7a58] | 202 | </para>
|
---|
| 203 |
|
---|
[665150a] | 204 | <screen role="nodump"><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
[eca7a58] | 205 |
|
---|
[3f460da0] | 206 | <note revision="sysv">
|
---|
[d09eb9b] | 207 | <para>
|
---|
[ce5819b] | 208 | You may wish to drop dbus-launch, e.g., just using
|
---|
[1bac25ed] | 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.
|
---|
[d09eb9b] | 212 | </para>
|
---|
| 213 | </note>
|
---|
[eca7a58] | 214 |
|
---|
| 215 | <para>
|
---|
[1bac25ed] | 216 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 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).
|
---|
[eca7a58] | 219 | </para>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
| 222 |
|
---|
[17bcb81] | 223 | <sect2 role="content">
|
---|
| 224 | <title>Contents</title>
|
---|
| 225 |
|
---|
| 226 | <segmentedlist>
|
---|
| 227 | <segtitle>Installed Programs</segtitle>
|
---|
| 228 | <segtitle>Installed Library</segtitle>
|
---|
[f7b6f93a] | 229 | <segtitle>Installed Directories</segtitle>
|
---|
[17bcb81] | 230 |
|
---|
| 231 | <seglistitem>
|
---|
| 232 | <seg>
|
---|
[3441548] | 233 | startxfce4,
|
---|
[17bcb81] | 234 | xfce4-session,
|
---|
| 235 | xfce4-session-logout,
|
---|
[3441548] | 236 | xfce4-session-settings, and
|
---|
| 237 | xflock4
|
---|
[dcd16c6] | 238 | </seg>
|
---|
| 239 | <seg>
|
---|
[3441548] | 240 | None
|
---|
[17bcb81] | 241 | </seg>
|
---|
| 242 | <seg>
|
---|
[3441548] | 243 | /usr/lib/xfce4/session
|
---|
[17bcb81] | 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 |
|
---|
[af4e04b2] | 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 |
|
---|
[17bcb81] | 266 | <varlistentry id="xfce4-session-prog">
|
---|
| 267 | <term><command>xfce4-session</command></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>
|
---|
[4c24eb0a] | 270 | starts up the <application>Xfce</application> Desktop Environment
|
---|
[17bcb81] | 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>
|
---|
[4c24eb0a] | 282 | logs out from <application>Xfce</application>
|
---|
[17bcb81] | 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>
|
---|
[5e99854b] | 294 | is a <application>GTK+ 3</application> GUI which allows you to alter
|
---|
[4c24eb0a] | 295 | your preferences for your <application>Xfce Session</application>
|
---|
[17bcb81] | 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>
|
---|
[dcd16c6] | 304 |
|
---|
[17bcb81] | 305 | </sect2>
|
---|
[dcd16c6] | 306 |
|
---|
[17bcb81] | 307 | </sect1>
|
---|