bash $(pwd "$0")/schemas/compile-schemas.sh export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH" export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR" export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS" # run with: ./schema.sh # don't forget to source with: . ./schema.sh