How to disable all scopes, filters and dash plugins?

460

Solution 1

You can use:

dpkg -l | grep scope

to list all scopes installed on your computer.

For 13.10, all you really need is: libunity-scopes-json-def-desktop, unity-scope-home, unity-scopes-master-default, unity-scopes-runner.

You can safely uninstall all the other scopes and still have a working dash that will only search installed applications.

You should probably be interested to know what "intrusive" lens application exist as well.

dpkg -l | grep lens

will list all installed lens applicaions

For 13.10, all you really need is: unity-lens-applications and maybe unity-lens-files as well.

Again, you can safely uninstall all the other lens applications and still have a working dash that will search installed applications.

To remove those applications, copy/paste this entire command into an open terminal.

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

Always pay attention to the following prompts to ensure you do not uninstall something you wish to keep on your system in the process.

I just use nautilus to search files but I'm sure you'll get the just of what you need to do here. Also, you still have to change privacy settings to "do not include online results" to maintain your privacy.


For 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

Solution 2

First of all, filters and scopes are two different things.

From what you say, it seems your problem is with scopes rather than filters.

To disable them, simply go to Settings, Privacy and security and turn off include online search results.

Solution 3

TL;DR

You pretty much want these three commands. And you don't need to install anything.

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']";

I will explain in detail what these commands do, and how you can tweak it to whatever you want.

Long Answer Explained

1.

the following command will automatically remove any unity-lens-* and unity-scope-* package, with the exception of 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.

the second thing you need to do is edit the gnome configuration for unity. we will use dconf-editor which is not installed by default (install it by running sudo apt-get install dconf-editor), but remember you can still apply the changes directly from the command line with the gsettings commands mentioned above.

Launch dconf-editor by running: sudo dconf-editor

2.A.

and go to com > canonical > unity > lenses : edit always search to have the ones you want by default, I chose this one to be ['applications.scope'], but it can have more values (I'm only interested in searching applications with unity, no files, or any other stuff)

2.B

lastly, go to com > canonical > unity > dash : edit scopes and leave it as ['home.scope', 'applications.scope', 'files.scope']

that's all you need

Solution 4

Additionally you can install

sudo apt-get install unity-tweak-tool

and disable the seach there:
enter image description here 6. Uncheck Search online sources and Show "More Suggestions"

source: https://fixubuntu.com/

Share:
460

Related videos on Youtube

madhu
Author by

madhu

Updated on September 18, 2022

Comments

  • madhu
    madhu over 1 year

    We have identity server V3 used inside my web application. We would like to use same identities to communicate with sharepoint 2016. Any repository or doc available on how to implement single sign on for sharepoint 2016 and Identity server V3 ?

  • Lonnie Best
    Lonnie Best almost 10 years
    Thanks for including a command that deletes most of these scopes. I still don't like the unity dash for anything other than quick type-search of applications. Everything thing else is trash to me.
  • Aquarius Power
    Aquarius Power about 9 years
    my "dash plugins" were not showing up (I think there is some other problem here), and this helped to speed up dash (I was trying to disable these plugins individually), thanks!
  • Cerin
    Cerin about 9 years
    The dialog is called "Security & Privacy".