summaryrefstree
path: root/usr/share/man/man1/gsettings.1
blob: ba0a4f146860025b9d08b8f5c4df28bf020d1788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
'\" t
.\"     Title: gsettings
.\"    Author: Ryan Lortie
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/05/2014
.\"    Manual: User Commands
.\"    Source: GIO
.\"  Language: English
.\"
.TH "GSETTINGS" "1" "" "GIO" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
gsettings \- GSettings configuration tool
.SH "SYNOPSIS"
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR get \fISCHEMA\fR\ [:\fIPATH\fR]  \fIKEY\fR
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR monitor \fISCHEMA\fR\ [:\fIPATH\fR]  [\fIKEY\fR]
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR writable \fISCHEMA\fR\ [:\fIPATH\fR]  \fIKEY\fR
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR range \fISCHEMA\fR\ [:\fIPATH\fR]  \fIKEY\fR
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR set \fISCHEMA\fR\ [:\fIPATH\fR]  \fIKEY\fR \fIVALUE\fR
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR reset \fISCHEMA\fR\ [:\fIPATH\fR]  \fIKEY\fR
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR reset\-recursively \fISCHEMA\fR\ [:\fIPATH\fR] 
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR list\-schemas
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR list\-relocatable\-schemas
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR list\-keys \fISCHEMA\fR\ [:\fIPATH\fR] 
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR list\-children \fISCHEMA\fR\ [:\fIPATH\fR] 
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR list\-recursively [\fISCHEMA\fR\ [:\fIPATH\fR]]
.HP \w'\fBgsettings\fR\ 'u
\fBgsettings\fR help [\fICOMMAND\fR]
.SH "DESCRIPTION"
.PP
\fBgsettings\fR
offers a simple commandline interface to
\fBGSettings\fR\&. It lets you get, set or monitor an individual key for changes\&.
.PP
The
\fISCHEMA\fR
and
\fIKEY\fR
arguments 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 :\fIPATH\fR
suffix\&. Specifying the path is only needed if the schema does not have a fixed path\&.
.PP
When setting a key, you also need specify a
\fIVALUE\fR
The format for the value is that of a serialized
\fBGVariant\fR, so e\&.g\&. a string must include explicit quotes: "\*(Aqfoo\*(Aq"\&. This format is also used when printing out values\&.
.PP
Note that gsettings needs a D\-Bus session bus connection to write changes to the dconf database\&.
.SH "COMMANDS"
.PP
\fBget\fR
.RS 4
Gets the value of
\fIKEY\fR\&. The value is printed out as a serialised
\fBGVariant\fR\&.
.RE
.PP
\fBmonitor\fR
.RS 4
Monitors
\fIKEY\fR
for changes and prints the changed values\&. If no
\fIKEY\fR
is specified, all keys in the schema are monitored\&. Monitoring will continue until the process is terminated\&.
.RE
.PP
\fBwritable\fR
.RS 4
Finds out whether
\fIKEY\fR
is writable\&.
.RE
.PP
\fBrange\fR
.RS 4
Queries the range of valid values for
\fIKEY\fR\&.
.RE
.PP
\fBset\fR
.RS 4
Sets the value of
\fIKEY\fR
to
\fIVALUE\fR\&. The value is specified as a serialised
\fBGVariant\fR\&.
.RE
.PP
\fBreset\fR
.RS 4
Resets
\fIKEY\fR
to its default value\&.
.RE
.PP
\fBreset\-recursively\fR
.RS 4
Reset all keys under the given
\fISCHEMA\fR\&.
.RE
.PP
\fBlist\-schemas\fR
.RS 4
Lists the installed, non\-relocatable schemas\&. See
\fBlist\-relocatable\-schemas\fR
if you are interested in relocatable schemas\&.
.RE
.PP
\fBlist\-relocatable\-schemas\fR
.RS 4
Lists the installed, relocatable schemas\&. See
\fBlist\-schemas\fR
if you are interested in non\-relocatable schemas\&.
.RE
.PP
\fBlist\-keys\fR
.RS 4
Lists the keys in
\fISCHEMA\fR\&.
.RE
.PP
\fBlist\-children\fR
.RS 4
Lists the children of
\fISCHEMA\fR\&.
.RE
.PP
\fBlist\-recursively\fR
.RS 4
Lists keys and values, recursively\&. If no
\fISCHEMA\fR
is given, list keys in all schemas\&.
.RE
.PP
\fBhelp\fR
.RS 4
Prints help and exits\&.
.RE