From 2d2046f9620a9e6cd0a3a5eb1170073562879ba2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 11 Oct 2011 17:08:20 +0100 Subject: [PATCH] docs: Document the settings.ini file Describe the location, groups, and keys of the settings.ini file used by Clutter. --- doc/reference/clutter/running-clutter.xml | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/doc/reference/clutter/running-clutter.xml b/doc/reference/clutter/running-clutter.xml index 1c6879100..3eb743156 100644 --- a/doc/reference/clutter/running-clutter.xml +++ b/doc/reference/clutter/running-clutter.xml @@ -228,5 +228,102 @@ +
+ Configuration File + + Clutter will look for files named settings.ini + located in the /etc/clutter-1.0 and + $XDG_CONFIG_HOME/clutter-1.0 directories. These files + must be valid key files (see #GKeyFile in the GLib documentation) and may + have three sections: + + + + Environment + The keys in this section map the environment variables + honoured by Clutter. + + + Debug + The keys in this section related to the debugging notes + that Clutter exposes when compiled with debugging support; similarly to + the environment variables and command line arguments related to the + debugging notes, Clutter must be compiled with support for these notes + in order to use them. + + + Settings + The keys in this section strictly map to the #GObject + properties exposed by the #ClutterSettings type; if Clutter is running + on an X11 platform, the XSettings manager will take precedence over the + values specified in the settings.ini + file. + + + +
+ Keys available for the Environment group + + + + ShowFps + A boolean value, equivalent to setting + CLUTTER_SHOW_FPS. + + + DisableMipmappedText + A boolean value, equivalent to setting + CLUTTER_DISABLE_MIPMAPPED_TEXT. + + + UseFuzzyPicking + A boolean value, equivalent to setting + CLUTTER_FUZZY_PICK. + + + EnableAccessibility + A boolean value, equivalent to setting + CLUTTER_ENABLE_ACCESSIBILITY. + + + DefaultFps + An integer value, equivalent to setting + CLUTTER_DEFAULT_FPS. + + + TextDirection + A string value, equivalent to setting + CLUTTER_TEXT_DIRECTION. + + +
+ +
+ Keys available for the Debug group + + + + Debug + A string containing the debugging flags, in the same + format that should be used with the CLUTTER_DEBUG + environment variable. + + + PaintDebug + A string containing the paint debugging flags, in the same + format that should be used with the CLUTTER_PAINT + environment variable. + + + PickDebug + A string containing the pick debugging flags, in the same + format that should be used with the CLUTTER_PICK + environment variable. + + +
+ +
+