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