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 |
|
---|
7 | <!ENTITY xfce4-session-download-http "http://archive.xfce.org/src/xfce/xfce4-session/&xfce4-version;/xfce4-session-&xfce4-session-version;.tar.bz2">
|
---|
8 | <!ENTITY xfce4-session-download-ftp " ">
|
---|
9 | <!ENTITY xfce4-session-md5sum "4768e1a41a0287af6aad18b329a0f230">
|
---|
10 | <!ENTITY xfce4-session-size "1.2 MB">
|
---|
11 | <!ENTITY xfce4-session-buildsize "20 MB">
|
---|
12 | <!ENTITY xfce4-session-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xfce4-session" xreflabel="xfce4-session-&xfce4-session-version;">
|
---|
16 | <?dbhtml filename="xfce4-session.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>xfce4-session-&xfce4-session-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="xfce4-session">
|
---|
26 | <primary sortas="a-xfce4-session">xfce4-session</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Xfce4 Session</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>Xfce4 Session</application> is a session manager for
|
---|
34 | <application>Xfce</application>. Its task is to save the state of your
|
---|
35 | desktop (opened applications and their location) and restore it during a
|
---|
36 | next startup. You can create several different sessions and choose one of
|
---|
37 | them on startup.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs71_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&xfce4-session-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&xfce4-session-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &xfce4-session-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &xfce4-session-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &xfce4-session-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &xfce4-session-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Xfce4 Session Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="libwnck2"/> and
|
---|
81 | <xref linkend="libxfce4ui"/>.
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url="&blfs-wiki;/xfce4-session"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Xfce4 Session</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>Xfce4 Session</application> by running the following
|
---|
94 | commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --docdir=/usr/share/doc/xfce4-session-&xfce4-session-version; \
|
---|
98 | --prefix=/usr --sysconfdir=/etc --disable-static &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | This package does not come with a test suite.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="commands">
|
---|
113 | <title>Command Explanations</title>
|
---|
114 |
|
---|
115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
116 | href="../../xincludes/static-libraries.xml"/>
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="configuration">
|
---|
120 | <title>Configuring Xfce4 Session</title>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | To launch <application>Xfce4</application> when you start
|
---|
124 | <application>Xorg</application>, put <command>xfce4-session</command> in
|
---|
125 | your <filename>~/.xinitrc</filename>:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen><userinput>echo exec xfce4-session > ~/.xinitrc</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | If you have installed <xref linkend='dbus'/> and want to use it within
|
---|
132 | <application>Xfce4</application>, ensure the D-BUS daemon is started and
|
---|
133 | change the <filename>~/.xinitrc</filename> to read:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen><userinput>echo "exec dbus-launch --exit-with-session xfce4-session" > ~/.xinitrc</userinput></screen>
|
---|
137 |
|
---|
138 | <para>
|
---|
139 | To determine who can shut down or reboot your computer,
|
---|
140 | <application>Xfce4 Session</application> has a run time dependency on
|
---|
141 | <xref linkend="sudo"/>. To configure <application>Sudo</application> so
|
---|
142 | that a user can shut down or reboot, add a line to
|
---|
143 | <filename>/etc/sudoers</filename>. In this <command>echo</command>, change
|
---|
144 | USERNAME for the user's login name. As the
|
---|
145 | <systemitem class="username">root</systemitem> user:
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>echo <replaceable>USERNAME</replaceable> ${HOSTNAME} = NOPASSWD: /usr/lib/xfce4/session/xfsm-shutdown-helper \
|
---|
149 | >> /etc/sudoers</userinput></screen>
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2 role="content">
|
---|
153 | <title>Contents</title>
|
---|
154 |
|
---|
155 | <segmentedlist>
|
---|
156 | <segtitle>Installed Programs</segtitle>
|
---|
157 | <segtitle>Installed Library</segtitle>
|
---|
158 | <segtitle>Installed Directories</segtitle>
|
---|
159 |
|
---|
160 | <seglistitem>
|
---|
161 | <seg>
|
---|
162 | xfce4-session,
|
---|
163 | xfce4-session-logout,
|
---|
164 | xfce4-session-settings and
|
---|
165 | xfce4-tips.
|
---|
166 | </seg>
|
---|
167 | <seg>libxfsm-4.6.so.</seg>
|
---|
168 | <seg>
|
---|
169 | /usr/include/xfce4/xfce4-session-4.6,
|
---|
170 | /usr/share/xfce4/tips and
|
---|
171 | /usr/share/doc/xfce4-session-&xfce4-session-version;.
|
---|
172 | </seg>
|
---|
173 | </seglistitem>
|
---|
174 | </segmentedlist>
|
---|
175 |
|
---|
176 | <variablelist>
|
---|
177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
178 | <?dbfo list-presentation="list"?>
|
---|
179 | <?dbhtml list-presentation="table"?>
|
---|
180 |
|
---|
181 | <varlistentry id="xfce4-session-prog">
|
---|
182 | <term><command>xfce4-session</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | starts up the <application>Xfce</application> Desktop Environment.
|
---|
186 | </para>
|
---|
187 | <indexterm zone="xfce4-session xfce4-session-prog">
|
---|
188 | <primary sortas="b-xfce4-session">xfce4-session</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="xfce4-session-logout">
|
---|
194 | <term><command>xfce4-session-logout</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | logs out from <application>Xfce</application>.
|
---|
198 | </para>
|
---|
199 | <indexterm zone="xfce4-session xfce4-session-logout">
|
---|
200 | <primary sortas="b-xfce4-session-logout">xfce4-session-logout</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | <varlistentry id="xfce4-session-settings">
|
---|
206 | <term><command>xfce4-session-settings</command></term>
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | is a <application>Gtk 2</application> GUI which allows you to alter
|
---|
210 | your preferences for your <application>Xfce Session</application>.
|
---|
211 | </para>
|
---|
212 | <indexterm zone="xfce4-session xfce4-session-settings">
|
---|
213 | <primary sortas="b-xfce4-session-settings">xfce4-session-settings</primary>
|
---|
214 | </indexterm>
|
---|
215 | </listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | <varlistentry id="xfce4-tips">
|
---|
219 | <term><command>xfce4-tips</command></term>
|
---|
220 | <listitem>
|
---|
221 | <para>
|
---|
222 | is a <application>Gtk 2</application> GUI which displays tips when
|
---|
223 | you log in to an <application>Xfce Session</application>.
|
---|
224 | </para>
|
---|
225 | <indexterm zone="xfce4-session xfce4-tips">
|
---|
226 | <primary sortas="b-xfce4-tips">xfce4-tips</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="libxfsm-4.6">
|
---|
232 | <term><filename class="libraryfile">libxfsm-4.6.so</filename></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | contains the <application>Xfce Session</application> API functions.
|
---|
236 | </para>
|
---|
237 | <indexterm zone="xfce4-session libxfsm-4.6">
|
---|
238 | <primary sortas="c-libxfsm-4.6">libxfsm-4.6.so</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 | </variablelist>
|
---|
243 | </sect2>
|
---|
244 | </sect1>
|
---|