[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[79f61a7] | 7 | <!ENTITY gnome-session-download-http "&gnome-download-http;/gnome-session/&gnome-version;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
| 8 | <!ENTITY gnome-session-download-ftp "&gnome-download-ftp;/gnome-session/&gnome-version;/gnome-session-&gnome-session-version;.tar.xz">
|
---|
| 9 | <!ENTITY gnome-session-md5sum "05012cdf82e48feab17b5bc1804e37cf">
|
---|
| 10 | <!ENTITY gnome-session-size "685 KB">
|
---|
| 11 | <!ENTITY gnome-session-buildsize "19 MB">
|
---|
[0c4e116] | 12 | <!ENTITY gnome-session-time "0.3 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[5673583] | 15 | <sect1 id="gnome-session" xreflabel="GNOME Session-&gnome-session-version;">
|
---|
[ed9b56b8] | 16 | <?dbhtml filename="gnome-session.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GNOME Session-&gnome-session-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gnome-session">
|
---|
| 26 | <primary sortas="a-GNOME Session">GNOME Session</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GNOME Session</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>GNOME Session</application> package contains
|
---|
| 33 | the <application>GNOME</application> session manager.</para>
|
---|
| 34 |
|
---|
[79f61a7] | 35 | &lfs70_checked;
|
---|
[7b5015b9] | 36 |
|
---|
[ed9b56b8] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&gnome-session-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&gnome-session-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &gnome-session-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &gnome-session-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &gnome-session-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &gnome-session-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[9497073] | 62 | <para role="required"><xref linkend="GConf"/>,
|
---|
[79f61a7] | 63 | <xref linkend="gtk3"/>,
|
---|
| 64 | <xref linkend="json-glib"/>,
|
---|
[9497073] | 65 | <xref linkend="startup-notification"/>, and
|
---|
[1a55dac4] | 66 | <xref linkend="upower"/></para>
|
---|
[ed9b56b8] | 67 |
|
---|
[b9df1a8] | 68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 69 | <para role="recommended"><xref linkend="polkit-gnome"/></para>
|
---|
| 70 |
|
---|
[ed9b56b8] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9497073] | 72 | <para role="optional"><xref linkend="xmlto"/></para>
|
---|
[ed9b56b8] | 73 |
|
---|
[0a7c3921] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/gnome-session"/></para>
|
---|
| 76 |
|
---|
[ed9b56b8] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of GNOME Session</title>
|
---|
| 81 |
|
---|
| 82 | <para>Install <application>GNOME Session</application> by
|
---|
| 83 | running the following commands:</para>
|
---|
| 84 |
|
---|
[79f61a7] | 85 | <screen><userinput>./configure --prefix=$GNOME_PREFIX \
|
---|
| 86 | --libexecdir=$GNOME_PREFIX/lib &&
|
---|
[ed9b56b8] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>This package does not come with a test suite.</para>
|
---|
| 90 |
|
---|
| 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="commands">
|
---|
| 98 | <title>Command Explanations</title>
|
---|
| 99 |
|
---|
[e05cd03f] | 100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 101 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 102 |
|
---|
[79f61a7] | 103 | <para><parameter>--libexecdir=$GNOME_PREFIX/lib</parameter>: This parameter
|
---|
| 104 | is used so that the <application>gnome-session</application> internal
|
---|
| 105 | support programs are installed in the preferred location of <filename
|
---|
[7b5015b9] | 106 | class='directory'>$GNOME_PREFIX/lib</filename> instead of <filename
|
---|
| 107 | class='directory'>$GNOME_PREFIX/libexec</filename>.</para>
|
---|
| 108 |
|
---|
[19ed3e6c] | 109 | <para><option>--enable-docbook-docs</option>: This parameter is used to
|
---|
| 110 | build the documentation.</para>
|
---|
| 111 |
|
---|
[ed9b56b8] | 112 | </sect2>
|
---|
| 113 |
|
---|
[79f61a7] | 114 | <sect2 role="configuration" id="gnome-session-config">
|
---|
| 115 | <title>Configuring gnome-session</title>
|
---|
| 116 |
|
---|
| 117 | <sect3>
|
---|
| 118 | <title>Configuration Information</title>
|
---|
| 119 |
|
---|
| 120 | <para>If you are not using <application>gdm</application> to start your
|
---|
| 121 | <application>GNOME</application> desktop, you will need to invoke
|
---|
| 122 | <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
|
---|
| 123 | a window-manager directly. All of the packages in the 'Shell' section of
|
---|
| 124 | this chapter (plus all of those in 'Shell Fallback' if your video driver
|
---|
| 125 | does not have 3D acceleration) need to be installed first, and some of
|
---|
| 126 | the 'Utilities' - particularly <application>GNOME Terminal</application>
|
---|
| 127 | (<application>xterm</application> does not install a '.desktop' file and
|
---|
[ce889d2] | 128 | so not appear in the menus).</para>
|
---|
[79f61a7] | 129 |
|
---|
| 130 | <para>When <command>gnome-session</command> is run, it invokes the necessary
|
---|
| 131 | daemons and either <application>Metacity</application> or
|
---|
| 132 | <application>gnome-shell</application> - the latter will in turn invoke
|
---|
[ce889d2] | 133 | <application>Mutter</application>. A desktop manager such as
|
---|
| 134 | <application>gdm</application> will invoke <application>ConsoleKit</application>
|
---|
| 135 | before the window manager, but if you use <command>startx</command> the first
|
---|
| 136 | invocation after booting may fail because the daemon is not already running,
|
---|
| 137 | so we will invoke it first.</para>
|
---|
[79f61a7] | 138 |
|
---|
| 139 | <para>To automatically start the <application>gnome-session</application>
|
---|
| 140 | window manager when you issue the <command>startx</command> command,
|
---|
| 141 | backup your current <filename>~/.xinitrc</filename> before proceeding.
|
---|
| 142 | Note that you will be able to invoke <application>GNOME Terminal</application>
|
---|
| 143 | from the menu, so there is no reason to invoke xterm here. Create a new
|
---|
| 144 | <filename>.xinitrc</filename> using this command:</para>
|
---|
| 145 |
|
---|
| 146 | <indexterm zone="metacity gnome-session-config">
|
---|
| 147 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 |
|
---|
| 150 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
[ce889d2] | 151 | <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
|
---|
[79f61a7] | 152 | EOF</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | </sect3>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
[ed9b56b8] | 158 | <sect2 role="content">
|
---|
| 159 | <title>Contents</title>
|
---|
| 160 |
|
---|
| 161 | <segmentedlist>
|
---|
| 162 | <segtitle>Installed Programs</segtitle>
|
---|
| 163 | <segtitle>Installed Libraries</segtitle>
|
---|
[551b9389] | 164 | <segtitle>Installed Directory</segtitle>
|
---|
[ed9b56b8] | 165 |
|
---|
| 166 | <seglistitem>
|
---|
[7b5015b9] | 167 | <seg>gnome-session, gnome-session-properties, gnome-session-save,
|
---|
| 168 | gnome-wm, and gnome-settings-daemon-helper</seg>
|
---|
[ed9b56b8] | 169 | <seg>None</seg>
|
---|
[7b5015b9] | 170 | <seg><envar>$GNOME_PREFIX</envar>/{lib/gnome-session/helpers,
|
---|
| 171 | share/gnome-session}</seg>
|
---|
[ed9b56b8] | 172 | </seglistitem>
|
---|
| 173 | </segmentedlist>
|
---|
| 174 |
|
---|
| 175 | <variablelist>
|
---|
| 176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 177 | <?dbfo list-presentation="list"?>
|
---|
| 178 | <?dbhtml list-presentation="table"?>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="gnome-session-prog">
|
---|
| 181 | <term><command>gnome-session</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>starts up the <application>GNOME</application> desktop.</para>
|
---|
| 184 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
| 185 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="gnome-session-utils">
|
---|
| 191 | <term><command>gnome-session-*</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>session utilities includes a configuration program and
|
---|
| 194 | other session management related utilities.</para>
|
---|
| 195 | <indexterm zone="gnome-session gnome-session-utils">
|
---|
| 196 | <primary sortas="b-gnome-session-*">gnome-session-*</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="gnome-wm">
|
---|
| 202 | <term><command>gnome-wm</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>uses the <envar>$WINDOW_MANAGER</envar> environment variable
|
---|
| 205 | to allow a user to define a window manager of choice. If no
|
---|
| 206 | <envar>$WINDOW_MANAGER</envar> is defined, <command>gnome-wm</command>
|
---|
| 207 | defaults to <command>metacity</command> as the default window
|
---|
| 208 | manager.</para>
|
---|
| 209 | <indexterm zone="gnome-session gnome-wm">
|
---|
| 210 | <primary sortas="b-gnome-wm">gnome-wm</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | </variablelist>
|
---|
| 216 |
|
---|
| 217 | </sect2>
|
---|
[5673583] | 218 |
|
---|
| 219 | </sect1>
|
---|