UPDATE-GCONF-DEFAULTS(8)
π NAME π
update-gconf-defaults β the lil script that generates the GConf defaults shipped inside Debian packages β¨
πΈ SYNOPSIS πΈ
update-gconf-defaults [options]
π¦ DESCRIPTION π¦
okay bestie, so this manual page is the quick lil rundown of the update-gconf-defaults command. it's short, it's sweet, it's giving "I do one thing and I do it well" π
update-gconf-defaults is literally the one responsible for generating the defaults that GConf uses, and it pulls them straight out of the files it finds in /usr/share/gconf/defaults. that's the vibe. that's the whole job. π
now, the syntax of the files in that directory? it's so simple it's almost iconic. each line is just the key name, some white space, and then the key value. and that value can be an integer, a boolean, a float, a string, or a list of strings. that's it. that's the range. Example:
/apps/myprogram/frob_number 42
/apps/myprogram/do_foo true
/apps/myprogram/priority 1.25
/apps/myprogram/name "Gotcha !"
/apps/myprogram/names [Ha ha!,Let's keep serious,Ho ho!]
see? adorable. π
Files get processed in alphabetical order, and here's the tea: files processed later take precedence over the earlier ones if they happen to include the same defaults. so order is literally everything, no cap.
so it's recommended β like, strongly recommended, bestie β that you name them NN_package, where NN is a 2-digit number and package is the package name. and for the NN value, the recommended numbers are:
10β for packages in the Debian archive20β for derived distributions50β for CDD distributions90β for site-specific packages
slay. now your defaults know their place in the lineup. π
β¨ OPTIONS β¨
--sourcesource_dir β point it at a different source directory to find the defaults in π«Ά--destinationdestination_dir β point it at a different destination directory to build the resulting GConf tree in π--mandatoryβ sets the source and destination directories to the ones appropriate for the mandatory values π
π FILES π
/usr/share/gconf/defaults/β the directory defaults files are read from π/usr/share/gconf/mandatory/β the directory defaults files for mandatory settings are read from π/var/lib/gconf/debian.defaultsβ the directory where the GConf tree for default settings gets generated. GConf reads it with the default Debian configuration, and it takes precedence over upstream defaults. π«/var/lib/gconf/debian.mandatoryβ the directory where the GConf tree for mandatory settings gets generated. GConf reads it with the default Debian configuration, and it takes precedence over user settings. π¨
π SEE ALSO π
dh_gconf(1), gconftool(1).
π AUTHOR π
Josselin Mouette <joss@debian.org>. iconic behaviour, honestly π«‘
okay and that's the whole page bestie!! this one's from the System Manager's Manual, dated 2 Feb 2009 β the original UPDATE-GCONF-DEFAULTS(8) era πβ¨ bye mwah π
π¦ where this page comes from
- debian bookworm: gconf2 3.2.6-8
- ubuntu jammy: gconf2 3.2.6-7ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms