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