Gsettings
From Gentoo Wiki
Jump to:navigation
Jump to:search
gsettings is a command-line program allowing getting and setting configuration values in a dconf database. Unlike the dconf(1) tool, gsettings(1) performs type and consistency checks. gsettings is provided by the dev-libs/glib package.
Collections of configuration data are called schemas; the gsettings-desktop-schemas package provides various schemas for the GNOME desktop.
Usage
List installed schemas:
user $gsettings list-schemasList the keys associated with a particular schema, including their current values:
user $gsettings list-recursively org.gnome.desktop.interfaceDescribe the meaning of a particular key, e.g. gtk-theme:
user $gsettings describe org.gnome.desktop.interface gtk-themeGet the current value of a particular key, e.g. text-scaling-factor:
user $gsettings get org.gnome.desktop.interface text-scaling-factorSet the current value of a particular key, e.e. text-scaling-factor:
user $gsettings set org.gnome.desktop.interface text-scaling-factor 2.0See also
- GTK — a toolkit for creating graphical user interfaces.
- GNOME — a feature-rich desktop environment provided by the GNOME project.
Retrieved from "https://wiki.gentoo.org/index.php?title=Gsettings&oldid=1335516"