1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY metacity-download-http "&gnome-download-http;/metacity/&gnome-version;/metacity-&metacity-version;.tar.bz2">
|
---|
8 | <!ENTITY metacity-download-ftp "&gnome-download-ftp;/metacity/&gnome-version;/metacity-&metacity-version;.tar.bz2">
|
---|
9 | <!ENTITY metacity-md5sum "4caabbd7a3ae14ec5ccf6ada2d466049">
|
---|
10 | <!ENTITY metacity-size "1.6 MB">
|
---|
11 | <!ENTITY metacity-buildsize "50.3 MB">
|
---|
12 | <!ENTITY metacity-time "0.5 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="metacity" xreflabel="Metacity-&metacity-version;">
|
---|
16 | <?dbhtml filename="metacity.html" ?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">metacity-&metacity-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">metacity</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>Metacity-&metacity-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="metacity">
|
---|
30 | <primary sortas="a-metacity">Metacity</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to Metacity</title>
|
---|
35 |
|
---|
36 | <para>The <application>Metacity</application> package contains a window
|
---|
37 | manager. This is useful for organizing and displaying windows.</para>
|
---|
38 |
|
---|
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>
|
---|
64 | <para role="required"><xref linkend="gtk2"/>,
|
---|
65 | <xref linkend="GConf"/>, and
|
---|
66 | <xref linkend="perl-xml-parser"/></para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
69 | <para role="optional"><xref linkend="startup-notification"/>
|
---|
70 | (recommended if you are installing <application>GNOME</application>-2) and
|
---|
71 | <ulink url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>*</para>
|
---|
72 |
|
---|
73 | <para>* <application>libXcomposite</application> can optionally be used,
|
---|
74 | but here's what the <application>Metacity</application> package maintainer
|
---|
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>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of Metacity</title>
|
---|
84 |
|
---|
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 |
|
---|
94 | <para>Install <application>Metacity</application> by running the following
|
---|
95 | commands:</para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr \
|
---|
98 | --libexecdir=/usr/lib/metacity \
|
---|
99 | --sysconfdir=/etc &&
|
---|
100 | make</userinput></screen>
|
---|
101 |
|
---|
102 | <para>This package does not come with a test suite.</para>
|
---|
103 |
|
---|
104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install &&
|
---|
107 | install -v -m755 -d /usr/share/doc/metacity-&metacity-version; &&
|
---|
108 | install -v -m644 README rationales.txt doc/*.txt \
|
---|
109 | /usr/share/doc/metacity-&metacity-version;</userinput></screen>
|
---|
110 |
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="commands">
|
---|
114 | <title>Command Explanations</title>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <option>--with-gconf-schema-file-dir=&gnome-etc-dir;/gconf/schemas</option>:
|
---|
118 | Use this option if you are installing <application>Metacity</application> for
|
---|
119 | a <application>GNOME-2</application> installation.</para>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="configuration" id="metacity-config">
|
---|
124 | <title>Configuring Metacity</title>
|
---|
125 |
|
---|
126 | <sect3>
|
---|
127 | <title>Configuration Information</title>
|
---|
128 |
|
---|
129 | <para>To automatically start the <application>Metacity</application>
|
---|
130 | window manager when you issue the <command>startx</command> command,
|
---|
131 | append to (or create) <filename>.xinitrc</filename> using the command
|
---|
132 | below (not required if you are installing
|
---|
133 | <application>Metacity</application> for a
|
---|
134 | <application>GNOME-2</application> installation). Ensure
|
---|
135 | you backup your current <filename>~/.xinitrc</filename> before
|
---|
136 | proceeding:</para>
|
---|
137 |
|
---|
138 | <indexterm zone="metacity metacity-config">
|
---|
139 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
140 | </indexterm>
|
---|
141 |
|
---|
142 | <screen><userinput>cat >> ~/.xinitrc << "EOF"
|
---|
143 | <literal>xterm &
|
---|
144 | exec metacity</literal>
|
---|
145 | EOF</userinput></screen>
|
---|
146 |
|
---|
147 | </sect3>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <sect2 role="content">
|
---|
152 | <title>Contents</title>
|
---|
153 |
|
---|
154 | <segmentedlist>
|
---|
155 | <segtitle>Installed Programs</segtitle>
|
---|
156 | <segtitle>Installed Library</segtitle>
|
---|
157 | <segtitle>Installed Directories</segtitle>
|
---|
158 |
|
---|
159 | <seglistitem>
|
---|
160 | <seg>metacity, metacity-message, metacity-theme-viewer
|
---|
161 | and metacity-window-demo</seg>
|
---|
162 | <seg>libmetacity-private.[so,a]</seg>
|
---|
163 | <seg>&gnome-etc-dir;/gconf/gconf.xml.defaults[,/schemas]/apps/metacity,
|
---|
164 | /usr/include/metacity-1,
|
---|
165 | /usr/lib/metacity,
|
---|
166 | /usr/share/doc/metacity-&metacity-version;,
|
---|
167 | /usr/share/gnome/wm-properties,
|
---|
168 | /usr/share/metacity and
|
---|
169 | /usr/share/themes/[AgingGorilla,Atlanta,Bright,Crux,Esco,Metabox,Simple]/metacity-1</seg>
|
---|
170 | </seglistitem>
|
---|
171 | </segmentedlist>
|
---|
172 |
|
---|
173 | <variablelist>
|
---|
174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
175 | <?dbfo list-presentation="list"?>
|
---|
176 | <?dbhtml list-presentation="table"?>
|
---|
177 |
|
---|
178 | <varlistentry id="metacity-prog">
|
---|
179 | <term><command>metacity</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>is a window manager used mainly by
|
---|
182 | <application>GNOME</application>.</para>
|
---|
183 | <indexterm zone="metacity metacity-prog">
|
---|
184 | <primary sortas="b-metacity">metacity</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="metacity-theme-viewer">
|
---|
190 | <term><command>metacity-theme-viewer</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>allows you to preview any installed
|
---|
193 | <application>Metacity</application> theme. When designing a new
|
---|
194 | <application>Metacity</application> theme, you can use
|
---|
195 | <command>metacity-theme-viewer</command> to measure the performance
|
---|
196 | of a window frame option, and to preview the option.</para>
|
---|
197 | <indexterm zone="metacity metacity-theme-viewer">
|
---|
198 | <primary
|
---|
199 | sortas="b-metacity-theme-viewer">metacity-theme-viewer</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="metacity-window-demo">
|
---|
205 | <term><command>metacity-window-demo</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>demonstrates various kinds of windows that window managers and
|
---|
208 | window manager themes should handle.</para>
|
---|
209 | <indexterm zone="metacity metacity-window-demo">
|
---|
210 | <primary sortas="b-metacity-window-demo">metacity-window-demo</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | </variablelist>
|
---|
216 |
|
---|
217 | </sect2>
|
---|
218 |
|
---|
219 | </sect1>
|
---|