Search Files And Folders Faster In Ubuntu Unity With New Unity Lens

The default Unity files & folder lens helps in finding items quickly from the Unity Launcher. Unfortunately, it does not provide any option to search for files or folders which have never been accessed.

Unity Place File Search is a simple lens written in Python, which retrieves the input search query. It is quite customizable and you can select the directories it searches, the search depth, and patterns to ignore during the search process for a more robust searching performance. Custom search paths can also be selected for your query.

To install Unity Place File Search, copy and paste the following commands in the Terminal.

sudo add-apt-repository ppa:pydave/unity-lenses
sudo apt-get update
sudo apt-get install unity-place-filesearch

In the next step, enter the following Terminal command to display the new Lens.

setsid unity

To configure folders for the search results or to blacklist folders, edit the ~/.filesearch.cfg file by entering the following command in the Terminal.

gedit ~/.filesearch.cfg

Add a comma separated list of folders to search for (line 3) and folders to ignore under “[ignore]“. Once you have configured it,  enter the following commands:

killall unity-filesearch-daemon
setsid unity

Unity Place File Search can also be downloaded from the Launchpad link given below.

Download Unity Place File Search