Ger*_*che 26
有几种方法可以做到这一点,尽管人们认为 ubuntu 最容易做的事情是从仪表板中获得一些易于访问的配置选项,但这只是胡说八道。
如果您有信心使用终端,那么我推荐选项 1,因为软件中心的行为会产生误导和混淆。
打开终端Ctrl+ Shift+T
要检查什么范围和镜头当前安装,使用dpkg与grep。例如列出所有的范围和镜头包
$ dpkg -l | egrep "(unity-lens-|unity-scope-)"
ii unity-lens-applications ... Application lens for unity
ii unity-lens-files ... File lens for unity
ii unity-lens-gwibber ... Gwibber Lens for unity
ii unity-lens-photos ... Unity Photos Lens
ii unity-lens-shopping ... Shopping lens for unity
Run Code Online (Sandbox Code Playgroud)
14.04 注释
14.04 拥有比以往任何时候都多得多的镜头和示波器。其中一些不能在不破坏系统的情况下删除,例如unity-scope-home。
这些是 14.04 中默认安装的一些示波器和镜头:
unity-lens-video
unity-lens-friends
unity-scope-audacious
unity-scope-calculator
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-home
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
Run Code Online (Sandbox Code Playgroud)
在大多数可以删除的范围和 lenese 被删除之后:
$ dpkg -l | egrep "(unity-lens-|unity-scope-)"
ii unity-lens-applications ... Application lens for unity
ii unity-lens-files ... File lens for unity
ii unity-scope-home ... Home scope that aggregates results from multiple scopes
Run Code Online (Sandbox Code Playgroud)
要取下镜头,请使用apt-get remove。例如移除统一购物镜头:
sudo apt-get remove --purge unity-lens-shopping
Run Code Online (Sandbox Code Playgroud)通过选择项目并单击“删除”来卸载。
重要的!
您必须选择显示(计数)技术项目以显示所有已安装的镜头。例如“购物镜头”是一个技术项目,我个人认为它有点厚颜无耻。你知道,因为你太笨了,不知道那是什么。
不要选择“已安装”,然后搜索“镜头”。这不会按照您的预期进行。它应该列出任何“已安装”的 len,但它不会这样做。大概是个bug。
所有这些,除了unity-lens-applications和可能unity-lens-files。个人而言,我会很高兴的大量不快乐的冲刺。取而代之的是一个简单、直接、没有混乱、尽可能快的应用程序启动器。我不敢相信我要说这个,但实际上我想念窗户的一些东西。
关于 14.04 的注意事项unity-scope-home 不移除unity-desktop并破坏整个系统就无法移除。
小智 8
如果您使用的是 Ubuntu 13.04 或更新版本:
sudo apt-get install unity-tweak-tool
Run Code Online (Sandbox Code Playgroud)
在调整工具中,您可以使用搜索选项卡来修改相关设置:
卸载镜头在 14.04 中不起作用。
有效的是:
com -> canonical -> unity -> dash. 我只home.scope留在那里。(从这里)
您也可以在不安装 dconf-editor 的情况下执行此操作。根据您的喜好使用双引号编辑字符串:
$ dconf write /com/canonical/unity/dash/scopes "['home.scope', 'applications.scope', 'files.scope']"
Run Code Online (Sandbox Code Playgroud)
(从这里)
我想最简单的方法就是卸载它,注销并登录。如果您稍后想再次安装它,它仍然会在缓存中。
另一方面,如果您不想卸载它,只想让它从 Dash 中消失,您可以将其移出文件夹/usr/share/unity/lenses。
例如,假设您像我一样安装了 Askubuntu Lense。
然后你会在里面有一个/usr/share/unity/lenses名为extras-unity-lens-askubuntu/的文件夹。将该文件夹移到其他地方。登出。登录。
一个例子:
cd /usr/share/unity/lenses
sudo mv extras-unity-lens-askubuntu/ ..
这会将 askubuntu 镜头从镜头文件夹移动到父文件夹。如果您注销/登录,askubuntu 镜头将会消失。
更新 - 正如 aking1012 指出的那样,键入内容setsid unity将通过更改“刷新”Unity。
| 归档时间: |
|
| 查看次数: |
20178 次 |
| 最近记录: |