1GLIB-COMPILE-SCHEM(1)            User Commands           GLIB-COMPILE-SCHEM(1)
2
3
4

NAME

6       glib-compile-schemas - GSettings schema compiler
7

SYNOPSIS

9       glib-compile-schemas [OPTION...] {DIRECTORY}
10

DESCRIPTION

12       glib-compile-schemas compiles all the GSettings XML schema files in
13       DIRECTORY into a binary file with the name gschemas.compiled that can
14       be used by GSettings. The XML schema files must have the filename
15       extension .gschema.xml. For a detailed description of the XML file
16       format, see the GSettings documentation.
17
18       At runtime, GSettings looks for schemas in the glib-2.0/schemas
19       subdirectories of all directories specified in the XDG_DATA_DIRS
20       environment variable. The usual location to install schema files is
21       /usr/share/glib-2.0/schemas.
22
23       In addition to schema files, glib-compile-schemas reads 'vendor
24       override' files, which are key files that can override default values
25       for keys in the schemas. The group names in the key files are the
26       schema id, and the values are written in serialized GVariant form.
27       Vendor override files must have the filename extension
28       .gschema.override.
29
30       By convention, vendor override files begin with nn_ where nn is a
31       number from 00 to 99. Higher numbered files have higher priority (eg:
32       if the same override is made in a file numbered 10 and then again in a
33       file numbered 20, the override from 20 will take precedence).
34

OPTIONS

36       -h, --help
37           Print help and exit
38
39       --version
40           Print program version and exit
41
42       --targetdir=TARGET
43           Store gschemas.compiled in the TARGET directory instead of
44           DIRECTORY.
45
46       --strict
47           Abort on any errors in schemas. Without this option, faulty schema
48           files are simply omitted from the resulting compiled schema.
49
50       --dry-run
51           Don't write gschemas.compiled. This option can be used to check
52           .gschema.xml sources for errors.
53
54       --allow-any-name
55           Do not enforce restrictions on key names. Note that this option is
56           purely to facility the transition from GConf, and will be removed
57           at some time in the future.
58
59
60
61GIO                                                      GLIB-COMPILE-SCHEM(1)
Impressum