设置

Search for Files provides gsettings keys to modify some of its behavior. The gsettings values can be changed by starting the Configuration Editor in the following ways:

应用程序 菜单

Choose System Tools ▸ dconf Editor.

命令行

Execute the following command: dconf-editor

4.1. 禁用快速搜索

Key name: org.gnome.gnome-search-tool.disable-quick-search

默认值:false

文件搜索 通过使用 locate 命令加速文件名搜索。Locate 命令提供一个安全的方法索引和快速搜索文件。由于 locate 基于索引文件,搜索结果 列表可能没有及时更新到当前。

4.2. 禁用快速搜索两次扫描

Key name: org.gnome.gnome-search-tool.disable-quick-search-second-scan

默认值:false

当完成一次快速搜索后,文件搜索 将通过 find 命令再执行一次搜索,用以发现没有被索引的文件。符合条件的结果会添加到 搜索结果 列表框里。

4.3. 快速搜索排除的路径文件夹

Key name: org.gnome.gnome-search-tool.quick-search-excluded-paths

默认值:[/mnt/*,/media/*,/dev/*,/tmp/*,/proc/*,/var/*]

文件搜索 将不会搜索定义在这个键名中的路径。用 find 命令可以搜索定义在这个路径里文件。支持 “*” 和 “?” 通配符。

4.4. 快速搜索第二次扫描时排除的路径

Key name: org.gnome.gnome-search-tool.quick-search-second-scan-excluded-paths

默认值:[/]

文件搜索 在第一次快速搜索后将不会扫描定义在这个键名中的路径。这些路径快速搜索完后,将不会再用 find 命令扫描。支持 “*” 和 “?” 通配符。

4.5. 显示额外的选项

Key name: org.gnome.gnome-search-tool.show-additional-options

默认值:false

这个键名决定了,在 文件搜索 运行后,是否显示 选择更多选项 段。