From b27e6b1a439820305331a028642bb3a487ed838d Mon Sep 17 00:00:00 2001 From: Keyu Tao Date: Sun, 2 Jun 2024 03:12:15 +0800 Subject: [PATCH] docs: Mention XDG_DATA_HOME in glib-compile-schemas manual glib-compile-schemas considers XDG_DATA_HOME in addition to XDG_DATA_DIRS since GLib 2.53.2, but this is not mentioned in its manual and might bring confusion to readers. --- docs/reference/gio/glib-compile-schemas.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/gio/glib-compile-schemas.rst b/docs/reference/gio/glib-compile-schemas.rst index 4f420929f..a6f794d98 100644 --- a/docs/reference/gio/glib-compile-schemas.rst +++ b/docs/reference/gio/glib-compile-schemas.rst @@ -34,9 +34,9 @@ used by ``GSettings``. The XML schema files must have the filename extension ``GSettings`` documentation. At runtime, GSettings looks for schemas in the ``glib-2.0/schemas`` -subdirectories of all directories specified in the ``XDG_DATA_DIRS`` environment -variable. The usual location to install schema files is -``/usr/share/glib-2.0/schemas``. +subdirectories of all directories specified in the ``XDG_DATA_DIRS`` and +``XDG_DATA_HOME`` environment variables. The usual location to install schema +files is ``/usr/share/glib-2.0/schemas``. In addition to schema files, ``glib-compile-schemas`` reads ‘vendor override’ files, which are key files that can override default values for keys in