glfs/x/wm/metacity.xml
Manuel Canales Esparcia 66715556ef Tagged metacity.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4387 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-05-20 19:01:02 +00:00

225 lines
8.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY metacity-download-http "http://ftp.gnome.org/pub/GNOME/sources/metacity/2.10/metacity-&metacity-version;.tar.bz2">
<!ENTITY metacity-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/metacity/2.10/metacity-&metacity-version;.tar.bz2">
<!ENTITY metacity-md5sum "c326eb1aed8742057e9ad94b9ccae877">
<!ENTITY metacity-size "1.6 MB">
<!ENTITY metacity-buildsize "47.6 MB">
<!ENTITY metacity-time "0.5 SBU">
]>
<sect1 id="metacity" xreflabel="Metacity-&metacity-version;">
<?dbhtml filename="metacity.html" ?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Metacity-&metacity-version;</title>
<indexterm zone="metacity">
<primary sortas="a-metacity">Metacity</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Metacity</title>
<para>The <application>Metacity</application> package contains a window
manager. This is useful for organizing and displaying windows.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&metacity-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&metacity-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &metacity-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &metacity-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &metacity-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &metacity-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Metacity Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para><xref linkend="intltool"/>,
<xref linkend="GConf"/>, and
<xref linkend="gtk2"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para><xref linkend="startup-notification"/>,
<ulink url="http://freedesktop.org/Software/xlibs">Xrender</ulink>*, and
<ulink
url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>**</para>
<para>* <filename class='libraryfile'>libXrender</filename> is installed
during an <application>XFree86</application> installation, but the
<application>pkgconfig</application> <filename>.pc</filename> file
<application>Metacity</application> looks for is not installed. Satisfy the
requirement by installing an <filename>xrender.pc</filename> file into
<filename class='directory'>/usr/X11R6/lib/pkgconfig</filename> (not
applicable if you have <application>Xorg</application> installed):</para>
<screen role="root"><userinput>cat &gt; /usr/X11R6/lib/pkgconfig/xrender.pc &lt;&lt; "EOF"
<literal>prefix=/usr/X11R6
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Xrender
Description: X Render Library
Version: 0.8.3
Cflags: -I${includedir} -I/usr/X11R6/include
Libs: -L${libdir} -lXrender -L/usr/X11R6/lib -lX11</literal>
EOF</userinput></screen>
<para>** <application>libXcomposite</application> can optionally be used,
but here's what the <application>Metacity</application> package maintainer
has to say about it in the configure script if the package is found:
<quote>Not building compositing manager by default now, must enable
explicitly to get it. And it doesn't work, so don't bother unless you want
to hack on it...</quote></para>
</sect2>
<sect2 role="installation">
<title>Installation of Metacity</title>
<para>Install <application>Metacity</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/metacity-&metacity-version; &amp;&amp;
install -v -m644 README rationales.txt doc/*.txt \
/usr/share/doc/metacity-&metacity-version;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><option>--with-gconf-schema-file-dir=/etc/gnome/gconf/schemas</option>:
Use this option if you are installing <application>Metacity</application> for
a <application>GNOME-2</application> installation.</para>
</sect2>
<sect2 role="configuration" id="metacity-config">
<title>Configuring Metacity</title>
<sect3>
<title>Configuration Information</title>
<para>To automatically start the <application>Metacity</application>
window manager when you issue the <command>startx</command> command,
append to (or create) <filename>.xinitrc</filename> using the command
below (not required if you are installing
<application>Metacity</application> for a
<application>GNOME-2</application> installation). Ensure
you backup your current <filename>~/.xinitrc</filename> before
proceeding:</para>
<indexterm zone="metacity metacity-config">
<primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
</indexterm>
<screen><userinput>cat &gt;&gt; ~/.xinitrc &lt;&lt; "EOF"
<literal>xterm &amp;
exec metacity</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>metacity, metacity-dialog, metacity-message,
metacity-theme-viewer, and metacity-window-demo</seg>
<seg>libmetacity-private.[so,a]</seg>
<seg>/etc/gnome/gconf/gconf.xml.defaults/schemas/apps/metacity,
/etc/gnome/gconf/gconf.xml.defaults/apps/metacity,
/usr/include/metacity-1,
/usr/share/doc/metacity-&metacity-version;,
/usr/share/themes/[Crux,Simple]/metacity-1,
/usr/share/themes/[Atlanta,Bright,Esco,AgingGorilla,Metabox],
/usr/share/metacity, and
/usr/share/gnome/wm-properties</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="metacity-prog">
<term><command>metacity</command></term>
<listitem>
<para>is a window manager used mainly by
<application>GNOME</application>.</para>
<indexterm zone="metacity metacity-prog">
<primary sortas="b-metacity">metacity</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="metacity-theme-viewer">
<term><command>metacity-theme-viewer</command></term>
<listitem>
<para>allows you to preview any installed
<application>Metacity</application> theme. When designing a new
<application>Metacity</application> theme, you can use
<command>metacity-theme-viewer</command> to measure the performance
of a window frame option, and to preview the option.</para>
<indexterm zone="metacity metacity-theme-viewer">
<primary
sortas="b-metacity-theme-viewer">metacity-theme-viewer</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="metacity-window-demo">
<term><command>metacity-window-demo</command></term>
<listitem>
<para>demonstrates various kinds of windows that window managers and
window manager themes should handle.</para>
<indexterm zone="metacity metacity-window-demo">
<primary sortas="b-metacity-window-demo">metacity-window-demo</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>