[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
|
---|
[35e84dce] | 8 | "&gnome-download-http;/gnome-session/3.6/gnome-session-&gnome-session-version;.tar.xz">
|
---|
[b367c26] | 9 | <!ENTITY gnome-session-download-ftp
|
---|
[35e84dce] | 10 | "&gnome-download-ftp;/gnome-session/3.6/gnome-session-&gnome-session-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-session-md5sum "cae664cf59558b2227b73b292689a1d7">
|
---|
[694c7a8] | 12 | <!ENTITY gnome-session-size "712 KB">
|
---|
[35e84dce] | 13 | <!ENTITY gnome-session-buildsize "20 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 |
|
---|
[35e84dce] | 39 | &lfs72_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"/>,
|
---|
[35e84dce] | 81 | <xref linkend="json-glib"/> and
|
---|
[b367c26] | 82 | <xref linkend="upower"/>
|
---|
| 83 | </para>
|
---|
[ed9b56b8] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b367c26] | 86 | <para role="optional">
|
---|
| 87 | <xref linkend="xmlto"/>
|
---|
| 88 | </para>
|
---|
[ed9b56b8] | 89 |
|
---|
[55a1dbf] | 90 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
| 91 | <para role="required">
|
---|
[b367c26] | 92 | <xref linkend="consolekit"/> (if you intend to use startx to initiate
|
---|
[35e84dce] | 93 | your <application>GNOME</application> desktop)
|
---|
[b367c26] | 94 | </para>
|
---|
[760bdaf] | 95 |
|
---|
[0a7c3921] | 96 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 97 | <ulink url="&blfs-wiki;/gnome-session"/>
|
---|
| 98 | </para>
|
---|
[ed9b56b8] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of GNOME Session</title>
|
---|
| 103 |
|
---|
[7ded7e3] | 104 | <para>
|
---|
| 105 | Install <application>GNOME Session</application> by
|
---|
| 106 | running the following commands:
|
---|
| 107 | </para>
|
---|
[ed9b56b8] | 108 |
|
---|
[b367c26] | 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 110 | --libexecdir=/usr/lib/gnome-session &&
|
---|
[ed9b56b8] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[7ded7e3] | 113 | <para>
|
---|
| 114 | This package does not come with a test suite.
|
---|
| 115 | </para>
|
---|
[ed9b56b8] | 116 |
|
---|
[7ded7e3] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[ed9b56b8] | 120 |
|
---|
| 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[7ded7e3] | 128 | <para>
|
---|
[35e84dce] | 129 | <option>--enable-docbook-docs</option>: This switch is used to
|
---|
| 130 | enable building of the documentation.
|
---|
[7ded7e3] | 131 | </para>
|
---|
[19ed3e6c] | 132 |
|
---|
[ed9b56b8] | 133 | </sect2>
|
---|
| 134 |
|
---|
[79f61a7] | 135 | <sect2 role="configuration" id="gnome-session-config">
|
---|
[7ded7e3] | 136 | <title>Configuring GNOME Session</title>
|
---|
[79f61a7] | 137 |
|
---|
| 138 | <sect3>
|
---|
| 139 | <title>Configuration Information</title>
|
---|
| 140 |
|
---|
[7ded7e3] | 141 | <para>
|
---|
| 142 | If you are not using <application>gdm</application> to start your
|
---|
| 143 | <application>GNOME</application> desktop, you will need to invoke
|
---|
| 144 | <command>gnome-session</command> <emphasis>instead of</emphasis> invoking
|
---|
| 145 | a window-manager directly. All of the packages in the 'Desktop' section of
|
---|
| 146 | this chapter need to be installed first, and some of the 'Applications' -
|
---|
| 147 | particularly <application>GNOME Terminal</application>
|
---|
| 148 | (<application>xterm</application> does not install a '.desktop' file and
|
---|
| 149 | so not appear in the menus).
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 | <para>
|
---|
| 153 | When <command>gnome-session</command> is run, it invokes the necessary
|
---|
| 154 | daemons and either <application>Metacity</application> or
|
---|
| 155 | <application>gnome-shell</application>. A desktop manager such as
|
---|
| 156 | <application>gdm</application> will invoke <application>ConsoleKit</application>
|
---|
| 157 | before the window manager, but if you use <command>startx</command> the first
|
---|
| 158 | invocation after booting may fail because the daemon is not already running,
|
---|
| 159 | so we will invoke it first.
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <para>
|
---|
| 163 | To automatically start the <application>gnome-session</application>
|
---|
| 164 | window manager when you issue the <command>startx</command> command,
|
---|
| 165 | backup your current <filename>~/.xinitrc</filename> before proceeding.
|
---|
| 166 | Note that you will be able to invoke <application>GNOME Terminal</application>
|
---|
| 167 | from the menu, so there is no reason to invoke xterm here. Create a new
|
---|
| 168 | <filename>.xinitrc</filename> using this command:
|
---|
| 169 | </para>
|
---|
[79f61a7] | 170 |
|
---|
| 171 | <indexterm zone="metacity gnome-session-config">
|
---|
| 172 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 |
|
---|
| 175 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
[ce889d2] | 176 | <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>
|
---|
[79f61a7] | 177 | EOF</userinput></screen>
|
---|
| 178 |
|
---|
| 179 | </sect3>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
[ed9b56b8] | 183 | <sect2 role="content">
|
---|
| 184 | <title>Contents</title>
|
---|
| 185 |
|
---|
| 186 | <segmentedlist>
|
---|
| 187 | <segtitle>Installed Programs</segtitle>
|
---|
[551b9389] | 188 | <segtitle>Installed Directory</segtitle>
|
---|
[ed9b56b8] | 189 |
|
---|
| 190 | <seglistitem>
|
---|
[b367c26] | 191 | <seg>
|
---|
| 192 | gnome-session, gnome-session-properties and gnome-session-quit
|
---|
| 193 | </seg>
|
---|
| 194 | <seg>
|
---|
[7ded7e3] | 195 | /usr/lib/gnome-session,
|
---|
| 196 | /usr/share/doc/gnome-session and
|
---|
[b367c26] | 197 | /usr/share/gnome-session
|
---|
| 198 | </seg>
|
---|
[ed9b56b8] | 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="gnome-session-prog">
|
---|
| 208 | <term><command>gnome-session</command></term>
|
---|
| 209 | <listitem>
|
---|
[7ded7e3] | 210 | <para>
|
---|
| 211 | is used to start up the <application>GNOME</application>
|
---|
| 212 | Desktop environment.
|
---|
| 213 | </para>
|
---|
[ed9b56b8] | 214 | <indexterm zone="gnome-session gnome-session-prog">
|
---|
| 215 | <primary sortas="b-gnome-session">gnome-session</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
[b367c26] | 220 | <varlistentry id="gnome-session-properties">
|
---|
| 221 | <term><command>gnome-session-properties</command></term>
|
---|
[ed9b56b8] | 222 | <listitem>
|
---|
[7ded7e3] | 223 | <para>
|
---|
| 224 | allows the users to configure which applications should be
|
---|
| 225 | started at login.
|
---|
| 226 | </para>
|
---|
[b367c26] | 227 | <indexterm zone="gnome-session gnome-session-properties">
|
---|
| 228 | <primary sortas="b-gnome-session-properties">gnome-session-properties</primary>
|
---|
[ed9b56b8] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
[b367c26] | 233 | <varlistentry id="gnome-session-quit">
|
---|
| 234 | <term><command>gnome-session-quit</command></term>
|
---|
[ed9b56b8] | 235 | <listitem>
|
---|
[7ded7e3] | 236 | <para>
|
---|
| 237 | is used to end the <application>GNOME</application> Session.
|
---|
| 238 | </para>
|
---|
[b367c26] | 239 | <indexterm zone="gnome-session gnome-session-quit">
|
---|
| 240 | <primary sortas="b-gnome-session-quit">gnome-session-quit</primary>
|
---|
[ed9b56b8] | 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | </variablelist>
|
---|
| 246 |
|
---|
| 247 | </sect2>
|
---|
[5673583] | 248 |
|
---|
| 249 | </sect1>
|
---|