需要一些dconf格式的帮助

简单的问题哪个方法是正确的,或者它对程序来说是否真的很重要,如果我用dconf编辑Unity Dash镜头,例如我想只使用whatever1.scope进行默认的always-search ,默认情况下有['whatever1.scope'.'whatever2.scope'.'whatever3.scope'.'whatever4.scope']那么我应该用括号和引号来编辑哪种方式包括['whatever1.scope']或只引用标记'whatever1.scope' ? 对于禁用的.scopes如果我只想禁用'whatever4.scope'是足够的引号还是括号也应该包括在内?

感谢帮助。

要获取终端中的当前设置(列表),它是:

 gsettings get com.canonical.Unity.Lenses always-search 

输出一个列表(例如):

 ['applications.scope', 'music.scope', 'videos.scope', 'files.scope'] 

设置 (更改)列表:

 gsettings set com.canonical.Unity.Lenses always-search "['applications.scope']" 

因此,更改get设置,将列表放在引号之间,列表中的项目(单个)引号之间。

格式几乎(完全)在dconf编辑器中看到的格式:

在此处输入图像描述

通过终端设置列表时,只需将其放在引号之间即可。