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