[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[69e285d] | 7 | <!ENTITY metacity-download-http "http://ftp.gnome.org/pub/GNOME/sources/metacity/2.10/metacity-&metacity-version;.tar.bz2">
|
---|
| 8 | <!ENTITY metacity-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/metacity/2.10/metacity-&metacity-version;.tar.bz2">
|
---|
| 9 | <!ENTITY metacity-md5sum "c326eb1aed8742057e9ad94b9ccae877">
|
---|
| 10 | <!ENTITY metacity-size "1.6 MB">
|
---|
| 11 | <!ENTITY metacity-buildsize "47.6 MB">
|
---|
| 12 | <!ENTITY metacity-time "0.5 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[8a69010] | 15 | <sect1 id="metacity" xreflabel="Metacity-&metacity-version;">
|
---|
[6671555] | 16 | <?dbhtml filename="metacity.html" ?>
|
---|
[587ebea] | 17 |
|
---|
[6671555] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[851cc10] | 22 |
|
---|
[6671555] | 23 | <title>Metacity-&metacity-version;</title>
|
---|
[feeb99a] | 24 |
|
---|
[6671555] | 25 | <indexterm zone="metacity">
|
---|
| 26 | <primary sortas="a-metacity">Metacity</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Metacity</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Metacity</application> package contains a window
|
---|
[feeb99a] | 33 | manager. This is useful for organizing and displaying windows.</para>
|
---|
| 34 |
|
---|
[6671555] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&metacity-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&metacity-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &metacity-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &metacity-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &metacity-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &metacity-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">Metacity Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 60 | <para><xref linkend="intltool"/>,
|
---|
| 61 | <xref linkend="GConf"/>, and
|
---|
| 62 | <xref linkend="gtk2"/></para>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 65 | <para><xref linkend="startup-notification"/>,
|
---|
| 66 | <ulink url="http://freedesktop.org/Software/xlibs">Xrender</ulink>*, and
|
---|
| 67 | <ulink
|
---|
| 68 | url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>**</para>
|
---|
| 69 |
|
---|
| 70 | <para>* <filename class='libraryfile'>libXrender</filename> is installed
|
---|
| 71 | during an <application>XFree86</application> installation, but the
|
---|
| 72 | <application>pkgconfig</application> <filename>.pc</filename> file
|
---|
| 73 | <application>Metacity</application> looks for is not installed. Satisfy the
|
---|
| 74 | requirement by installing an <filename>xrender.pc</filename> file into
|
---|
| 75 | <filename class='directory'>/usr/X11R6/lib/pkgconfig</filename> (not
|
---|
| 76 | applicable if you have <application>Xorg</application> installed):</para>
|
---|
| 77 |
|
---|
| 78 | <screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
|
---|
| 79 | <literal>prefix=/usr/X11R6
|
---|
[851cc10] | 80 | exec_prefix=${prefix}
|
---|
| 81 | libdir=${exec_prefix}/lib
|
---|
| 82 | includedir=${prefix}/include
|
---|
| 83 |
|
---|
| 84 | Name: Xrender
|
---|
| 85 | Description: X Render Library
|
---|
| 86 | Version: 0.8.3
|
---|
| 87 | Cflags: -I${includedir} -I/usr/X11R6/include
|
---|
[6671555] | 88 | Libs: -L${libdir} -lXrender -L/usr/X11R6/lib -lX11</literal>
|
---|
| 89 | EOF</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>** <application>libXcomposite</application> can optionally be used,
|
---|
| 92 | but here's what the <application>Metacity</application> package maintainer
|
---|
| 93 | has to say about it in the configure script if the package is found:
|
---|
| 94 | <quote>Not building compositing manager by default now, must enable
|
---|
| 95 | explicitly to get it. And it doesn't work, so don't bother unless you want
|
---|
| 96 | to hack on it...</quote></para>
|
---|
[903ec33f] | 97 |
|
---|
[6671555] | 98 | </sect2>
|
---|
[feeb99a] | 99 |
|
---|
[6671555] | 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Metacity</title>
|
---|
[feeb99a] | 102 |
|
---|
[6671555] | 103 | <para>Install <application>Metacity</application> by running the following
|
---|
| 104 | commands:</para>
|
---|
[feeb99a] | 105 |
|
---|
[6671555] | 106 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc &&
|
---|
| 107 | make</userinput></screen>
|
---|
[feeb99a] | 108 |
|
---|
[6671555] | 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[851cc10] | 110 |
|
---|
[6671555] | 111 | <screen role="root"><userinput>make install &&
|
---|
[69e285d] | 112 | install -v -m755 -d /usr/share/doc/metacity-&metacity-version; &&
|
---|
| 113 | install -v -m644 README rationales.txt doc/*.txt \
|
---|
[6671555] | 114 | /usr/share/doc/metacity-&metacity-version;</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
| 121 | <para><option>--with-gconf-schema-file-dir=/etc/gnome/gconf/schemas</option>:
|
---|
| 122 | Use this option if you are installing <application>Metacity</application> for
|
---|
| 123 | a <application>GNOME-2</application> installation.</para>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="configuration" id="metacity-config">
|
---|
| 128 | <title>Configuring Metacity</title>
|
---|
| 129 |
|
---|
| 130 | <sect3>
|
---|
| 131 | <title>Configuration Information</title>
|
---|
| 132 |
|
---|
| 133 | <para>To automatically start the <application>Metacity</application>
|
---|
| 134 | window manager when you issue the <command>startx</command> command,
|
---|
| 135 | append to (or create) <filename>.xinitrc</filename> using the command
|
---|
| 136 | below (not required if you are installing
|
---|
| 137 | <application>Metacity</application> for a
|
---|
| 138 | <application>GNOME-2</application> installation). Ensure
|
---|
| 139 | you backup your current <filename>~/.xinitrc</filename> before
|
---|
| 140 | proceeding:</para>
|
---|
| 141 |
|
---|
| 142 | <indexterm zone="metacity metacity-config">
|
---|
| 143 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 |
|
---|
| 146 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
| 147 | <literal>xterm &
|
---|
| 148 | exec metacity</literal>
|
---|
| 149 | EOF</userinput></screen>
|
---|
| 150 |
|
---|
| 151 | </sect3>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Library</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>metacity, metacity-dialog, metacity-message,
|
---|
| 165 | metacity-theme-viewer, and metacity-window-demo</seg>
|
---|
| 166 | <seg>libmetacity-private.[so,a]</seg>
|
---|
| 167 | <seg>/etc/gnome/gconf/gconf.xml.defaults/schemas/apps/metacity,
|
---|
| 168 | /etc/gnome/gconf/gconf.xml.defaults/apps/metacity,
|
---|
| 169 | /usr/include/metacity-1,
|
---|
| 170 | /usr/share/doc/metacity-&metacity-version;,
|
---|
| 171 | /usr/share/themes/[Crux,Simple]/metacity-1,
|
---|
| 172 | /usr/share/themes/[Atlanta,Bright,Esco,AgingGorilla,Metabox],
|
---|
| 173 | /usr/share/metacity, and
|
---|
| 174 | /usr/share/gnome/wm-properties</seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="metacity-prog">
|
---|
| 184 | <term><command>metacity</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>is a window manager used mainly by
|
---|
| 187 | <application>GNOME</application>.</para>
|
---|
| 188 | <indexterm zone="metacity metacity-prog">
|
---|
| 189 | <primary sortas="b-metacity">metacity</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="metacity-theme-viewer">
|
---|
| 195 | <term><command>metacity-theme-viewer</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>allows you to preview any installed
|
---|
| 198 | <application>Metacity</application> theme. When designing a new
|
---|
| 199 | <application>Metacity</application> theme, you can use
|
---|
| 200 | <command>metacity-theme-viewer</command> to measure the performance
|
---|
| 201 | of a window frame option, and to preview the option.</para>
|
---|
| 202 | <indexterm zone="metacity metacity-theme-viewer">
|
---|
| 203 | <primary
|
---|
| 204 | sortas="b-metacity-theme-viewer">metacity-theme-viewer</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="metacity-window-demo">
|
---|
| 210 | <term><command>metacity-window-demo</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>demonstrates various kinds of windows that window managers and
|
---|
| 213 | window manager themes should handle.</para>
|
---|
| 214 | <indexterm zone="metacity metacity-window-demo">
|
---|
| 215 | <primary sortas="b-metacity-window-demo">metacity-window-demo</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | </variablelist>
|
---|
| 221 |
|
---|
| 222 | </sect2>
|
---|
[587ebea] | 223 |
|
---|
[6671555] | 224 | </sect1>
|
---|