[gnome-control-center] Add a man page



commit dfede0780038d6aae840ef059c6efff0060876d4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 4 12:50:05 2012 -0400

    Add a man page
    
    The main purpose of this man page is to document which options
    can be given to individual panels.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680547

 Makefile.am                  |    4 +-
 configure.ac                 |    3 +
 man/Makefile.am              |   19 +++
 man/gnome-control-center.xml |  308 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 332 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7544cd1..e57fbb8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
-SUBDIRS = po shell panels
-DIST_SUBDIRS = po shell panels
+SUBDIRS = po shell panels man
+DIST_SUBDIRS = po shell panels man
 
 MAINTAINERCLEANFILES = \
 	$(srcdir)/INSTALL \
diff --git a/configure.ac b/configure.ac
index 2868284..34f9095 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,8 @@ x_libs="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
 
 AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
 
+AC_PATH_PROG([XSLTPROC], [xsltproc])
+
 dnl Region panel
 savecppflags=$CPPFLAGS
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
@@ -479,6 +481,7 @@ panels/wacom/gnome-wacom-panel.desktop.in
 po/Makefile.in
 shell/Makefile
 shell/gnome-control-center.desktop.in
+man/Makefile
 ])
 
 AC_MSG_NOTICE([gnome-control-center was configured with the following options:])
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..f5c0ff4
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,19 @@
+XSLTPROC_FLAGS = \
+        --nonet \
+        --stringparam man.output.quietly 1 \
+        --stringparam funcsynopsis.style ansi \
+        --stringparam man.th.extra1.suppress 1 \
+        --stringparam man.authors.section.enabled 0 \
+        --stringparam man.copyright.section.enabled 0
+
+.xml.1:
+	$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+man_MANS = \
+	gnome-control-center.1
+
+xml_files = $(man_MANS:.1=.xml)
+
+EXTRA_DIST = $(xml_files)
+
+DISTCLEANFILES = $(man_MANS)
diff --git a/man/gnome-control-center.xml b/man/gnome-control-center.xml
new file mode 100644
index 0000000..07713d8
--- /dev/null
+++ b/man/gnome-control-center.xml
@@ -0,0 +1,308 @@
+<?xml version='1.0'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+        "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
+
+<refentry id="gnome-control-center">
+
+        <refentryinfo>
+                <title>gnome-control-center</title>
+                <productname>GNOME</productname>
+
+                <authorgroup>
+                        <author>
+                                <contrib>Maintainer</contrib>
+                                <firstname>Bastien</firstname>
+                                <surname>Nocera</surname>
+                                <email>hadess hadess net</email>
+                        </author>
+                </authorgroup>
+
+        </refentryinfo>
+
+        <refmeta>
+                <refentrytitle>gnome-control-center</refentrytitle>
+                <manvolnum>1</manvolnum>
+                <refmiscinfo class="manual">User Commands</refmiscinfo>
+        </refmeta>
+
+        <refnamediv>
+                <refname>gnome-control-center</refname>
+                <refpurpose>Configure GNOME settings</refpurpose>
+        </refnamediv>
+
+        <refsynopsisdiv>
+                <cmdsynopsis>
+                        <command>gnome-control-center <arg choice="opt" rep="repeat">OPTION</arg> <arg choice="opt">PANEL</arg> <arg choice="opt" rep="repeat">ARG</arg></command>
+                </cmdsynopsis>
+        </refsynopsisdiv>
+
+        <refsect1>
+                <title>Description</title>
+
+                <para><command>gnome-control-center</command> is a graphical
+                user interface to configure various aspects of GNOME.</para>
+
+                <para>When run without arguments, the shell displays the
+                <firstterm>overview</firstterm>, which shows all available
+                configuration panels. The overview allows to open individual
+                panels by clicking on them. It also has a search entry
+                to find panels by searching keywords.</para>
+
+                <para>It is also possible to specify a panel name
+                as commandline argument to go directly to that panel.
+                Individual panels may accept further arguments to specify
+                which tab to open (for multi-tabbed panels) or which
+                item to display (for panels with lists).</para>
+
+                <para>Note that <command>gnome-control-center</command>
+                is not meant to expose each and every setting that is
+                available. The settings that can be found here represent
+                what is considered useful and commonly needed options.
+                For more exotic or uncommon options, you can look at
+                <command>gnome-tweak-tool</command> or the
+                <command>gsettings</command> commandline utility.</para>
+        </refsect1>
+
+        <refsect1>
+                <title>Panels</title>
+
+                <para>The following panel names can be specified:</para>
+
+                <variablelist>
+                        <varlistentry>
+                                <term><option>background</option></term>
+
+                                <listitem><para>The background panel lets you
+                                set your desktop background.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>bluetooth</option></term>
+
+                                <listitem><para>The bluetooth panel lets you
+                                configure your computer's Bluetooth adapter,
+                                and pair the computer with Bluetooth keyboards,
+                                phones, etc.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>color</option></term>
+
+                                <listitem><para>The color panel can calibrate
+                                monitors, web cams and printers for accurate
+                                color reproduction.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>datetime</option></term>
+
+                                <listitem><para>The datetime panel lets you
+                                set the timezone and time format.</para>
+                                <para>Some operations in this panel
+                                affect all user accounts on the computer
+                                and require privieges.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>display</option></term>
+
+                                <listitem><para>The display panel configures
+                                the resolution and arrangement of monitors
+                                and laptop panels. Note that monitors can be
+                                rearranged by drag-and-drop, and you can change
+                                which monitor is your main display by dragging
+                                the black bar.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>info</option></term>
+
+                                <listitem><para>The info panel shows a general
+                                overview of the system configuration. It also
+                                lets you change the default applications for
+                                various tasks and the handling of removable
+                                media.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>keyboard</option></term>
+
+                                <listitem><para>The keyboard panel can
+                                change how the keyboard reacts to key
+                                presses and lets you change keyboard
+                                shortcuts or create custom shortcuts.</para>
+                                <para>You can open this panel on a
+                                specific tab by passing <option>typing</option>
+                                or <option>shortcuts</option> as extra
+                                argument.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>mouse</option></term>
+
+                                <listitem><para>The mouse panel can change
+                                how mice and touchpads react to user
+                                input.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>network</option></term>
+
+                                <listitem><para>The network panel provides
+                                a view of available network devices (wired,
+                                wireless or mobile) and their current
+                                configuration. It also provides a way to
+                                create new VPN connections and configure
+                                proxy settings.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>online-accounts</option></term>
+
+                                <listitem><para>The online-accounts panel
+                                shows your configured online accounts and
+                                lets you add or remove accounts.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>power</option></term>
+
+                                <listitem><para>The power panel shows
+                                the fill level of batteries and can
+                                configure what happens when the computer
+                                is idle or runs out of battery.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>printers</option></term>
+
+                                <listitem><para>The printers panel shows
+                                all known printers and their status. It is
+                                possible to inspect queued print jobs and
+                                add new printers.</para>
+                                <para>Some operations in this panel require
+                                privileges.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>region</option></term>
+
+                                <listitem><para>The region panel
+                                contains regional settings such as
+                                the display language, formatting for
+                                times, dates, numbers, and input sources.</para>
+                                <para>You can open this panel on a
+                                specific tab by passing
+                                <option>language</option>,
+                                <option>formats</option>,
+                                <option>layouts</option> or
+                                <option>system</option> as extra
+                                argument.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>screen</option></term>
+
+                                <listitem><para>The screen panel contains
+                                settings that control the screen brightness
+                                and screen lock behavior.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>sound</option></term>
+
+                                <listitem><para>The sound panel shows
+                                all known sound devices and their configuration,
+                                including volume and balance settings.</para>
+                                <para>You can open this panel on a
+                                specific tab by passing
+                                <option>output</option>,
+                                <option>input</option>,
+                                <option>hardware</option>,
+                                <option>effects</option> or
+                                <option>applications</option> as extra
+                                argument.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>universal-access</option></term>
+
+                                <listitem><para>The universal-access panel
+                                contains settings for accessible technologies
+                                such as the screen reader, magnifier, screen
+                                keyboard and AccessX options.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>user-accounts</option></term>
+
+                                <listitem><para>The user-accounts panel
+                                shows all user accounts that exist on the
+                                computer and allows to change them in some
+                                ways, such as changing the user name, password
+                                or permissions. It also allows to create
+                                or remove accounts.</para>
+                                <para>Some operations in this panel require
+                                privileges.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>wacom</option></term>
+
+                                <listitem><para>the wacom panel shows
+                                connected Wacom graphics tablets and lets
+                                you calibrate and configure such devices.</para></listitem>
+                        </varlistentry>
+
+                </variablelist>
+
+        </refsect1>
+
+        <refsect1>
+                <title>Options</title>
+
+                <variablelist>
+                        <varlistentry>
+                                <term><option>-?</option>, <option>--help</option></term>
+
+                                <listitem><para>Prints a short help
+                                text and exits.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>--version</option></term>
+
+                                <listitem><para>Prints the program version
+                                and exits.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>-v</option>, <option>--verbose</option></term>
+
+                                <listitem><para>Enables verbose mode.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
+                                <term><option>-o</option>, <option>--overview</option></term>
+
+                                <listitem><para>Opens the overview.</para></listitem>
+                        </varlistentry>
+
+                </variablelist>
+        </refsect1>
+
+        <refsect1>
+                <title>Exit status</title>
+
+                <para>On success 0 is returned, a non-zero failure
+                code otherwise.</para>
+        </refsect1>
+
+        <refsect1>
+                <title>See Also</title>
+                <para>
+                        <citerefentry><refentrytitle>gsettings</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+                </para>
+        </refsect1>
+
+</refentry>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]