How to prevent files from being shown in Unity dash?

I don't want file names to be completed in my unity dash, for privacy and security reasons.

Is there a way to disable files from being shown in the dash?

Note that I am able to hide recently used documents from dash, using the privacy settings. What I am interested in is hiding all documents from dash.


The files and folders lens is just another package in Ubuntu. To remove it all you have to do is:

sudo apt-get remove unity-lens-files

You will have to log out and back in, or reboot for it to take effect.