<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY xfce4-session-download-http
           "http://archive.xfce.org/src/xfce/xfce4-session/&xfce4-version;/xfce4-session-&xfce4-session-version;.tar.bz2">
  <!ENTITY xfce4-session-download-ftp  " ">
  <!ENTITY xfce4-session-md5sum        "1757657c1d590aa6274b7b7cbba33352">
  <!ENTITY xfce4-session-size          "1.3 MB">
  <!ENTITY xfce4-session-buildsize     "21 MB">
  <!ENTITY xfce4-session-time          "0.3 SBU">
]>

<sect1 id="xfce4-session" xreflabel="xfce4-session-&xfce4-session-version;">
  <?dbhtml filename="xfce4-session.html"?>

  <sect1info>
    <othername>$LastChangedBy: pierre $</othername>
    <date>$Date: 2015-03-01 07:31:16 -0500 (Sun, 01 Mar 2015) $</date>
  </sect1info>

  <title>xfce4-session-&xfce4-session-version;</title>

  <indexterm zone="xfce4-session">
    <primary sortas="a-xfce4-session">xfce4-session</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Xfce4 Session</title>

    <para>
      <application>Xfce4 Session</application> is a session manager for
      <application>Xfce</application>. Its task is to save the state of your
      desktop (opened applications and their location) and restore it during a
      next startup. You can create several different sessions and choose one of
      them on startup.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&xfce4-session-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&xfce4-session-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &xfce4-session-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &xfce4-session-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &xfce4-session-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &xfce4-session-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Xfce4 Session Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="libwnck2"/>,
      <xref linkend="libxfce4ui"/>,
      <xref linkend="which"/>, and
      <xref linkend="xorg7-app"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="desktop-file-utils"/> and
      <xref linkend="shared-mime-info"/>
    </para>

    <bridgehead renderas="sect4">Required Runtime</bridgehead>
    <para role="required runtime">
      <xref linkend="xfdesktop"/>
    </para>

    <para condition="html" role="usernotes">
      User Notes: <ulink url="&blfs-wiki;/xfce4-session"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Xfce4 Session</title>

    <para>
      Install <application>Xfce4 Session</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr \
            --sysconfdir=/etc \
            --disable-legacy-sm &amp;&amp;
make</userinput></screen>

    <para>
      This package does not come with a test suite.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <option>--disable-legacy-sm</option>: This switch disables
      legacy session management which isn't necessary on modern
      system.
    </para>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring Xfce4 Session</title>

    <para>
      There are several optional run time dependencies for
      <application>Xfce4</application>:
      <xref linkend="consolekit"/>,
      <xref linkend="dbus"/>,
      <xref linkend="gnupg2"/>,
      <xref linkend="hicolor-icon-theme"/> and
      <xref linkend="openssh"/>
    </para>

    <para>
      To launch <application>Xfce4</application> use the command
      <command>startxfce4</command>. If you have <xref linkend="consolekit"/>
      installed, use <command>startxfce4 --with-ck-launch</command>.
      <application>ConsoleKit</application> is required to perform any
      task that requires administrative access, including shut down
      and reboot.
    </para>

    <para>
      When building an <application>Xfce4</application> package, some
      configuration files are installed in <filename class="directory">
      /usr/share/applications</filename>, <filename class="directory">
      /usr/share/icons</filename>, and <filename class="directory">
      /usr/share/mime</filename>. In order to use those files in your
      <application>Xfce4</application> session, you need to update various
      databases. Do that by running, as the <systemitem class="username">
      root</systemitem> user (you need to have the recommended dependencies
      installed):
   </para>

<screen role="root"><userinput>update-desktop-database &amp;&amp;
update-mime-database</userinput></screen>
  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          xfce4-session,
          xfce4-session-logout,
          xfce4-session-settings and
          xfce4-tips
        </seg>
        <seg>
          libxfsm-4.6.so
        </seg>
        <seg>
          /usr/include/xfce4/xfce4-session-4.6,
          /usr/share/xfce4/tips and
          /usr/share/doc/xfce4-session-&xfce4-session-version;
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="xfce4-session-prog">
        <term><command>xfce4-session</command></term>
        <listitem>
          <para>
            starts up the <application>Xfce</application> Desktop Environment.
          </para>
          <indexterm zone="xfce4-session xfce4-session-prog">
            <primary sortas="b-xfce4-session">xfce4-session</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xfce4-session-logout">
        <term><command>xfce4-session-logout</command></term>
        <listitem>
          <para>
            logs out from <application>Xfce</application>.
          </para>
          <indexterm zone="xfce4-session xfce4-session-logout">
            <primary sortas="b-xfce4-session-logout">xfce4-session-logout</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xfce4-session-settings">
        <term><command>xfce4-session-settings</command></term>
        <listitem>
          <para>
            is a <application>GTK+ 2</application> GUI which allows you to alter
            your preferences for your <application>Xfce Session</application>.
          </para>
          <indexterm zone="xfce4-session xfce4-session-settings">
            <primary sortas="b-xfce4-session-settings">xfce4-session-settings</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xfce4-tips">
        <term><command>xfce4-tips</command></term>
        <listitem>
          <para>
            is a <application>GTK+ 2</application> GUI which displays tips when
            you log in to an <application>Xfce Session</application>.
          </para>
          <indexterm zone="xfce4-session xfce4-tips">
            <primary sortas="b-xfce4-tips">xfce4-tips</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libxfsm-4">
        <term><filename class="libraryfile">libxfsm-4.6.so</filename></term>
        <listitem>
          <para>
            contains the <application>Xfce Session</application> API functions.
          </para>
          <indexterm zone="xfce4-session libxfsm-4">
            <primary sortas="c-libxfsm-4">libxfsm-4.6.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
