![如何在 GNOME Shell 中列出搜索提供商?](https://linux22.com/image/954284/%E5%A6%82%E4%BD%95%E5%9C%A8%20GNOME%20Shell%20%E4%B8%AD%E5%88%97%E5%87%BA%E6%90%9C%E7%B4%A2%E6%8F%90%E4%BE%9B%E5%95%86%EF%BC%9F.png)
super当我通过按下键(或按下屏幕左上角的活动按钮)在 GNOME Shell 中搜索某些内容时,有多个搜索提供程序会给出结果。以下是我注意到的一些:
- 文件(nautilus)
- 软件(应用中心)
- 角色(GNOME 角色)
- 设置
- 网络(顿悟)
如何找到我的系统上所有搜索提供商的列表?
答案1
答案2
您可以通过运行以下命令来找到代表搜索提供程序的文件列表:
$ ls -1 -d /usr/share/gnome-shell/search-providers/* /snap/*/*/usr/share/gnome-shell/search-providers/* /var/lib/flatpak/exports/share/gnome-shell/search-providers/*
/snap/snap-store/959/usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
/usr/share/gnome-shell/search-providers/gnome-terminal-search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Calculator-search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Characters.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Contacts.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Epiphany.SearchProvider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Gnote.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Nautilus.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Settings.search-provider.ini
/usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
/usr/share/gnome-shell/search-providers/seahorse-search-provider.ini
/var/lib/flatpak/exports/share/gnome-shell/search-providers/app.drey.Dialect.SearchProvider.ini
如果您只想要文件名(代表应用程序名称)而不想要路径,请运行:
$ for i in /usr/share/gnome-shell/search-providers/* /snap/*/*/usr/share/gnome-shell/search-providers/* /var/lib/flatpak/exports/share/gnome-shell/search-providers/* ; do basename "$i" ; done
gnome-terminal-search-provider.ini
org.gnome.Calculator-search-provider.ini
org.gnome.Calendar.search-provider.ini
org.gnome.Characters.search-provider.ini
org.gnome.Contacts.search-provider.ini
org.gnome.Epiphany.SearchProvider.ini
org.gnome.Gnote.search-provider.ini
org.gnome.Nautilus.search-provider.ini
org.gnome.Settings.search-provider.ini
org.gnome.Software-search-provider.ini
seahorse-search-provider.ini
org.gnome.Software-search-provider.ini
app.drey.Dialect.SearchProvider.ini