source: gnome/platform/gnome-session.xml@ 98d1bf9c

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 98d1bf9c was 98d1bf9c, checked in by Xi Ruoyao <xry111@…>, 21 months ago

gnome-session: drop dbus-glib dependency

It's only needed if ConsoleKit support is requested, and ConsoleKit is
dead now.

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