什么终端命令将转储所有 Gconf 键和值?即在 gconf-editor 中看到的那些

Pet*_*r.O 15 command-line gconf

我可以按照以下示例输出单个键值:

gconftool-2 --get /apps/panel/applets/clock_screen0/object_type
bonobo-applet
Run Code Online (Sandbox Code Playgroud)

如何转储整个 gconf 数据库?... 键名

and*_*ing 21

列出所有键和值:

gconftool-2  --recursive-list /
Run Code Online (Sandbox Code Playgroud)

以 xml 格式列出所有键和值:

gconftool-2  --dump /
Run Code Online (Sandbox Code Playgroud)

查看man gconftool-2更多信息。