Show Table of Contents
9.3. 浏览桌面应用的 GSettings 值
您可以使用两个工具来查看和编辑“
GSettings”值:
- dconf-editor GUI 工具。
gsettings命令行实用程序。
dconf-editor 和
gsettings 实用程序可以让您浏览,以及更改系统和应用程序偏好的选项。您甚至可以用它们来更改那些图形用户界面中不存在的偏好设定。
dconf-editor 为浏览和编辑设置提供了一个 GUI。它以树视图的形式展现了设置的不同等级,并且显示了每一个设置的附加信息,包括简介、类型和默认值。
gsettings 可以用来显示以及设置“dconf”值。它还包含命令和设置的 Bash 完成。gsettings 可以用来自动化 shell 脚本中的配置。
请注意,dconf-editor 和
gsettings 实用程序是为了浏览和更改当前用户的 GSettings 数据库。也就是说您始终都应以普通用户的身份运行这些工具。

图 9.1. dconf-editor 显示 org.gnome.destop.background GSettings 键值
您的系统中可能没有默认安装 dconf-editor。欲安装此应用,请运行以下命令:
#yum install dconf-editor
9.3.1. 获取更多信息
更多有关 dconf-editor 工具的信息,请参见
dconf-editor(1) 手册页。
更多有关 gsettings 实用程序的信息,请参见
gsettings(1) 手册页。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.