mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
6e3484383f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5098 af4574ff-66df-0310-9fd7-8a98e5e911e0
211 lines
7.7 KiB
XML
211 lines
7.7 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"/> and
|
|
<ulink url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>*</para>
|
|
|
|
<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><application>Metacity</application> will look for an
|
|
<application>X Render</application> <application>pkg-config</application>
|
|
file. If you use <application>XFree86</application> as your
|
|
<application>X</application> Window system, ensure this file exists
|
|
(<filename>/usr/X11R6/lib/pkgconfig/xrender.pc</filename>). Instructions to
|
|
create this file have just recently been added to the BLFS book, so you may
|
|
need to go back to the <application>XFree86</application> section to create
|
|
it.</para>
|
|
|
|
<para>Install <application>Metacity</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
install -v -m755 -d /usr/share/doc/metacity-&metacity-version; &&
|
|
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 >> ~/.xinitrc << "EOF"
|
|
<literal>xterm &
|
|
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>
|