UPDATE-GCONF-DEFAULTS(8)

πŸ“¦ version 3.2.6, in debian bookworm, ubuntu jammy

πŸ’– 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 archive
  • 20 β€” for derived distributions
  • 50 β€” for CDD distributions
  • 90 β€” for site-specific packages

slay. now your defaults know their place in the lineup. πŸ’–


✨ OPTIONS ✨

  • --source source_dir β€” point it at a different source directory to find the defaults in 🫢
  • --destination destination_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