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/&gnome-40;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-session-download-ftp
|
---|
10 | "&gnome-download-ftp;/gnome-session/&gnome-40;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
11 | <!ENTITY gnome-session-md5sum "4fe52c247137b0c9329ca4ddfe9f0070">
|
---|
12 | <!ENTITY gnome-session-size "472 KB">
|
---|
13 | <!ENTITY gnome-session-buildsize "15 MB">
|
---|
14 | <!ENTITY gnome-session-time "0.1 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 | &lfs110a_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="dbus-glib"/>,
|
---|
79 | <phrase revision="sysv"><xref role="runtime" linkend="elogind"/>,</phrase>
|
---|
80 | <xref linkend="gnome-desktop"/>,
|
---|
81 | <xref linkend="json-glib"/>,
|
---|
82 | <xref linkend="mesa"/>,
|
---|
83 | <phrase revision="systemd"><xref role="runtime" linkend="systemd"/>,</phrase>
|
---|
84 | and <xref linkend="upower"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="GConf"/>,
|
---|
90 | <xref linkend="xmlto"/>, and
|
---|
91 | <xref linkend="libxslt"/> with
|
---|
92 | <xref linkend="DocBook"/> and
|
---|
93 | <xref linkend="docbook-xsl"/> (to build the documentation)
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para condition="html" role="usernotes">User Notes:
|
---|
97 | <ulink url="&blfs-wiki;/gnome-session"/>
|
---|
98 | </para>
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="installation">
|
---|
102 | <title>Installation of GNOME Session</title>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | When running GNOME under <xref linkend="wayland"/>, environment settings
|
---|
106 | are not imported for the user using the system profile. The Wayland
|
---|
107 | developers are currently undecided on a standard method to provide system
|
---|
108 | environment settings for user sessions. To work around this limitation,
|
---|
109 | execute the following command to make
|
---|
110 | <command>gnome-session</command> use a login shell:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in</userinput></screen>
|
---|
114 |
|
---|
115 | <!-- Not needed with 40.1.1
|
---|
116 | <para revision="systemd">
|
---|
117 | Adapt gnome-session to changes in systemd-247:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen revision="systemd"><userinput remap="pre">echo 'Slice=-.slice' >> data/gnome-session-restart-dbus.service.in</userinput></screen>
|
---|
121 | -->
|
---|
122 |
|
---|
123 | <para revision="sysv">
|
---|
124 | Adapt meson.build so that gnome-session can build without systemd:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen revision="sysv"><userinput remap="pre">sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | Install <application>GNOME Session</application> by
|
---|
131 | running the following commands:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
135 | cd build &&
|
---|
136 |
|
---|
137 | meson --prefix=/usr \
|
---|
138 | --buildtype=release \
|
---|
139 | -Dsystemd_journal=false \
|
---|
140 | .. &&
|
---|
141 | ninja</userinput></screen>
|
---|
142 |
|
---|
143 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
144 | cd build &&
|
---|
145 |
|
---|
146 | meson --prefix=/usr --buildtype=release .. &&
|
---|
147 | ninja</userinput></screen>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | This package does not come with a test suite.
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
158 | <!-- For some reason, there are I/O errors with the DTD @ freedesktop
|
---|
159 | that causes error messages to flood stdin. -->
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | Move the documentation to a versioned directory:
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <screen role="root"><userinput>mv -v /usr/share/doc/gnome-session{,-&gnome-session-version;}</userinput></screen>
|
---|
166 |
|
---|
167 | <para revision="sysv">
|
---|
168 | Now, as the <systemitem class="username">root</systemitem> user,
|
---|
169 | remove systemd units that are useless on SysV systems:
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <screen role="root" revision="sysv"><userinput>rm -rv /tmp/{*.d,*.target,*.service}</userinput></screen>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="commands">
|
---|
177 | <title>Command Explanations</title>
|
---|
178 |
|
---|
179 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
180 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | <sect2 role="content">
|
---|
184 | <title>Contents</title>
|
---|
185 |
|
---|
186 | <segmentedlist>
|
---|
187 | <segtitle>Installed Programs</segtitle>
|
---|
188 | <segtitle>Installed Libraries</segtitle>
|
---|
189 | <segtitle>Installed Directories</segtitle>
|
---|
190 |
|
---|
191 | <seglistitem>
|
---|
192 | <seg>
|
---|
193 | gnome-session, gnome-session-custom-session, gnome-session-inhibit,
|
---|
194 | and gnome-session-quit
|
---|
195 | </seg>
|
---|
196 | <seg>
|
---|
197 | None
|
---|
198 | </seg>
|
---|
199 | <seg>
|
---|
200 | /usr/share/doc/gnome-session-&gnome-session-version; and
|
---|
201 | /usr/share/gnome-session
|
---|
202 | </seg>
|
---|
203 | </seglistitem>
|
---|
204 | </segmentedlist>
|
---|
205 |
|
---|
206 | <variablelist>
|
---|
207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
208 | <?dbfo list-presentation="list"?>
|
---|
209 | <?dbhtml list-presentation="table"?>
|
---|
210 |
|
---|
211 | <varlistentry id="gnome-session-prog">
|
---|
212 | <term><command>gnome-session</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>
|
---|
215 | is used to start up the <application>GNOME</application>
|
---|
216 | Desktop environment
|
---|
217 | </para>
|
---|
218 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
219 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="gnome-session-inhibit">
|
---|
225 | <term><command>gnome-session-inhibit</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is used to inhibit certain <application>GNOME</application>
|
---|
229 | Session functionality while executing the given command
|
---|
230 | </para>
|
---|
231 | <indexterm zone="gnome-session gnome-session-inhibit">
|
---|
232 | <primary sortas="b-gnome-session-inhibit">gnome-session-inhibit</primary>
|
---|
233 | </indexterm>
|
---|
234 | </listitem>
|
---|
235 | </varlistentry>
|
---|
236 |
|
---|
237 | <varlistentry id="gnome-session-quit">
|
---|
238 | <term><command>gnome-session-quit</command></term>
|
---|
239 | <listitem>
|
---|
240 | <para>
|
---|
241 | is used to end the <application>GNOME</application> Session
|
---|
242 | </para>
|
---|
243 | <indexterm zone="gnome-session gnome-session-quit">
|
---|
244 | <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | </variablelist>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | </sect1>
|
---|