source: gnome/platform/gnome-session.xml@ 75215bf

10.0 10.1 11.0 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 75215bf was 75215bf, checked in by DJ Lucas <dj@…>, 5 years ago

Import system environemnt (/etc/profile) in gnome-session for Wayland session.

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

  • Property mode set to 100644
File size: 6.9 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
8 "&gnome-download-http;/gnome-session/&gnome-minor-22;/gnome-session-&gnome-session-version;.tar.xz">
9 <!ENTITY gnome-session-download-ftp
10 "&gnome-download-ftp;/gnome-session/&gnome-minor-22;/gnome-session-&gnome-session-version;.tar.xz">
11 <!ENTITY gnome-session-md5sum "6ff071ca67ae7516e97e4b7b78bc82fc">
12 <!ENTITY gnome-session-size "760 KB">
13 <!ENTITY gnome-session-buildsize "18 MB">
14 <!ENTITY gnome-session-time "0.2 SBU">
15]>
16
17<sect1 id="gnome-session" xreflabel="gnome-session-&gnome-session-version;" revision="systemd">
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>
35 The <application>GNOME Session</application> package contains
36 the <application>GNOME</application> session manager.
37 </para>
38
39 &lfs7a_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&gnome-session-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&gnome-session-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &gnome-session-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &gnome-session-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &gnome-session-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &gnome-session-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="dbus-glib"/>,
80 <xref linkend="gnome-desktop"/>,
81 <xref linkend="json-glib"/>,
82 <xref linkend="mesa"/>, and
83 <xref linkend="upower"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="GConf"/>,
89 <xref linkend="xmlto"/>, and
90 <xref linkend="libxslt"/> with
91 <xref linkend="DocBook"/> and
92 <xref linkend="docbook-xsl"/> (to build the documentation)
93 </para>
94
95 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
96 <para role="required">
97 <xref linkend="systemd"/>
98 </para>
99
100 <para condition="html" role="usernotes">User Notes:
101 <ulink url="&blfs-wiki;/gnome-session"/>
102 </para>
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of GNOME Session</title>
107
108 <para>
109 When running Gnome under <xref linkend="wayland"/>, environment settings
110 are not imported for the user using the system's
111 <filename>/etc/profile</filename>. The Wayland developers are currently
112 undecided on a standard method to provide system environment settings for
113 user sessions. To work around this limitation, execute the following
114 commands to import the system environment from
115 <filename>/etc/profile</filename>:
116 </para>
117
118<screen><userinput>mv gnome-session/gnome-session.{in,bak} &amp;&amp;
119cat &gt; gnome-session/gnome-session.in &lt;&lt; "EOF" &amp;&amp;
120<literal>#!/bin/sh
121
122# Source /etc/profile if running in Xwayland
123if [ "${XDG_SESSION_TYPE}" == "wayland" ]; then
124 . /etc/profile
125fi</literal>
126EOF
127sed 's@#!/bin/sh@@' gnome-session/gnome-session.bak >> \
128 gnome-session/gnome-session.in</userinput></screen>
129
130 <para>
131 Install <application>GNOME Session</application> by
132 running the following commands:
133 </para>
134
135<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/gnome-session-&gnome-session-version; &amp;&amp;
136make</userinput></screen>
137
138 <para>
139 This package does not come with a test suite.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make install</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <option>--enable-docbook-docs</option>: This switch is used to
155 enable building the documentation.
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 gnome-session, gnome-session-inhibit, and gnome-session-quit
171 </seg>
172 <seg>
173 None
174 </seg>
175 <seg>
176 /usr/share/doc/gnome-session-&gnome-session-version; and
177 /usr/share/gnome-session
178 </seg>
179 </seglistitem>
180 </segmentedlist>
181
182 <variablelist>
183 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <?dbfo list-presentation="list"?>
185 <?dbhtml list-presentation="table"?>
186
187 <varlistentry id="gnome-session-prog">
188 <term><command>gnome-session</command></term>
189 <listitem>
190 <para>
191 is used to start up the <application>GNOME</application>
192 Desktop environment.
193 </para>
194 <indexterm zone="gnome-session gnome-session-prog">
195 <primary sortas="b-gnome-session">gnome-session</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="gnome-session-inhibit">
201 <term><command>gnome-session-inhibit</command></term>
202 <listitem>
203 <para>
204 is used to inhibit certain <application>GNOME</application>
205 Session functionality while executing the given command.
206 </para>
207 <indexterm zone="gnome-session gnome-session-inhibit">
208 <primary sortas="b-gnome-session-inhibit">gnome-session-inhibit</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="gnome-session-quit">
214 <term><command>gnome-session-quit</command></term>
215 <listitem>
216 <para>
217 is used to end the <application>GNOME</application> Session.
218 </para>
219 <indexterm zone="gnome-session gnome-session-quit">
220 <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.