Flimm Asked: 2023-11-25 04:12:00 +0800 CST2023-11-25 04:12:00 +0800 CST 2023-11-25 04:12:00 +0800 CST 如何在 GNOME Shell 中列出搜索提供程序? 772 super当我通过按键(或按屏幕左上角的“活动”按钮)在 GNOME Shell 中搜索某些内容时,有多个搜索提供程序提供结果。以下是我注意到的一些内容: 文件(鹦鹉螺) 软件(应用中心) 角色(GNOME 角色) 设置 网络(顿悟) 如何找到系统上所有搜索提供商的列表? gnome-shell 2 个回答 Voted Best Answer Flimm 2023-11-25T04:17:48+08:002023-11-25T04:17:48+08:00 打开“设置”应用程序并导航至“搜索”。您可以在界面中看到搜索提供商列表,并且可以启用或禁用所需的提供商。您还可以通过从左侧手柄上拖放它们来重新排序! Flimm 2023-11-25T04:12:00+08:002023-11-25T04:12:00+08:00 您可以通过运行以下命令找到代表搜索提供程序的文件列表: $ 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
打开“设置”应用程序并导航至“搜索”。您可以在界面中看到搜索提供商列表,并且可以启用或禁用所需的提供商。您还可以通过从左侧手柄上拖放它们来重新排序!
您可以通过运行以下命令找到代表搜索提供程序的文件列表:
如果您只需要文件名(代表应用程序名称)而不需要路径,请运行: