<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2001/420 GNOME 2.x Window Manager, Metacity-->
<!ENTITY cmd "metacity">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2003,2011 Oracle and/or its affiliates. All Rights Reserved.">
]>
<refentry id="metacity-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>metacity</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">16 Sep 2008</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>metacity</primary></indexterm>
<indexterm><primary>metacity-theme-viewer</primary></indexterm>
<indexterm><primary>GNOME desktop window manager</primary></indexterm>
<indexterm><primary>theme viewer for the <command>metacity</command>
window manager themes</primary></indexterm>
<refnamediv id="metacity-1-name">
<refname>metacity</refname>
<refname>metacity&mdash;theme-viewer</refname>
<refpurpose>
GNOME desktop window manager, theme viewer for the <command>metacity</command>
window manager themes</refpurpose>
</refnamediv>
<refsynopsisdiv id="metacity-1-synp">
<title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg choice="opt"><option>-display=<replaceable>display</replaceable></option></arg>
<arg choice="opt"><option>-help</option></arg>
<arg choice="opt"><option>-replace</option></arg>
<arg choice="opt"><option>-sm-client-id=<replaceable>id</replaceable></option></arg>
<arg choice="opt"><option>-sm-disable</option></arg>
<arg choice="opt"><option>-sm-save-file=<replaceable>file</replaceable></option></arg>
<arg choice="opt"><option>-version</option></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>&cmd;-theme-viewer</command>
<arg choice="opt"><option role="nodash"><replaceable>theme-name</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1 id="metacity-1-desc">
<title>&desc-tt;</title>
<para>
<command>&cmd;</command> is a fully integrated window manager that is designed
to integrate well with the GNOME desktop.  To configure
<command>&cmd;</command>, use the GNOME preferences dialogs.
</para>
<para>
<command>&cmd;-theme-viewer</command> is an application for testing and
displaying <command>&cmd;</command> themes.
</para>
<para>
Note: The metacity window manager also provides a library called
libmetacity-private. This library is licensed under GPL. Please see the license
file at <filename>/usr/share/doc/SUNWgnome-wm/COPYING.bz2</filename> for
implications when writing a program which uses this library.
</para>
</refsect1>

<refsect1 id="metacity-1-opts">
<title>&opts-tt;</title>
<para>
The following options are supported by <command>metacity</command>:
</para>
<variablelist termlength="wholeline">
<varlistentry>
<term><option>-display=<replaceable>display</replaceable></option></term>
<listitem><para>
Specify the remote X <replaceable>display</replaceable> to be used by the
window manager, where <replaceable>display</replaceable> is in the following
format:</para>
<para>
<replaceable>hostname</replaceable>:<replaceable>displaynumber</replaceable>.<replaceable>screennumber</replaceable>
</para>
</listitem></varlistentry>
<varlistentry>
<term><option>?</option>, <option>-help</option></term>
<listitem><para>
Display detailed usage message.</para>
</listitem></varlistentry>
<varlistentry>
<term><option>-replace</option></term>
<listitem><para>
A window manager which is running is replaced by <command>&cmd;</command>.
Users are encouraged to change the GNOME window manager by running the
new WM with the <option>-replace</option> option, and subsequently
saving the session.
</para></listitem></varlistentry>
<varlistentry>
<term><option>-sm-client-id=<replaceable>id</replaceable></option></term>
<listitem><para>
Specify a session management <replaceable>id</replaceable>.
</para></listitem></varlistentry>
<varlistentry>
<term><option>-sm-disable</option></term>
<listitem><para>
Disable the session management.
</para></listitem></varlistentry>
<varlistentry>
<term><option>-sm-save-file=<replaceable>file</replaceable></option></term>
<listitem><para>
Specifies the session management <replaceable>file</replaceable> to be used.
By default, the <filename>$HOME/.metacity/sessions</filename> file is
used.
</para></listitem></varlistentry>
<varlistentry>
<term><option>-version</option></term>
<listitem><para>
Display the version information for <command>&cmd;</command>.
</para></listitem></varlistentry>
</variablelist></refsect1>

