LinuxCommandLibrary

dconf

GNOME configuration database management tool

TLDR

Read a key value

$ dconf read /[path/to/key]
copy
List subdirectories and keys
$ dconf list /[path/to/directory]/
copy
Write a key value
$ dconf write /[path/to/key] "[value]"
copy
Reset a key to default
$ dconf reset /[path/to/key]
copy
Watch for changes
$ dconf watch /[path/to/key]
copy
Dump directory in INI format
$ dconf dump /[path/to/directory]/
copy

SYNOPSIS

dconf command [arguments]

DESCRIPTION

dconf is a low-level configuration system for GNOME and GTK applications. It provides a simple key-value database organized in a hierarchical structure similar to a filesystem, storing settings in a binary format for fast read access.
The database uses a path-based key structure (like /org/gnome/desktop/interface/font-name) and values are stored in GVariant format, which supports typed data including strings, integers, booleans, and arrays. Changes written to dconf take effect immediately for running applications that monitor the database.
For most users, gsettings provides a higher-level, schema-validated interface. dconf is useful for bulk operations, scripting configuration changes, and backup/restore operations using the dump and load commands. It's particularly valuable for system administrators managing multiple GNOME systems or creating configuration profiles.

PARAMETERS

read key

Read a key value
write key value
Write a key value
reset key
Reset key to default
list dir
List keys and subdirectories
watch path
Watch for changes
dump dir
Dump directory as INI
load dir
Load from INI format

CONFIGURATION

~/.config/dconf/user

Binary database file storing user configuration values for GNOME and GTK applications.

CAVEATS

Values must be in GVariant format. Strings need single quotes inside double quotes. Changes take effect immediately. For schema-validated settings, prefer gsettings.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community