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