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