[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
|
---|
[c339779] | 8 | "&gnome-download-http;/gnome-session/&gnome-minor-38;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
[2e704d1b] | 9 | <!ENTITY gnome-session-download-ftp
|
---|
[c339779] | 10 | "&gnome-download-ftp;/gnome-session/&gnome-minor-38;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-session-md5sum "736024b46e2542b9b68adaa43f754f49">
|
---|
| 12 | <!ENTITY gnome-session-size "472 KB">
|
---|
| 13 | <!ENTITY gnome-session-buildsize "15 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 |
|
---|
[7023ba6] | 38 | &lfs101_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="GConf"/>,
|
---|
| 90 | <xref linkend="xmlto"/>, and
|
---|
[2e704d1b] | 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 |
|
---|
[75215bf] | 104 | <para>
|
---|
[c339779] | 105 | When running GNOME under <xref linkend="wayland"/>, environment settings
|
---|
[881bfdc] | 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,
|
---|
[ab3656c] | 109 | execute the following command to make
|
---|
[881bfdc] | 110 | <command>gnome-session</command> use a login shell:
|
---|
[75215bf] | 111 | </para>
|
---|
| 112 |
|
---|
[881bfdc] | 113 | <screen><userinput>sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in</userinput></screen>
|
---|
[75215bf] | 114 |
|
---|
[a26e9db] | 115 | <para revision="systemd">
|
---|
| 116 | Adapt gnome-session to changes in systemd-247:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
[1cbc454] | 119 | <screen revision="systemd"><userinput remap="pre">echo 'Slice=-.slice' >> data/gnome-session-restart-dbus.service.in</userinput></screen>
|
---|
[a26e9db] | 120 |
|
---|
[c339779] | 121 | <para revision="sysv">
|
---|
| 122 | Adapt meson.build so that gnome-session can build without systemd:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <screen revision="sysv"><userinput remap="pre">sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build</userinput></screen>
|
---|
| 126 |
|
---|
[2e704d1b] | 127 | <para>
|
---|
| 128 | Install <application>GNOME Session</application> by
|
---|
| 129 | running the following commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[51dfb3e] | 132 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 133 | cd build &&
|
---|
| 134 |
|
---|
| 135 | meson --prefix=/usr \
|
---|
| 136 | -Dsystemd_journal=false \
|
---|
| 137 | .. &&
|
---|
| 138 | ninja</userinput></screen>
|
---|
| 139 |
|
---|
| 140 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
[fef2695] | 141 | cd build &&
|
---|
| 142 |
|
---|
[0ecaac7] | 143 | meson --prefix=/usr .. &&
|
---|
[fef2695] | 144 | ninja</userinput></screen>
|
---|
[2e704d1b] | 145 |
|
---|
| 146 | <para>
|
---|
| 147 | This package does not come with a test suite.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
| 151 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[fef2695] | 154 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[ab3656c] | 155 | <!-- For some reason, there are I/O errors with the DTD @ freedesktop
|
---|
| 156 | that causes error messages to flood stdin. -->
|
---|
[2e704d1b] | 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 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Programs</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
| 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
| 176 | <seg>
|
---|
[ab3656c] | 177 | gnome-session, gnome-session-custom-session, gnome-session-inhibit,
|
---|
| 178 | and gnome-session-quit
|
---|
[2e704d1b] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | None
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
[0129a2f5] | 184 | /usr/share/doc/gnome-session-&gnome-session-version; and
|
---|
| 185 | /usr/share/gnome-session
|
---|
[2e704d1b] | 186 | </seg>
|
---|
| 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="gnome-session-prog">
|
---|
| 196 | <term><command>gnome-session</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | is used to start up the <application>GNOME</application>
|
---|
[4c24eb0a] | 200 | Desktop environment
|
---|
[2e704d1b] | 201 | </para>
|
---|
| 202 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
| 203 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="gnome-session-inhibit">
|
---|
| 209 | <term><command>gnome-session-inhibit</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>
|
---|
| 212 | is used to inhibit certain <application>GNOME</application>
|
---|
[4c24eb0a] | 213 | Session functionality while executing the given command
|
---|
[2e704d1b] | 214 | </para>
|
---|
| 215 | <indexterm zone="gnome-session gnome-session-inhibit">
|
---|
| 216 | <primary sortas="b-gnome-session-inhibit">gnome-session-inhibit</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="gnome-session-quit">
|
---|
| 222 | <term><command>gnome-session-quit</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
[4c24eb0a] | 225 | is used to end the <application>GNOME</application> Session
|
---|
[2e704d1b] | 226 | </para>
|
---|
| 227 | <indexterm zone="gnome-session gnome-session-quit">
|
---|
| 228 | <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|