[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 " ">
|
---|
[ac9d0415] | 10 | <!ENTITY xfce4-session-md5sum "3f6e20b6f528adcd62085dce7a153297">
|
---|
| 11 | <!ENTITY xfce4-session-size "853 KB">
|
---|
| 12 | <!ENTITY xfce4-session-buildsize "15 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 |
|
---|
[edbc176] | 37 | &lfs113_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 | <para condition="html" role="usernotes">
|
---|
| 95 | User Notes: <ulink url="&blfs-wiki;/xfce4-session"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of Xfce4 Session</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>Xfce4 Session</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[dcd16c6] | 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 108 | --sysconfdir=/etc \
|
---|
[f78b8b5] | 109 | --disable-legacy-sm &&
|
---|
[17bcb81] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | This package does not come with a test suite.
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[dcd16c6] | 121 |
|
---|
[17bcb81] | 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
[f78b8b5] | 127 | <para>
|
---|
[7830c481] | 128 | <parameter>--disable-legacy-sm</parameter>: This switch disables
|
---|
[c4b0455] | 129 | legacy session management which isn't necessary on modern
|
---|
[f78b8b5] | 130 | system.
|
---|
| 131 | </para>
|
---|
[dcd16c6] | 132 |
|
---|
[17bcb81] | 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="configuration">
|
---|
| 136 | <title>Configuring Xfce4 Session</title>
|
---|
| 137 |
|
---|
[dcd16c6] | 138 | <para>
|
---|
| 139 | There are several optional run time dependencies for
|
---|
| 140 | <application>Xfce4</application>:
|
---|
[4e349b9] | 141 | <xref linkend="dbus"/>,
|
---|
[f78b8b5] | 142 | <xref linkend="gnupg2"/>,
|
---|
| 143 | <xref linkend="hicolor-icon-theme"/> and
|
---|
| 144 | <xref linkend="openssh"/>
|
---|
[dcd16c6] | 145 | </para>
|
---|
[6c3a7cc] | 146 |
|
---|
[8b59876] | 147 | <para>
|
---|
| 148 | When building an <application>Xfce4</application> package, some
|
---|
| 149 | configuration files are installed in <filename class="directory">
|
---|
[a8a3b0cd] | 150 | /usr/share/applications</filename>, <filename class="directory">
|
---|
| 151 | /usr/share/icons</filename>, and <filename class="directory">
|
---|
| 152 | /usr/share/mime</filename>. In order to use those files in your
|
---|
[8b59876] | 153 | <application>Xfce4</application> session, you need to update various
|
---|
| 154 | databases. Do that by running, as the <systemitem class="username">
|
---|
| 155 | root</systemitem> user (you need to have the recommended dependencies
|
---|
| 156 | installed):
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <screen role="root"><userinput>update-desktop-database &&
|
---|
[aa5520e] | 160 | update-mime-database /usr/share/mime</userinput></screen>
|
---|
[17bcb81] | 161 | </sect2>
|
---|
| 162 |
|
---|
[eca7a58] | 163 | <sect2 role="starting">
|
---|
| 164 | <title>Starting Xfce4</title>
|
---|
| 165 |
|
---|
[3f460da0] | 166 | <para revision="sysv">
|
---|
[eca7a58] | 167 | You can start <application>Xfce4</application> from runlevel 3, using
|
---|
| 168 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 169 | such as <xref linkend="lightdm"/>.
|
---|
[eca7a58] | 170 | </para>
|
---|
| 171 |
|
---|
[3f460da0] | 172 | <para revision="systemd">
|
---|
| 173 | You can start <application>Xfce4</application> from a TTY using
|
---|
[51dfb3e] | 174 | <xref linkend="xinit"/>, or from a graphical display manager, such as
|
---|
| 175 | <xref linkend="lightdm"/>.
|
---|
[3f460da0] | 176 | </para>
|
---|
| 177 |
|
---|
[eca7a58] | 178 | <para>
|
---|
| 179 | To start <application>Xfce4</application> using <xref linkend="xinit"/>,
|
---|
| 180 | run the following commands:
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
[51dfb3e] | 183 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[3f460da0] | 184 | <literal>dbus-launch --exit-with-session startxfce4</literal>
|
---|
| 185 | EOF
|
---|
| 186 |
|
---|
[eca7a58] | 187 | startx</userinput></screen>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 191 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 192 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 193 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 194 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 195 | <command>startx</command> was executed will display many messages,
|
---|
| 196 | including X starting messages, applications automatically started with
|
---|
| 197 | the session, and eventually, some warning and error messages. You may
|
---|
| 198 | prefer to redirect those messages to a log file, which not only will keep
|
---|
[1c8d0ff] | 199 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
[d09eb9b] | 200 | can be done starting X with:
|
---|
[eca7a58] | 201 | </para>
|
---|
| 202 |
|
---|
| 203 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
| 204 |
|
---|
[3f460da0] | 205 | <note revision="sysv">
|
---|
[d09eb9b] | 206 | <para>
|
---|
[ce5819b] | 207 | You may wish to drop dbus-launch, e.g., just using
|
---|
[1bac25ed] | 208 | startxfce4 in ~/.xinitrc. However some capabilities such as mounting or
|
---|
| 209 | umounting file systems from a file manager will not be possible, or the
|
---|
| 210 | reboot option will be absent or inoperative, among other problems.
|
---|
[d09eb9b] | 211 | </para>
|
---|
| 212 | </note>
|
---|
[eca7a58] | 213 |
|
---|
| 214 | <para>
|
---|
[1bac25ed] | 215 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 216 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 217 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
[eca7a58] | 218 | </para>
|
---|
| 219 |
|
---|
| 220 | </sect2>
|
---|
| 221 |
|
---|
[17bcb81] | 222 | <sect2 role="content">
|
---|
| 223 | <title>Contents</title>
|
---|
| 224 |
|
---|
| 225 | <segmentedlist>
|
---|
| 226 | <segtitle>Installed Programs</segtitle>
|
---|
| 227 | <segtitle>Installed Library</segtitle>
|
---|
[f7b6f93a] | 228 | <segtitle>Installed Directories</segtitle>
|
---|
[17bcb81] | 229 |
|
---|
| 230 | <seglistitem>
|
---|
| 231 | <seg>
|
---|
[3441548] | 232 | startxfce4,
|
---|
[17bcb81] | 233 | xfce4-session,
|
---|
| 234 | xfce4-session-logout,
|
---|
[3441548] | 235 | xfce4-session-settings, and
|
---|
| 236 | xflock4
|
---|
[dcd16c6] | 237 | </seg>
|
---|
| 238 | <seg>
|
---|
[3441548] | 239 | None
|
---|
[17bcb81] | 240 | </seg>
|
---|
| 241 | <seg>
|
---|
[3441548] | 242 | /usr/lib/xfce4/session
|
---|
[17bcb81] | 243 | </seg>
|
---|
| 244 | </seglistitem>
|
---|
| 245 | </segmentedlist>
|
---|
| 246 |
|
---|
| 247 | <variablelist>
|
---|
| 248 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 249 | <?dbfo list-presentation="list"?>
|
---|
| 250 | <?dbhtml list-presentation="table"?>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="xfce4-session-prog">
|
---|
| 253 | <term><command>xfce4-session</command></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>
|
---|
[4c24eb0a] | 256 | starts up the <application>Xfce</application> Desktop Environment
|
---|
[17bcb81] | 257 | </para>
|
---|
| 258 | <indexterm zone="xfce4-session xfce4-session-prog">
|
---|
| 259 | <primary sortas="b-xfce4-session">xfce4-session</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="xfce4-session-logout">
|
---|
| 265 | <term><command>xfce4-session-logout</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
[4c24eb0a] | 268 | logs out from <application>Xfce</application>
|
---|
[17bcb81] | 269 | </para>
|
---|
| 270 | <indexterm zone="xfce4-session xfce4-session-logout">
|
---|
| 271 | <primary sortas="b-xfce4-session-logout">xfce4-session-logout</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="xfce4-session-settings">
|
---|
| 277 | <term><command>xfce4-session-settings</command></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>
|
---|
[5e99854b] | 280 | is a <application>GTK+ 3</application> GUI which allows you to alter
|
---|
[4c24eb0a] | 281 | your preferences for your <application>Xfce Session</application>
|
---|
[17bcb81] | 282 | </para>
|
---|
| 283 | <indexterm zone="xfce4-session xfce4-session-settings">
|
---|
| 284 | <primary sortas="b-xfce4-session-settings">xfce4-session-settings</primary>
|
---|
| 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
| 289 | </variablelist>
|
---|
[dcd16c6] | 290 |
|
---|
[17bcb81] | 291 | </sect2>
|
---|
[dcd16c6] | 292 |
|
---|
[17bcb81] | 293 | </sect1>
|
---|