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