Introduction to Metacity

The Metacity package contains a window manager. This is useful for organizing and displaying windows.

Package information

Metacity dependencies


startup-notification-0.8, Xrender*, and libXcomposite**

* libXrender is included in a BLFS X Window System installation, but the pkgconfig .pc file Metacity looks for is not installed. Satisfy the requirement by installing an xrender.pc file into /usr/X11R6/lib/pkgconfig which can be installed as:

cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"

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

** libXcomposite can optionally be used, but here's what the Metacity package maintainer has to say about it in the configure script if the package is found: “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...

Installation of Metacity

Install Metacity by running the following commands:

./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc &&

Now, as the root user:

make install

Command explanations

--with-gconf-schema-file-dir=/etc/gnome/gconf/schemas: Use this option if you have the GNOME-2 GConf package installed.

Configuring Metacity

Configuration Information

To automatically start the Metacity window manager when you issue the startx command, append to (or create) .xinitrc using the command below. Ensure you backup your current ~/.xinitrc before proceeding.

cat >> ~/.xinitrc << "EOF"
xterm &
exec metacity


Installed Program: metacity
Installed Libraries: None
Installed Directories: None

Short Descriptions


is a window manager used mainly by GNOME.

Last updated on 2005-02-20 13:48:50 -0700