Han*_*Cnx 35 unity launcher unity-dash scopes
当我只是在寻找文件或应用程序时,Dash 给我带来了我不需要的东西,包括天气和食物食谱(?!)。此外,我无法弄清楚如何将其设置为包含音乐文件,而不会从我什至没有的文件中获得结果。
有没有办法回到它在 13.04 中的工作方式,即应用启动器实际启动应用的地方?(所以去掉所有的过滤器,尤其是那些与我的电脑无关的结果。)
它似乎也不起作用;我浏览了过滤器列表,试图将所有内容都关闭,但是我输入了一些要搜索的内容,然后它又重新打开了?
mch*_*hid 20
您可以使用:
dpkg -l | grep scope
Run Code Online (Sandbox Code Playgroud)
列出您计算机上安装的所有示波器。
对于 13.10,您真正需要的是:libunity-scopes-json-def-desktop、unity-scope-home、unity-scopes-master-default、unity-scopes-runner。
您可以安全地卸载所有其他范围,并且仍然有一个仅搜索已安装应用程序的工作破折号。
您可能还想知道存在哪些“侵入式”镜头应用程序。
dpkg -l | grep lens
Run Code Online (Sandbox Code Playgroud)
将列出所有已安装的镜头应用程序
对于 13.10,您真正需要的是:unity-lens-applications 和 unity-lens-files。
同样,您可以安全地卸载所有其他镜头应用程序,并且仍然有一个可以搜索已安装应用程序的工作破折号。
要删除这些应用程序,请将整个命令复制/粘贴到打开的终端中。
sudo apt-get purge unity-lens-friends unity-scope-audacious unity-scope-chromiumbookmarks unity-scope-clementine unity-scope-colourlovers unity-scope-devhelp unity-scope-firefoxbookmarks unity-scope-gdrive unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque unity-scope-manpages unity-scope-musicstores unity-scope-musique unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy unity-scope-video-remote unity-scope-virtualbox unity-scope-yelp unity-scope-zotero unity-lens-friends unity-lens-music unity-lens-photos unity-lens-video
请始终注意以下提示,以确保您不会在此过程中卸载您希望保留在系统上的内容。
我只是使用 nautilus 来搜索文件,但我相信你会在这里得到你需要做的一切。此外,您仍然需要将隐私设置更改为“不包括在线结果”以维护您的隐私。
对于 15.10:
sudo apt-get purge unity-scope-audacious unity-scope-chromiumbookmarks unity-scope-clementine unity-scope-colourlovers unity-scope-devhelp unity-scope-firefoxbookmarks unity-scope-gdrive unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque unity-scope-manpages unity-scope-musicstores unity-scope-musique unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy unity-scope-video-remote unity-scope-virtualbox unity-scope-yelp unity-scope-zotero unity-lens-music unity-lens-photos unity-lens-video
the*_*der 10
您非常需要这三个命令。而且您不需要安装任何东西。
sudo apt-get remove $(dpkg --get-selections | cut -f1 | grep -P "^unity-(lens|scope)-" | grep -vP "unity-(lens|scope)-(home|applications|files)" | tr "\n" " ");
gsettings set com.canonical.Unity.Lenses always-search "['applications.scope']";
gsettings set com.canonical.Unity.Dash scopes "['home.scope', 'applications.scope', 'files.scope']";
Run Code Online (Sandbox Code Playgroud)
我将详细解释这些命令的作用,以及如何将其调整为您想要的任何内容。
1.
以下命令将自动删除所有unity- lens- *和unity-scope-*包,unity-*-home、unity-*-application、unity-*-files 除外
sudo apt-get remove $(dpkg --get-selections | cut -f1 | grep -P "^unity-(lens|scope)-" | grep -vP "unity-(lens|scope)-(home|applications|files)" | tr "\n" " ")
2.
您需要做的第二件事是编辑 gnome 配置以实现统一。我们将使用dconf-editor
默认情况下未安装的(通过运行安装sudo apt-get install dconf-editor
),但请记住,您仍然可以使用上述命令直接从命令行应用更改gsettings
。
通过运行以下命令启动 dconf-editor: sudo dconf-editor
2.A.
并转到com > canonical > unity > lens : 编辑always search
以获得默认情况下您想要的那些,我选择了这个['applications.scope']
,但它可以有更多的值(我只对搜索具有统一性的应用程序感兴趣,没有文件,或者任何其他东西)
2.B
最后,转到com > canonical > unity > dash:编辑scopes
并将其保留为['home.scope', 'applications.scope', 'files.scope']
这就是你所需要的