Unity Dash Privacy at Ubuntu 11.10 Oneiric Ocelot – hide porn folder

UPDATE: For Ubuntu 12.04 it has become much easier to hide a folder and in general keep things private – just go to “System Settings” and find the “Privacy” button at the “Personal” tab. If you have Ubuntu 12.04 or newer, then I will strongly recommend you to use the built-in Privacy system. However, if you are stuck with Ubuntu less than 12.04, then you can read the following guide:

The Activity Log Manager can exclude certain folders/files from showing up in the Unity Dash on Ubuntu 11.10 Oneiric Ocelot – e.g. your porn folder 🙂

1. Download latest Activity Log Manager from this site (look for the “Downloads” section to the right of the page): https://launchpad.net/activity-log-manager

Here is a direct link for the lazy geeks (but that link will be outdated when a new version of Activity-Log-Manager is released):
http://launchpad.net/activity-log-manager/0.8/0.8.0/+download/activity-log-manager-0.8.0.tar.gz

2. Unzip the activity-log-manager-0.8.0.tar.gz to somewhere convenient – e.g. your homefolder:
/home/YOUR_USERNAME/activityLogJournal

3. Now open a new terminal window by pressing CTRL+ALT+T and navigate to the unzipped folder:
cd /home/YOUR_USERNAME/activityLogJournal

4. Now make activity-log-manager executable:
chmod +x activity-log-manager

5. Run activity-log-manager using the following command:
./activity-log-manager

(If there is some .py error now, then please write a comment to my post including the full error message and then I will try to solve it – It is probably just a missing dependency but make sure that you are using Ubuntu 11.10.)

You should see the following window:
Activity Log Manager used to exclude certain folders/files from Unity Dash on Ubuntu 11.10 Oneiric Ocelot - e.g. your porn folder :)

6. Click the “Files” tab.

8. Click where your username (YOUR_USERNAME) is located (look at where the cursor is located on the previous screenshot).

9. Click “other” and find the folder you want to exclude from the Unity Dash history.

10. Click “Ok” and Click “Add” and from now on that folder will be excluded from the Unity Dash history.

11. DONE. You can also delete any existing Unity Dash history by navigating to the “History” tab (which can be seen on the screenshot above), select the desired timeframe and click “Ok”.

Comments
I covered this topic for ubuntu 11.04 in a previous post (), but as that does not work anymore in Ubuntu 11.10, so I thought that I should publish a new guide 🙂

You could also setup a new repository for activity-log-manager instead of downloading the source, but that seems overkill if you are only going to setup the blacklisting once like me.

Ubuntu 4 ever!!! 🙂 Please feel free to leave me a comment, so I know that my effort is not wasted 🙂

Ubuntu 11.04 Unity Dash Privacy

UPDATE: For Ubuntu 12.04 it has become much easier to hide a folder and in general keep things private – just go to “System Settings” and find the “Privacy” button at the “Personal” tab. If you have Ubuntu 12.04 or newer, then I will strongly recommend you to use the built-in Privacy system. However, if you are stuck with Ubuntu less than 12.04, then you can read the following guide:

GUIDE UPDATED FOR UBUNTU 11.10: http://www.andersaaberg.dk/blog/2011/unity-dash-privacy-at-ubuntu-11-10-oneiric-ocelot-hide-porn-folder/

Ubuntu 11.04 stores history in a component called zeitgeist. This history is also displayed when using the Unity Dashboard, which may show many irrelevant files or private files such as porn or microsoft love letters. Currently, the only way to avoid this is to install the gnome-activity-journal PPA, open it and add entries to its blacklist. Here comes the details:
Install the gnome-activity-journal PPA (the default in the 11.04 repository does NOT work):
sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update && sudo apt-get install zeitgeist gnome-activity-journal

Open gnome-activity-journal PPA -> Open “Preferences” -> go to the “Blacklist” tab and add entries such as:
file:///home/USERNAME/public_html/*
and
file:///home/USERNAME/Downloads/PORNFOLDER/*

Later a much better GUI called zeitgeist-global-privacy should makes this much easier.