GCONFTOOL-2(1)
πΈ NAME πΈ
okay so this is GCONFTOOL-2(1), aka gconftool-2 β the GNOME configuration tool. It's part of the User Commands crew, and it's lowkey iconic for wrangling GConf keys. π
β¨ SYNOPSIS β¨
gconftool-2 [-?] [-?|--help] [--usage] [-s|--set] [-g|--get]
[--set-schema] [-u|--unset] [--recursive-unset] [-a|--all-entries]
[--all-dirs] [--dump] [--load=STRING] [-R|--recursive-list]
[--dir-exists=STRING] [--shutdown] [-p|--ping] [--spawn] [-t|--type
int|bool|float|string|list|pair] [-T|--get-type] [--get-list-size]
[--get-list-element] [--list-type=int|bool|float|string]
[--car-type=int|bool|float|string] [--cdr-type=int|bool|float|string]
[--short-desc=DESCRIPTION] [--long-desc=DESCRIPTION] [--owner=OWNER]
[--install-schema-file=FILENAME] [--config-source=SOURCE] [--direct]
[--makefile-install-rule] [--makefile-uninstall-rule] [--break-key]
[--break-directory] [--short-docs] [--long-docs] [--get-schema-name]
[--apply-schema] [--unapply-schema] [--get-default-source]
[-v|--version]
π DESCRIPTION π
okay so bestie, picture every preference in the GConf repository as a key-value pair. A GConf preference key is literally an element in the GConf repository that corresponds to an application preference. Preference keys typically have simple values like strings, integers, or lists of strings and integers. The default key-value pairs are installed on the system, and those are known as schemas. gconftool-2 is the command-line interface tool that lets you set the values of keys, display the values of keys, and install schemas from schema definition files when you install an application. The GConf preference keys are stored and managed by the GConf daemon (gconfd-2). These keys are cached in memory, and saved to disk in XML format when appropriate. no cap. β¨
π OPTIONS π
-s,--setβ Set a key to a value and sync. Use with--type.-g,--getβ Print the value of a key to standard output.-u,--unsetβ Unset the keys on the command line.--recursive-unsetβ Recursively unset all keys at or below the key/directory names on the command line.-a,--all-entriesβ Print all key/value pairs in a directory.--all-dirsβ Print all subdirectories in a directory.-R,--recursive-listβ Print all subdirectories and entries under a dir, recursively.--dir-exists=STRINGβ Return 0 if the directory exists, 2 if it does not.-t,--type=int|bool|float|string|list|pairβ Specify the type of the value being set, or the type of the value a schema describes. Unique abbreviations are allowed.--list-type=int|bool|float|stringβ Specify the type of the list value being set, or the type of the value a schema describes. Unique abbreviations are allowed.--car-type=int|bool|float|stringβ Specify the type of the car pair value being set, or the type of the value a schema describes. Unique abbreviations are allowed.--cdr-type=int|bool|float|stringβ Specify the type of the cdr pair value being set, or the type of the value a schema describes. Unique abbreviations are allowed.--short-desc=DESCRIPTIONβ Specify a short half-line description to go in a schema.--long-desc=DESCRIPTIONβ Specify a several-line description to go in a schema.--owner=OWNERβ Specify the owner of a schema.--install-schema-file=FILENAMEβ Specify a schema file to be installed--config-source=SOURCEβ Specify a configuration source to use rather than the default path--directβ Access the config database directly, bypassing server. Requires that gconfd is not running.--set-schemaβ Set a schema and sync. Use with--short-desc,--long-desc,--owner, and--type.--makefile-install-ruleβ Properly installs schema files on the command line into the database.GCONF_CONFIG_SOURCEenvironment variable should be set to a non-default config source or set to the empty string to use the default.--break-keyβ Torture-test an application by setting and unsetting a bunch of values of different types for keys on the command line.--break-directoryβ Torture-test an application by setting and unsetting a bunch of keys inside the directories on the command line.--short-docsβ Get the short doc string for a key--long-docsβ Get the long doc string for a key--get-schema-nameβ Get the name of the schema applied to this key--apply-schemaβ Specify the schema name followed by the key to apply the schema name to--unapply-schemaβ Remove any schema name applied to the given keys--get-default-sourceβ Get the name of the default source.--shutdownβ Shut down gconfd. Don't use this option without good reason.-p,--pingβ Return 0 if gconfd is running, 2 if not.--spawnβ Launch the config server (gconfd). (Normally happens automatically when needed.)-v,--versionβ Print version
π Help options π
-?,--helpβ Show the help message.
also the synopsis has [--usage] β that's all this page says about it, so I'm not making up extra lore, bestie π
π¦ EXAMPLES π¦
Display the path to the current desktop wallpaper.
gconftool-2 --get /desktop/gnome/background/picture_filename
Change the widget font to "Serif 12"
gconftool-2 --type string --set
/desktop/gnome/interface/font_name "Serif 12"
π AUTHOR π
GConf was written by Havoc Pennington <hp@redhat.com>. periodt. π
π SEE ALSO π
The GConf web site, http://www.gnome.org/projects/gconf/. go look, bestie π
This page is gconftool-2 2.2.1, from February 2006, and it's GCONFTOOL-2(1). bye bestie, slay responsibly π
β¨π¦
π¦ 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