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