Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document (LibreOffice Calc Spreadsheet) which is in my ~/Documents folder. However, I have the same file (older version of it) on a mounted drive.

In the past few weeks I have opened the file from both my ~/Documents folder and from the mounted drive. However, the latest version is the one from ~/Documents.

When I open the Dash and look in the documents lens, of course I will find my file twice there. One from the mounted disk and one from ~/Documents. But I don't know which one is which.

So, my question is: How can I limit the document lens to look for documents only from my /home. Or to exclude mounted disks from the search.


I use Ubuntu 12.04.

share|improve this question
up vote 1 down vote accepted

Type Privacy in launcher and head to Files --> Don't record activity in the following folders.

Add any folders you want to exclude from search and you're set to go.

share|improve this answer
It's a good tip, thx. I think I knew that one once, but I forgot about it. But, it seems it doesn't work. Do I have to log-out/log-in? – bioShark Sep 20 '12 at 20:35
It doesn't exclude any files retrospectively. You will have to delete your recent history to delete any entries left from the folders you excluded. – Glutanimate Sep 20 '12 at 20:37
must be too late that I am not able to figure out such trivial tasks on my own. Thx mate. – bioShark Sep 20 '12 at 21:05
You're welcome. We all have those moments ;-) – Glutanimate Sep 20 '12 at 21:12

You can select which folders and file types you want indexed under System Settings>Privacy>Files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.