<refsect1 id="metacity-1-oper">
<title>&oper-tt;</title>
<para>
The following operands are supported by <command>metacity-theme-viewer</command>:
</para>
<variablelist termlength="short">
<varlistentry>
<term><option role="nodash"><replaceable>theme-name</replaceable></option></term>
<listitem><para>
Specifies the theme that <command>&cmd;-theme-viewer</command> should use.  If
no theme is specified on the command line, then
<command>&cmd;-theme-viewer</command> loads the "Atlanta" theme. An error
message is displayed if the specified theme does not exist.
</para>
</listitem></varlistentry>
</variablelist>
</refsect1>

<refsect1 id="metacity-1-exam">
<title>&exam-tt;</title>
<example role="example">
<title>Starting &cmd; From the Command Line When a <command>&cmd;</command> is
Already Running</title>
<para>
<screen>example% <userinput>&cmd; <option>-replace</option></userinput></screen></para>
</example>
<example role="example">
<title>Starting &cmd-theme-viewer to view the "Crux" theme</title>
<para>
<screen>example% <userinput>&cmd;-theme-viewer Crux</userinput>
</screen>
</para>
</example>
</refsect1>

<refsect1 id="metacity-1-exit"><title>&exit-tt;</title>
<para>
The following exit values are returned:
</para>
<variablelist termlength="xtranarrow"><varlistentry>
<term><returnvalue>0</returnvalue></term>
<listitem><para>
Application exited successfully
</para>
</listitem></varlistentry>
<varlistentry>
<term><returnvalue>>0</returnvalue></term>
<listitem><para>
Application exited with failure
</para></listitem></varlistentry>
</variablelist>
</refsect1>

<refsect1 id="metacity-1-file">
<title>&file-tt;</title>
<para>
The following files are used by this application:
</para>
<variablelist termlength="wholeline">
<varlistentry>
<term><filename>/usr/bin/&cmd;</filename></term>
<listitem><para>
The command-line executable for the metacity window manager.
</para></listitem></varlistentry>
<varlistentry>
<term><filename>/usr/bin/&cmd;&mdash;theme-viewer</filename></term>
<listitem><para>
The command-line executable for the metacity theme viewer application.
</para></listitem></varlistentry>
<varlistentry>
<term><filename>/usr/share/doc/SUNWgnome-wm/COPYING.bz2</filename></term>
<listitem><para>
Location of license file
</para></listitem></varlistentry>
</variablelist></refsect1>

<refsect1 id="metacity-1-attr">
<title>&attr-tt;</title>
<para>
See <olink targetdocent="REFMAN5" localinfo="attributes-5">
<citerefentry><refentrytitle>attributes</refentrytitle>
<manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:
</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1">
<colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row>
<entry align="center" valign="middle">ATTRIBUTE TYPE</entry>
<entry align="center" valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row>
<entry><para>Availability</para></entry>
<entry><para>gnome/window-manager/metacity</para></entry>
</row>
<row>
<entry colname="COLSPEC0"><para>Interface stability</para></entry>
<entry colname="COLSPEC1"><para>Volatile</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 id="metacity-1-also">
<title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>
Latest version of the <citetitle>GNOME Desktop User Guide</citetitle> for your platform.
</para>

<para>
<citerefentry><refentrytitle>metacity-message</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>metacity-window-demo</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>bzip2</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
<variablelist termlength="wholeline">
<varlistentry>
<literal>http://www.fsf.org/licensing/</literal>
</varlistentry>
<variablelist>
</refsect1>

<refsect1 id="metacity-1-note"><title>&note-tt;</title>
<para>
Written by Laszlo Kovacs, updated by Halton Huo, Sun Microsystems Inc., 2003,
2006, 2007, 2008.  Updated by Brian Cameron, Oracle and/or its affiliates,
2011.
</para>
</refsect1>
</refentry>
