10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13740N/A<!--ARC : LSARC 2001/348 GNOME Panel-->
10139N/A<!ENTITY cmd "gnome-cleanup">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
11886N/A<!ENTITY suncopy "Copyright (c) 2003,2007 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="gnome-cleanup-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>gnome-cleanup</refentrytitle><manvolnum>1</manvolnum>
11990N/A<refmiscinfo class="date">27 Nov 2007</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
11990N/A<indexterm><primary>gnome-cleanup</primary></indexterm><indexterm>
11990N/A<primary>
11990N/Acleans GNOME user preferences
11990N/A</primary></indexterm><refnamediv id="gnome-cleanup-1-name">
11990N/A<refname>gnome-cleanup</refname><refpurpose>
11990N/Acleans GNOME user preferences
11990N/A</refpurpose>
10139N/A</refnamediv>
10139N/A<refsynopsisdiv id="gnome-cleanup-1-synp"><title>&synp-tt;</title>
10139N/A<cmdsynopsis><command>&cmd;</command>
11990N/A<arg choice="plain"><option role="nodash"><replaceable>user</replaceable></option></arg>
10139N/A</cmdsynopsis></refsynopsisdiv>
10139N/A<refsect1 id="gnome-cleanup-1-desc"><title>&desc-tt;</title>
11990N/A<para>
11990N/A<command>&cmd;</command> erases all GNOME user preferences, returning the user
11990N/Ato the default look and feel. This can be used to undo undesired preference
11990N/Asettings, or to correct the desktop if the preferences become corrupt. The
11990N/AGNOME preference files are automatically recreated the next time the user
11990N/Alogs into a GNOME session. By default this program erases the configuration
11990N/Afiles for the user running the command. However, a different user can be
11990N/Aspecified on the command line. Of course, configuration files are only
11990N/Aerased if the user running &cmd; has appropriate file permissions to erase
11990N/Athe user's configuration files.
11990N/A</para>
11990N/A<para>
11990N/A<command>&cmd;</command> will display a listing of all preference files that it
11990N/Awill erase before erasing any files, and prompts the user to confirm that they
11990N/Awould like to erase these files. Files are erase only after receiving a
11990N/Apositive confirmation from the user.
11990N/A</para>
11990N/A<para>
11990N/A<command>&cmd;</command> cannot be run while logged into a GNOME session.
10139N/AUsers should run this program when logged into another session, for example,
11990N/Athe Failsafe session. If the user tries to run this program while already
11990N/Alogged into GNOME, an error message is displayed.
11990N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-opts"><title>&opts-tt;</title>
10139N/A<para>None.</para>
10139N/A</refsect1>
11990N/A<refsect1 id="gnome-cleanup-1-oper"><title>&oper-tt;</title>
11990N/A<para>The following operands are supported:</para>
11990N/A<variablelist termlength="narrow">
11990N/A<varlistentry>
11990N/A<term><option role="nodash"><replaceable>user</replaceable></option></term>
11990N/A<listitem><para>
11990N/ASpecify the <replaceable>user</replaceable> whose configuration files will
11990N/Abe erased. The files will only be erased if the user running &cmd; has file
11990N/Apermissions to erase the user's configuration files. This is useful, for
11990N/Aexample, if you want to run the script as the root user to erase the
11990N/Aconfiguration files for a specific user. If <replaceable>user</replaceable>
11990N/Ais not specified, the user is the same as the user who runs the &cmd; command.
11990N/A</para>
11990N/A</listitem></varlistentry>
11990N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-exam"><title>&exam-tt;</title>
11990N/A<example role="example"><title>Erase GNOME user preferences</title>
10139N/A<para><screen>example% <userinput>&cmd;</userinput></screen></para>
10139N/A</example>
11990N/A<para>After displaying a list of preference files that will be erase, the
11904N/Afollowing question is displayed:<screen><computeroutput>Do you wish to remove these files (Y/N)
10139N/A</computeroutput></screen></para>
11990N/A<para>The files are erase only if the user provides a positive response.
10139N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-exit"><title>&exit-tt;</title>
10139N/A<para>The following exit values are returned:</para>
10139N/A<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
10139N/A<listitem><para>Application exited successfully</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
10139N/Aexited with failure</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-file"><title>&file-tt;</title>
10139N/A<para>The following files are used by this application:</para>
10139N/A<variablelist termlength="medium"><varlistentry><term><filename>/usr/bin/&cmd;</filename>
10139N/A</term><listitem><para>Executable for GNOME cleanup.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>gnome/gnome-panel
10139N/A</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
11990N/A<refsect1 id="gnome-cleanup-1-also"><title>&also-tt;</title>
11990N/A<!--Reference to another man page-->
11990N/A<!--Reference to a Help manual-->
11990N/A<!--Reference to a book.-->
11990N/A<para>
11990N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
11990N/A</para>
11990N/A</refsect1>
10139N/A<refsect1 id="gnome-cleanup-1-note"><title>&note-tt;</title>
11933N/A<para>Written by Brian Cameron, Sun Microsystems Inc., 2003, 2007.</para>
10139N/A</refsect1>
10139N/A</refentry>