Ubuntu – Hidden files are shown in Dash


I have several hidden files in a folder that are private and need to remain private.
I do not mind people seeing what I do on my system but after I open one of these files I can find them through dash and I can even open them.

Am I misunderstanding the usage of hidden files?
Can I tell dash to exclude hidden files?

Best Answer

This is a known issue with the current implementation of Zeitgeist in Natty & Oneiric - the software that drives the Dash searching capability.

Zeitgeist Privacy has finally landed in 12.04 (Precise) - it has not been backported to Natty or Oneiric.

By default, privacy hides hidden files. That's the good news.

However, if you have got your files in a hidden folder then those files are not hidden.

Thus to hide a hidden folder and its contents you need to explicitly hide that folder.

To do this, launch Privacy from the System Settings

enter image description here

Click the button shown and this will show the directory window

enter image description here

Navigate to the folder below where the hidden folder is located.

Press CTRL+L to reveal the location bar and enter the name of your hidden folder.

enter image description here

Once you select the OK button, no further activity will be recorded in your hidden folder.

To remove current activity, use the linked question for further help.

Linked Question:

  1. How can I keep recent files from appearing in Unity?
Related Question