source: gnome/core/gnome-session.xml@ ce889d2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ce889d2 was ce889d2, checked in by Ken Moffat <ken@…>, 12 years ago

Improve gnome-session details: the logout function on the commandline does work, and I tracked down what turned out to be a problem on every first attempt (after booting) to run gnome-session.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9461 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.2 KB
Line 
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 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/gnome-session"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of GNOME Session</title>
81
82 <para>Install <application>GNOME Session</application> by
83 running the following commands:</para>
84
85<screen><userinput>./configure --prefix=$GNOME_PREFIX \
86 --libexecdir=$GNOME_PREFIX/lib &amp;&amp;
87make</userinput></screen>
88
89 <para>This package does not come with a test suite.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
94
95 </sect2>
96
97 <sect2 role="commands">
98 <title>Command Explanations</title>
99
100 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
101 href="../../xincludes/gnome-prefix.xml"/>
102
103 <para><parameter>--libexecdir=$GNOME_PREFIX/lib</parameter>: This parameter
104 is used so that the <application>gnome-session</application> internal
105 support programs are installed in the preferred location of <filename
106 class='directory'>$GNOME_PREFIX/lib</filename> instead of <filename
107 class='directory'>$GNOME_PREFIX/libexec</filename>.</para>
108
109 <para><option>--enable-docbook-docs</option>: This parameter is used to
110 build the documentation.</para>
111
112 </sect2>
113
114 <sect2 role="configuration" id="gnome-session-config">
115 <title>Configuring gnome-session</title>
116
117 <sect3>
118 <title>Configuration Information</title>
119
120 <para>If you are not using <application>gdm</application> to start your
121 <application>GNOME</application> desktop, you will need to invoke
122 <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
123 a window-manager directly. All of the packages in the 'Shell' section of
124 this chapter (plus all of those in 'Shell Fallback' if your video driver
125 does not have 3D acceleration) need to be installed first, and some of
126 the 'Utilities' - particularly <application>GNOME Terminal</application>
127 (<application>xterm</application> does not install a '.desktop' file and
128 so not appear in the menus).</para>
129
130 <para>When <command>gnome-session</command> is run, it invokes the necessary
131 daemons and either <application>Metacity</application> or
132 <application>gnome-shell</application> - the latter will in turn invoke
133 <application>Mutter</application>. A desktop manager such as
134 <application>gdm</application> will invoke <application>ConsoleKit</application>
135 before the window manager, but if you use <command>startx</command> the first
136 invocation after booting may fail because the daemon is not already running,
137 so we will invoke it first.</para>
138
139 <para>To automatically start the <application>gnome-session</application>
140 window manager when you issue the <command>startx</command> command,
141 backup your current <filename>~/.xinitrc</filename> before proceeding.
142 Note that you will be able to invoke <application>GNOME Terminal</application>
143 from the menu, so there is no reason to invoke xterm here. Create a new
144 <filename>.xinitrc</filename> using this command:</para>
145
146 <indexterm zone="metacity gnome-session-config">
147 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
148 </indexterm>
149
150<screen><userinput>cat &gt;&gt; ~/.xinitrc &lt;&lt; "EOF"
151<literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
152EOF</userinput></screen>
153
154 </sect3>
155
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directory</segtitle>
165
166 <seglistitem>
167 <seg>gnome-session, gnome-session-properties, gnome-session-save,
168 gnome-wm, and gnome-settings-daemon-helper</seg>
169 <seg>None</seg>
170 <seg><envar>$GNOME_PREFIX</envar>/{lib/gnome-session/helpers,
171 share/gnome-session}</seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="gnome-session-prog">
181 <term><command>gnome-session</command></term>
182 <listitem>
183 <para>starts up the <application>GNOME</application> desktop.</para>
184 <indexterm zone="gnome-session gnome-session-prog">
185 <primary sortas="b-gnome-session">gnome-session</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="gnome-session-utils">
191 <term><command>gnome-session-*</command></term>
192 <listitem>
193 <para>session utilities includes a configuration program and
194 other session management related utilities.</para>
195 <indexterm zone="gnome-session gnome-session-utils">
196 <primary sortas="b-gnome-session-*">gnome-session-*</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="gnome-wm">
202 <term><command>gnome-wm</command></term>
203 <listitem>
204 <para>uses the <envar>$WINDOW_MANAGER</envar> environment variable
205 to allow a user to define a window manager of choice. If no
206 <envar>$WINDOW_MANAGER</envar> is defined, <command>gnome-wm</command>
207 defaults to <command>metacity</command> as the default window
208 manager.</para>
209 <indexterm zone="gnome-session gnome-wm">
210 <primary sortas="b-gnome-wm">gnome-wm</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect2>
218
219</sect1>
Note: See TracBrowser for help on using the repository browser.