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