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