Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - GLIB-COMPILE-SCHEM

    GLIB-COMPILE-SCHEM

    WillieBy WillieFebruary 5, 2026Updated:February 5, 2026No Comments2 Mins Read

    NAME

    glib-compile-schemas – GSettings schema compiler  

    SYNOPSIS

    glib-compile-schemas [OPTION…] {DIRECTORY}
     

    DESCRIPTION

    glib-compile-schemas

    compiles all the GSettings XML schema files in DIRECTORY into a binary file with the name gschemas.compiled that can be used by GSettings. The XML schema files must have the filename extension .gschema.xml. For a detailed description of the XML file format, see the 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.

    In addition to schema files, glib-compile-schemas reads ‘vendor override’ files, which are key files that can override default values for keys in the schemas. The group names in the key files are the schema id, and the values are written in serialized GVariant form. Vendor override files must have the filename extension .gschema.override.

    By convention, vendor override files begin with nn_ where nn is a number from 00 to 99. Higher numbered files have higher priority (eg: if the same override is made in a file numbered 10 and then again in a file numbered 20, the override from 20 will take precedence).  

    OPTIONS

    -h, –help

    Print help and exit

    –targetdir=TARGET

    Store gschemas.compiled in the TARGET directory instead of DIRECTORY.

    –dry-run

    Don’t write gschemas.compiled. This option can be used to check .gschema.xml sources for errors.

    –allow-any-name

    Do not enforce restrictions on key names. Note that this option is purely to facility the transition from GConf, and will be removed at some time in the future.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    PSTREE

    April 20, 2026

    SIGSUSPEND

    April 20, 2026

    SETFACL

    April 20, 2026

    SYSTEMD-SYSCTL.SERVICE

    April 20, 2026
    Top Posts

    Now.gg Roblox Login

    March 13, 2026

    GTF

    March 27, 2026

    DCMD

    April 14, 2026

    Milohacherry Coin The Digital Rewards Through Active Living

    January 30, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.