MAN page from OpenSuSE 12.X glib2-tools-2.31.20-186.1.x86_64.rpm
GSETTINGS
Section: User Commands (1)
Updated: 03/05/2012
Index NAME
gsettings - GSettings configuration tool
SYNOPSIS
- gsettings get SCHEMA [:PATH] KEY
- gsettings monitor SCHEMA [:PATH] [KEY]
- gsettings writable SCHEMA [:PATH] KEY
- gsettings range SCHEMA [:PATH] KEY
- gsettings set SCHEMA [:PATH] KEY VALUE
- gsettings reset SCHEMA [:PATH] KEY
- gsettings reset-recursively SCHEMA [:PATH]
- gsettings list-schemas
- gsettings list-relocatable-schemas
- gsettings list-keys SCHEMA [:PATH]
- gsettings list-children SCHEMA [:PATH]
- gsettings list-recursively [SCHEMA [:PATH]]
- gsettings help [COMMAND]
DESCRIPTION
gsettings
offers a simple commandline interface toGSettings. It lets you get, set or monitor an individual key for changes.TheSCHEMAandKEYarguments are required for most commands to specify the schema id and the name of the key to operate on. The schema id may optionally have a :PATHsuffix. Specifying the path is only needed if the schema does not have a fixed path.
When setting a key, you also need specify aVALUEThe format for the value is that of a serializedGVariant, so e.g. a string must include explicit quotes: "'foo'". This format is also used when printing out values.
Commands
get
- Gets the value ofKEY. The value is printed out as a serialisedGVariant.
monitor
- MonitorsKEYfor changes and prints the changed values. If noKEYis specified, all keys in the schema are monitored. Monitoring will continue until the process is terminated.
writable
- Finds out whetherKEYis writable.
range
- Queries the range of valid values forKEY.
set
- Sets the value ofKEYtoVALUE. The value is specified as a serialisedGVariant.
reset
- ResetsKEYto its default value.
reset-recursively
- Reset all keys under the givenSCHEMA.
list-schemas
- Lists the installed, non-relocatable schemas. Seelist-relocatable-schemasif you are interested in relocatable schemas.
list-relocatable-schemas
- Lists the installed, relocatable schemas. Seelist-schemasif you are interested in non-relocatable schemas.
list-keys
- Lists the keys inSCHEMA.
list-children
- Lists the children ofSCHEMA.
list-recursively
- Lists keys and values, recursively. If noSCHEMAis given, list keys in all schemas.
help
- Prints help and exits.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- Commands
This document was created byman2html,using the manual pages.