From 04213a8f726c2811c66944ef0305bd148c2d0b7f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 23 Jan 2008 06:24:27 +0000 Subject: [PATCH] Additions svn path=/trunk/; revision=6359 --- docs/reference/ChangeLog | 5 ++++ docs/reference/gio/overview.xml | 60 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e037fd3..c9c063f 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2008-01-23 Matthias Clasen + + * gio/overview.xml: Document environment + variables used by GIO. + 2008-01-21 Matthias Clasen * === Released 2.15.3 === diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml index 0fcab66..5ae6ccc 100644 --- a/docs/reference/gio/overview.xml +++ b/docs/reference/gio/overview.xml @@ -124,4 +124,64 @@ + + Running GIO applications + + + GIO inspects a few of environment variables in addition to the + ones used by GLib. + + + + <envar>XDG_DATA_HOME</envar>, <envar>XDG_DATA_DIRS</envar> + + + GIO uses these environment variables to locate MIME information. + For more information, see the Shared MIME-info Database + and the Base Directory Specification. + + + + + The following environment variables are only useful for debugging + GIO itself or modules that it loads. They should not be set in a + production environment. + + + <envar>GIO_USE_VFS</envar> + + + This environment variable can be set to the name of a #GVfs + implementation to override the default for debugging purposes. + The #GVfs implementation for local files that is included in GIO + has the name "local", the implementation in the gvfs module has + the name "gvfs". + + + + + <envar>GIO_USE_VOLUME_MONITOR</envar> + + + This variable can be set to the name of a #GVolumeMonitor + implementation to override the default for debugging purposes. + The #GVolumeMonitor implementation for local files that is included + in GIO has the name "unix", the hal-based implementation in the + gvfs module has the name "hal". + + + + + <envar>GVFS_INOTIFY_DIAG</envar> + + + When this environment variable is set and GIO has been built + with inotify support, a dump of diagnostic inotify information + will be written every 20 seconds to a file named + /tmp/gvfsdid.pid. + + + + + -- 2.7.4