[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 |
|
---|
[b367c26] | 7 | <!ENTITY gnome-session-download-http
|
---|
| 8 | "&gnome-download-http;/gnome-session/3.4/gnome-session-&gnome-session-version;.tar.xz">
|
---|
| 9 | <!ENTITY gnome-session-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/gnome-session/3.4/gnome-session-&gnome-session-version;.tar.xz">
|
---|
[694c7a8] | 11 | <!ENTITY gnome-session-md5sum "7254bcc8e1e493cbf2a27e4f3cbe966b">
|
---|
| 12 | <!ENTITY gnome-session-size "712 KB">
|
---|
[b367c26] | 13 | <!ENTITY gnome-session-buildsize "18 MB">
|
---|
[0c4e116] | 14 | <!ENTITY gnome-session-time "0.3 SBU">
|
---|
[fdca4266] | 15 | ]>
|
---|
| 16 |
|
---|
[a027d7d3] | 17 | <sect1 id="gnome-session" xreflabel="gnome-session-&gnome-session-version;">
|
---|
[ed9b56b8] | 18 | <?dbhtml filename="gnome-session.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[a027d7d3] | 25 | <title>gnome-session-&gnome-session-version;</title>
|
---|
[ed9b56b8] | 26 |
|
---|
| 27 | <indexterm zone="gnome-session">
|
---|
[7ded7e3] | 28 | <primary sortas="a-gnome-session">gnome-session</primary>
|
---|
[ed9b56b8] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to GNOME Session</title>
|
---|
| 33 |
|
---|
[7ded7e3] | 34 | <para>
|
---|
| 35 | The <application>GNOME Session</application> package contains
|
---|
| 36 | the <application>GNOME</application> session manager.
|
---|
| 37 | </para>
|
---|
[ed9b56b8] | 38 |
|
---|
[79f61a7] | 39 | &lfs70_checked;
|
---|
[7b5015b9] | 40 |
|
---|
[ed9b56b8] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[7ded7e3] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&gnome-session-download-http;"/>
|
---|
| 46 | </para>
|
---|
[ed9b56b8] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[7ded7e3] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&gnome-session-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[ed9b56b8] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[7ded7e3] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &gnome-session-md5sum;
|
---|
| 56 | </para>
|
---|
[ed9b56b8] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[7ded7e3] | 59 | <para>
|
---|
| 60 | Download size: &gnome-session-size;
|
---|
| 61 | </para>
|
---|
[ed9b56b8] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[7ded7e3] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &gnome-session-buildsize;
|
---|
| 66 | </para>
|
---|
[ed9b56b8] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[7ded7e3] | 69 | <para>
|
---|
| 70 | Estimated build time: &gnome-session-time;
|
---|
| 71 | </para>
|
---|
[ed9b56b8] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">GNOME Session Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b367c26] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="GConf"/>,
|
---|
| 80 | <xref linkend="gtk3"/>,
|
---|
| 81 | <xref linkend="json-glib"/>,
|
---|
| 82 | <xref linkend="startup-notification"/> and
|
---|
| 83 | <xref linkend="upower"/>
|
---|
| 84 | </para>
|
---|
[ed9b56b8] | 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b367c26] | 87 | <para role="optional">
|
---|
| 88 | <xref linkend="xmlto"/>
|
---|
| 89 | </para>
|
---|
[ed9b56b8] | 90 |
|
---|
[55a1dbf] | 91 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
| 92 | <para role="required">
|
---|
[b367c26] | 93 | <xref linkend="consolekit"/> (if you intend to use startx to initiate
|
---|
[55a1dbf] | 94 | your <application>GNOME</application> desktop) and
|
---|
| 95 | <xref linkend="polkit-gnome"/>
|
---|
[b367c26] | 96 | </para>
|
---|
[760bdaf] | 97 |
|
---|
[0a7c3921] | 98 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 99 | <ulink url="&blfs-wiki;/gnome-session"/>
|
---|
| 100 | </para>
|
---|
[ed9b56b8] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of GNOME Session</title>
|
---|
| 105 |
|
---|
[7ded7e3] | 106 | <para>
|
---|
| 107 | Install <application>GNOME Session</application> by
|
---|
| 108 | running the following commands:
|
---|
| 109 | </para>
|
---|
[ed9b56b8] | 110 |
|
---|
[b367c26] | 111 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 112 | --libexecdir=/usr/lib/gnome-session &&
|
---|
[ed9b56b8] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[7ded7e3] | 115 | <para>
|
---|
| 116 | This package does not come with a test suite.
|
---|
| 117 | </para>
|
---|
[ed9b56b8] | 118 |
|
---|
[7ded7e3] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[ed9b56b8] | 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[7ded7e3] | 130 | <para>
|
---|
| 131 | <parameter>--libexecdir=/usr/lib/gnome-session</parameter>: This
|
---|
| 132 | parameter is used so that the <application>gnome-session</application>
|
---|
| 133 | internal support programs are installed in the preferred location of
|
---|
| 134 | <filename class="directory">/usr/lib/gnome-session</filename> instead of
|
---|
| 135 | <filename class="directory">/usr/libexec</filename>.
|
---|
| 136 | </para>
|
---|
[7b5015b9] | 137 |
|
---|
[7ded7e3] | 138 | <para>
|
---|
| 139 | <option>--enable-docbook-docs</option>: This parameter is used to
|
---|
| 140 | build the documentation.
|
---|
| 141 | </para>
|
---|
[19ed3e6c] | 142 |
|
---|
[ed9b56b8] | 143 | </sect2>
|
---|
| 144 |
|
---|
[79f61a7] | 145 | <sect2 role="configuration" id="gnome-session-config">
|
---|
[7ded7e3] | 146 | <title>Configuring GNOME Session</title>
|
---|
[79f61a7] | 147 |
|
---|
| 148 | <sect3>
|
---|
| 149 | <title>Configuration Information</title>
|
---|
| 150 |
|
---|
[7ded7e3] | 151 | <para>
|
---|
| 152 | If you are not using <application>gdm</application> to start your
|
---|
| 153 | <application>GNOME</application> desktop, you will need to invoke
|
---|
| 154 | <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
|
---|
| 155 | a window-manager directly. All of the packages in the 'Desktop' section of
|
---|
| 156 | this chapter need to be installed first, and some of the 'Applications' -
|
---|
| 157 | particularly <application>GNOME Terminal</application>
|
---|
| 158 | (<application>xterm</application> does not install a '.desktop' file and
|
---|
| 159 | so not appear in the menus).
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <para>
|
---|
| 163 | When <command>gnome-session</command> is run, it invokes the necessary
|
---|
| 164 | daemons and either <application>Metacity</application> or
|
---|
| 165 | <application>gnome-shell</application>. A desktop manager such as
|
---|
| 166 | <application>gdm</application> will invoke <application>ConsoleKit</application>
|
---|
| 167 | before the window manager, but if you use <command>startx</command> the first
|
---|
| 168 | invocation after booting may fail because the daemon is not already running,
|
---|
| 169 | so we will invoke it first.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
| 173 | To automatically start the <application>gnome-session</application>
|
---|
| 174 | window manager when you issue the <command>startx</command> command,
|
---|
| 175 | backup your current <filename>~/.xinitrc</filename> before proceeding.
|
---|
| 176 | Note that you will be able to invoke <application>GNOME Terminal</application>
|
---|
| 177 | from the menu, so there is no reason to invoke xterm here. Create a new
|
---|
| 178 | <filename>.xinitrc</filename> using this command:
|
---|
| 179 | </para>
|
---|
[79f61a7] | 180 |
|
---|
| 181 | <indexterm zone="metacity gnome-session-config">
|
---|
| 182 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 |
|
---|
| 185 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
[ce889d2] | 186 | <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
|
---|
[79f61a7] | 187 | EOF</userinput></screen>
|
---|
| 188 |
|
---|
| 189 | </sect3>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
[ed9b56b8] | 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
| 197 | <segtitle>Installed Programs</segtitle>
|
---|
[551b9389] | 198 | <segtitle>Installed Directory</segtitle>
|
---|
[ed9b56b8] | 199 |
|
---|
| 200 | <seglistitem>
|
---|
[b367c26] | 201 | <seg>
|
---|
| 202 | gnome-session, gnome-session-properties and gnome-session-quit
|
---|
| 203 | </seg>
|
---|
| 204 | <seg>
|
---|
[7ded7e3] | 205 | /usr/lib/gnome-session,
|
---|
| 206 | /usr/share/doc/gnome-session and
|
---|
[b367c26] | 207 | /usr/share/gnome-session
|
---|
| 208 | </seg>
|
---|
[ed9b56b8] | 209 | </seglistitem>
|
---|
| 210 | </segmentedlist>
|
---|
| 211 |
|
---|
| 212 | <variablelist>
|
---|
| 213 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 214 | <?dbfo list-presentation="list"?>
|
---|
| 215 | <?dbhtml list-presentation="table"?>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="gnome-session-prog">
|
---|
| 218 | <term><command>gnome-session</command></term>
|
---|
| 219 | <listitem>
|
---|
[7ded7e3] | 220 | <para>
|
---|
| 221 | is used to start up the <application>GNOME</application>
|
---|
| 222 | Desktop environment.
|
---|
| 223 | </para>
|
---|
[ed9b56b8] | 224 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
| 225 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
[b367c26] | 230 | <varlistentry id="gnome-session-properties">
|
---|
| 231 | <term><command>gnome-session-properties</command></term>
|
---|
[ed9b56b8] | 232 | <listitem>
|
---|
[7ded7e3] | 233 | <para>
|
---|
| 234 | allows the users to configure which applications should be
|
---|
| 235 | started at login.
|
---|
| 236 | </para>
|
---|
[b367c26] | 237 | <indexterm zone="gnome-session gnome-session-properties">
|
---|
| 238 | <primary sortas="b-gnome-session-properties">gnome-session-properties</primary>
|
---|
[ed9b56b8] | 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
[b367c26] | 243 | <varlistentry id="gnome-session-quit">
|
---|
| 244 | <term><command>gnome-session-quit</command></term>
|
---|
[ed9b56b8] | 245 | <listitem>
|
---|
[7ded7e3] | 246 | <para>
|
---|
| 247 | is used to end the <application>GNOME</application> Session.
|
---|
| 248 | </para>
|
---|
[b367c26] | 249 | <indexterm zone="gnome-session gnome-session-quit">
|
---|
| 250 | <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
|
---|
[ed9b56b8] | 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | </variablelist>
|
---|
| 256 |
|
---|
| 257 | </sect2>
|
---|
[5673583] | 258 |
|
---|
| 259 | </sect1>
|
---|