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 gnome-session-download-http
|
---|
8 | "&gnome-download-http;/gnome-session/3.6/gnome-session-&gnome-session-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-session-download-ftp
|
---|
10 | "&gnome-download-ftp;/gnome-session/3.6/gnome-session-&gnome-session-version;.tar.xz">
|
---|
11 | <!ENTITY gnome-session-md5sum "355730543dbcc166f331d806cd0da22d">
|
---|
12 | <!ENTITY gnome-session-size "716 KB">
|
---|
13 | <!ENTITY gnome-session-buildsize "20 MB">
|
---|
14 | <!ENTITY gnome-session-time "0.3 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="gnome-session" xreflabel="gnome-session-&gnome-session-version;">
|
---|
18 | <?dbhtml filename="gnome-session.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>gnome-session-&gnome-session-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="gnome-session">
|
---|
27 | <primary sortas="a-gnome-session">gnome-session</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to GNOME Session</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>GNOME Session</application> package contains
|
---|
35 | the <application>GNOME</application> session manager.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs72_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&gnome-session-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&gnome-session-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &gnome-session-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &gnome-session-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &gnome-session-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &gnome-session-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="GConf"/>,
|
---|
79 | <xref linkend="gtk3"/>,
|
---|
80 | <xref linkend="json-glib"/> and
|
---|
81 | <xref linkend="upower"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="xmlto"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
90 | <para role="required">
|
---|
91 | <xref linkend="consolekit"/> (if you intend to use startx to initiate
|
---|
92 | your <application>GNOME</application> desktop)
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">User Notes:
|
---|
96 | <ulink url="&blfs-wiki;/gnome-session"/>
|
---|
97 | </para>
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of GNOME Session</title>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Install <application>GNOME Session</application> by
|
---|
105 | running the following commands:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/gnome-session &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | This package does not come with a test suite.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | <option>--enable-docbook-docs</option>: This switch is used to
|
---|
128 | enable building of the documentation.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="configuration" id="gnome-session-config">
|
---|
134 | <title>Configuring GNOME Session</title>
|
---|
135 |
|
---|
136 | <sect3>
|
---|
137 | <title>Configuration Information</title>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | If you are not using <application>GDM</application> to start your
|
---|
141 | <application>GNOME</application> desktop, you will need to invoke
|
---|
142 | <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
|
---|
143 | a window-manager directly. All of the packages in the 'Desktop' section of
|
---|
144 | this chapter need to be installed first, and some of the 'Applications' -
|
---|
145 | particularly <application>GNOME Terminal</application>
|
---|
146 | (<application>xterm</application> does not install a '.desktop' file and
|
---|
147 | so not appear in the menus).
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <para>
|
---|
151 | When <command>gnome-session</command> is run, it invokes the necessary
|
---|
152 | daemons and either <application>Metacity</application> or
|
---|
153 | <application>gnome-shell</application>. A desktop manager such as
|
---|
154 | <application>GDM</application> will invoke <application>ConsoleKit</application>
|
---|
155 | before the window manager, but if you use <command>startx</command> the first
|
---|
156 | invocation after booting may fail because the daemon is not already running,
|
---|
157 | so it is invoked first.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | To automatically start the <application>gnome-session</application>
|
---|
162 | window manager when you issue the <command>startx</command> command,
|
---|
163 | backup your current <filename>~/.xinitrc</filename> before proceeding.
|
---|
164 | Note that you will be able to invoke <application>GNOME Terminal</application>
|
---|
165 | from the menu, so there is no reason to invoke <command>xterm</command> here.
|
---|
166 | Create a new <filename>.xinitrc</filename> using this command:
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <indexterm zone="metacity gnome-session-config">
|
---|
170 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
171 | </indexterm>
|
---|
172 |
|
---|
173 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
174 | <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
|
---|
175 | EOF</userinput></screen>
|
---|
176 |
|
---|
177 | </sect3>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | <sect2 role="content">
|
---|
182 | <title>Contents</title>
|
---|
183 |
|
---|
184 | <segmentedlist>
|
---|
185 | <segtitle>Installed Programs</segtitle>
|
---|
186 | <segtitle>Installed Libraries</segtitle>
|
---|
187 | <segtitle>Installed Directories</segtitle>
|
---|
188 |
|
---|
189 | <seglistitem>
|
---|
190 | <seg>
|
---|
191 | gnome-session, gnome-session-properties and gnome-session-quit
|
---|
192 | </seg>
|
---|
193 | <seg>
|
---|
194 | None
|
---|
195 | </seg>
|
---|
196 | <seg>
|
---|
197 | /usr/lib/gnome-session,
|
---|
198 | /usr/share/doc/gnome-session and
|
---|
199 | /usr/share/gnome-session
|
---|
200 | </seg>
|
---|
201 | </seglistitem>
|
---|
202 | </segmentedlist>
|
---|
203 |
|
---|
204 | <variablelist>
|
---|
205 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
206 | <?dbfo list-presentation="list"?>
|
---|
207 | <?dbhtml list-presentation="table"?>
|
---|
208 |
|
---|
209 | <varlistentry id="gnome-session-prog">
|
---|
210 | <term><command>gnome-session</command></term>
|
---|
211 | <listitem>
|
---|
212 | <para>
|
---|
213 | is used to start up the <application>GNOME</application>
|
---|
214 | Desktop environment.
|
---|
215 | </para>
|
---|
216 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
217 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="gnome-session-properties">
|
---|
223 | <term><command>gnome-session-properties</command></term>
|
---|
224 | <listitem>
|
---|
225 | <para>
|
---|
226 | allows the users to configure which applications should be
|
---|
227 | started at login.
|
---|
228 | </para>
|
---|
229 | <indexterm zone="gnome-session gnome-session-properties">
|
---|
230 | <primary sortas="b-gnome-session-properties">gnome-session-properties</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 |
|
---|
235 | <varlistentry id="gnome-session-quit">
|
---|
236 | <term><command>gnome-session-quit</command></term>
|
---|
237 | <listitem>
|
---|
238 | <para>
|
---|
239 | is used to end the <application>GNOME</application> Session.
|
---|
240 | </para>
|
---|
241 | <indexterm zone="gnome-session gnome-session-quit">
|
---|
242 | <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
|
---|
243 | </indexterm>
|
---|
244 | </listitem>
|
---|
245 | </varlistentry>
|
---|
246 |
|
---|
247 | </variablelist>
|
---|
248 |
|
---|
249 | </sect2>
|
---|
250 |
|
---|
251 | </sect1>
|
---|