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 "&gnome-download-http;/gnome-session/&gnome-version;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
8 | <!ENTITY gnome-session-download-ftp "&gnome-download-ftp;/gnome-session/&gnome-version;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-session-md5sum "05012cdf82e48feab17b5bc1804e37cf">
|
---|
10 | <!ENTITY gnome-session-size "685 KB">
|
---|
11 | <!ENTITY gnome-session-buildsize "19 MB">
|
---|
12 | <!ENTITY gnome-session-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gnome-session" xreflabel="gnome-session-&gnome-session-version;">
|
---|
16 | <?dbhtml filename="gnome-session.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>gnome-session-&gnome-session-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="gnome-session">
|
---|
26 | <primary sortas="a-GNOME Session">GNOME Session</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to GNOME Session</title>
|
---|
31 |
|
---|
32 | <para>The <application>GNOME Session</application> package contains
|
---|
33 | the <application>GNOME</application> session manager.</para>
|
---|
34 |
|
---|
35 | &lfs70_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&gnome-session-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&gnome-session-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &gnome-session-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &gnome-session-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &gnome-session-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &gnome-session-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required"><xref linkend="GConf"/>,
|
---|
63 | <xref linkend="gtk3"/>,
|
---|
64 | <xref linkend="json-glib"/>,
|
---|
65 | <xref linkend="startup-notification"/>, and
|
---|
66 | <xref linkend="upower"/></para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
69 | <para role="recommended"><xref linkend="polkit-gnome"/></para>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
72 | <para role="optional"><xref linkend="xmlto"/></para>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Additional Runtime Dependency</bridgehead>
|
---|
75 | <para role="recommended"><xref linkend="consolekit"/> (if you intend to
|
---|
76 | use startx to initiate your <application>GNOME</application> desktop)</para>
|
---|
77 |
|
---|
78 | <para condition="html" role="usernotes">User Notes:
|
---|
79 | <ulink url="&blfs-wiki;/gnome-session"/></para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of GNOME Session</title>
|
---|
85 |
|
---|
86 | <para>Install <application>GNOME Session</application> by
|
---|
87 | running the following commands:</para>
|
---|
88 |
|
---|
89 | <screen><userinput>./configure --prefix=$GNOME_PREFIX \
|
---|
90 | --libexecdir=$GNOME_PREFIX/lib/gnome-session &&
|
---|
91 | make</userinput></screen>
|
---|
92 |
|
---|
93 | <para>This package does not come with a test suite.</para>
|
---|
94 |
|
---|
95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
96 |
|
---|
97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="commands">
|
---|
102 | <title>Command Explanations</title>
|
---|
103 |
|
---|
104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
105 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
106 |
|
---|
107 | <para><parameter>--libexecdir=$GNOME_PREFIX/lib</parameter>: This parameter
|
---|
108 | is used so that the <application>gnome-session</application> internal
|
---|
109 | support programs are installed in the preferred location of <filename
|
---|
110 | class='directory'>$GNOME_PREFIX/lib</filename> instead of <filename
|
---|
111 | class='directory'>$GNOME_PREFIX/libexec</filename>.</para>
|
---|
112 |
|
---|
113 | <para><option>--enable-docbook-docs</option>: This parameter is used to
|
---|
114 | build the documentation.</para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="configuration" id="gnome-session-config">
|
---|
119 | <title>Configuring gnome-session</title>
|
---|
120 |
|
---|
121 | <sect3>
|
---|
122 | <title>Configuration Information</title>
|
---|
123 |
|
---|
124 | <para>If you are not using <application>gdm</application> to start your
|
---|
125 | <application>GNOME</application> desktop, you will need to invoke
|
---|
126 | <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
|
---|
127 | a window-manager directly. All of the packages in the 'Shell' section of
|
---|
128 | this chapter (plus all of those in 'Shell Fallback' if your video driver
|
---|
129 | does not have 3D acceleration) need to be installed first, and some of
|
---|
130 | the 'Utilities' - particularly <application>GNOME Terminal</application>
|
---|
131 | (<application>xterm</application> does not install a '.desktop' file and
|
---|
132 | so not appear in the menus).</para>
|
---|
133 |
|
---|
134 | <para>When <command>gnome-session</command> is run, it invokes the necessary
|
---|
135 | daemons and either <application>Metacity</application> or
|
---|
136 | <application>gnome-shell</application> - the latter will in turn invoke
|
---|
137 | <application>Mutter</application>. A desktop manager such as
|
---|
138 | <application>gdm</application> will invoke <application>ConsoleKit</application>
|
---|
139 | before the window manager, but if you use <command>startx</command> the first
|
---|
140 | invocation after booting may fail because the daemon is not already running,
|
---|
141 | so we will invoke it first.</para>
|
---|
142 |
|
---|
143 | <para>To automatically start the <application>gnome-session</application>
|
---|
144 | window manager when you issue the <command>startx</command> command,
|
---|
145 | backup your current <filename>~/.xinitrc</filename> before proceeding.
|
---|
146 | Note that you will be able to invoke <application>GNOME Terminal</application>
|
---|
147 | from the menu, so there is no reason to invoke xterm here. Create a new
|
---|
148 | <filename>.xinitrc</filename> using this command:</para>
|
---|
149 |
|
---|
150 | <indexterm zone="metacity gnome-session-config">
|
---|
151 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
152 | </indexterm>
|
---|
153 |
|
---|
154 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
155 | <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
|
---|
156 | EOF</userinput></screen>
|
---|
157 |
|
---|
158 | </sect3>
|
---|
159 |
|
---|
160 | </sect2>
|
---|
161 |
|
---|
162 | <sect2 role="content">
|
---|
163 | <title>Contents</title>
|
---|
164 |
|
---|
165 | <segmentedlist>
|
---|
166 | <segtitle>Installed Programs</segtitle>
|
---|
167 | <segtitle>Installed Libraries</segtitle>
|
---|
168 | <segtitle>Installed Directory</segtitle>
|
---|
169 |
|
---|
170 | <seglistitem>
|
---|
171 | <seg>gnome-session, gnome-session-properties, gnome-session-save,
|
---|
172 | gnome-wm, and gnome-settings-daemon-helper</seg>
|
---|
173 | <seg>None</seg>
|
---|
174 | <seg><envar>$GNOME_PREFIX</envar>/{lib/gnome-session/helpers,
|
---|
175 | share/gnome-session}</seg>
|
---|
176 | </seglistitem>
|
---|
177 | </segmentedlist>
|
---|
178 |
|
---|
179 | <variablelist>
|
---|
180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
181 | <?dbfo list-presentation="list"?>
|
---|
182 | <?dbhtml list-presentation="table"?>
|
---|
183 |
|
---|
184 | <varlistentry id="gnome-session-prog">
|
---|
185 | <term><command>gnome-session</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>starts up the <application>GNOME</application> desktop.</para>
|
---|
188 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
189 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="gnome-session-utils">
|
---|
195 | <term><command>gnome-session-*</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>session utilities includes a configuration program and
|
---|
198 | other session management related utilities.</para>
|
---|
199 | <indexterm zone="gnome-session gnome-session-utils">
|
---|
200 | <primary sortas="b-gnome-session-*">gnome-session-*</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | <varlistentry id="gnome-wm">
|
---|
206 | <term><command>gnome-wm</command></term>
|
---|
207 | <listitem>
|
---|
208 | <para>uses the <envar>$WINDOW_MANAGER</envar> environment variable
|
---|
209 | to allow a user to define a window manager of choice. If no
|
---|
210 | <envar>$WINDOW_MANAGER</envar> is defined, <command>gnome-wm</command>
|
---|
211 | defaults to <command>metacity</command> as the default window
|
---|
212 | manager.</para>
|
---|
213 | <indexterm zone="gnome-session gnome-wm">
|
---|
214 | <primary sortas="b-gnome-wm">gnome-wm</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | </variablelist>
|
---|
220 |
|
---|
221 | </sect2>
|
---|
222 |
|
---|
223 | </sect1>
|
---|