- Set the value of a key. Fails if the key doesn't exist or the value is out of range:
gsettings set org.example.schema example-key value
- Print the value of a key or the schema-provided default if the key has not been set in
gsettings get org.example.schema example-key
- Unset a key, so that its schema default value will be used:
gsettings reset org.example.schema example-key
- Display all (non-relocatable) schemas, keys, and values:
- Display all keys and values (default if not set) from one schema:
gsettings list-recursively org.example.schema
- Display schema-allowed values for a key (helpful with enum keys):
gsettings range org.example.schema example-key
- Display the human-readable description of a key:
gsettings describe org.example.schema example-key
gsettings get SCHEMA [:PATH] KEY
gsettings monitor SCHEMA [:PATH] [KEY]
gsettings writable SCHEMA [:PATH] KEY
gsettings range SCHEMA [:PATH] KEY
gsettings describe SCHEMA [:PATH] KEY
gsettings set SCHEMA [:PATH] KEY VALUE
gsettings reset SCHEMA [:PATH] KEY
gsettings reset-recursively SCHEMA [:PATH]
gsettings list-schemas [--print-paths]
gsettings list-keys SCHEMA [:PATH]
gsettings list-children SCHEMA [:PATH]
gsettings list-recursively [SCHEMA [:PATH]]
gsettings help [COMMAND]
gsettings offers a simple commandline interface to GSettings. It lets you get, set or monitor an individual key for changes.
The SCHEMA and KEY arguments are required for most commands to specify the schema id and the name of the key to operate on. The schema id may optionally have a :PATH suffix. Specifying the path is only needed if the schema does not have a fixed path.
When setting a key, you also need specify a VALUE The format for the value is that of a serialized GVariant, so e.g. a string must include explicit quotes: "'foo'". This format is also used when printing out values.
Note that gsettings needs a D-Bus session bus connection to write changes to the dconf database.
Gets the value of KEY. The value is printed out as a serialized GVariant.
Monitors KEY for changes and prints the changed values. If no KEY is specified, all keys in the schema are monitored. Monitoring will continue until the process is terminated.
Finds out whether KEY is writable.
Queries the range of valid values for KEY.
Queries the description of valid values for KEY.
Sets the value of KEY to VALUE. The value is specified as a serialized GVariant.
Resets KEY to its default value.
Reset all keys under the given SCHEMA.
Lists the installed, non-relocatable schemas. See list-relocatable-schemas if you are interested in relocatable schemas. If [--print-paths] is given, the path where each schema is mapped is also printed.
Lists the installed, relocatable schemas. See list-schemas if you are interested in non-relocatable schemas.
Lists the keys in SCHEMA.
Lists the children of SCHEMA.
Lists keys and values, recursively. If no SCHEMA is given, list keys in all schemas.
Prints help and exits.
budgie-control-center(1), dconf(1), dconf-editor(1), gnome-control-center(1).