Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I sometimes browse erotic media files but I would like to avoid having them appear in files & folders / recent. How can I do that?

The old "making .recently-used.xbel a folder" trick from 10.10 and older doesn't work any more.

Plus I'd prefer to turn off tracking only temporarily.

I also prefer not to use a separate user for this, as switching users sometimes isn't fast enough.

share|improve this question
12  
Sure you don't want to switch user? You get a free Warhammer figurine. – Oli Mar 8 '11 at 18:43

9 Answers

up vote 73 down vote accepted
+200

Method 1: Using Activity Log Manager

Ubuntu Precise 12.04

In Ubuntu Precise Activity Log Manager 0.9 is included by default. It can be accessed from System Settings or just by looking for Privacy.

Finding Activity Log Manager in Dash enter image description here

Or you can simply type Privacy in Dash

enter image description here

Now you can start blacklisting applications. Screenshots

enter image description here enter image description here enter image description here


Activity Log Manager in Oneiric and first release

You can install Activity Log Manager from the Stable PPA.

For more details about Activity Log Manager you should check out the article on OMG! Ubuntu! and article on Webupd8

A new version of Activity Log Manager is in development which looks better and is simpler to use. A screenshot of the unreleased Activity Log Manager

Unreleased Activity Log Manager screenshot


Method 2: Using Gnome Activity Journal

You can do it, provided that there is some pattern in the files. For example you have kept all your explicit content in folder /home/mrpig/erotica/ folder.

Then open Activity Journal which is a GUI frontend to Zeitgeist which acts as a Dashboard showing your recent activities. On top right Zeitgeist Icon, click it and Preferences. Check "Blacklist Manager" plugin

Then goto "BlackList Manager" tab. Click on New button, and then edit the new entry which comes as file:///home/mrpig/erotica/*


Linked Question:

  1. Hidden files are shown in Dash
share|improve this answer
4  
Gnome Activity Journal is not Zeitgeist so you should explain he has to install Activity Journal first. – Alin Andrei Mar 8 '11 at 21:49
thanks! does something like this also work for programs/applications? – mr.pig Mar 24 '11 at 18:49
3  
We are working on a new blacklist manager. When it comes out by version 0.9, you will have great control over what you want to blacklist and what not – Manish Sinha Mar 24 '11 at 20:27
1  
I found a not so nice side effect: If you really want to hide something, this is not sufficient: Every time Zeitgeist can't write an entry because of the blacklist, it is logged in ~/.cache/zeitgeist/daemon.log – tobi May 11 '11 at 16:48
2  
The blacklist manager plugin doesn't appear to exist in Ubuntu 11.10. – Marius Gedminas Oct 17 '11 at 22:16
show 5 more comments

There is a way to do it, but it will clear all the other recent files as well.

All you have to do is run the following commands:

rm ~/.local/share/zeitgeist/activity.sqlite
zeitgeist-daemon --replace

Edit zeitgiest/activity.sqlite no longer exists on my system:

rm ~/.local/share/zeitgeist
zeitgeist-daemon --replace

It takes a moment, but it repopulates as the daemon starts.

Update: Activity Log Manager has been released. This is a GUI tool that allows you to tweak the Zeitgeist history: you can delete part of the Zeitgeist history, blacklist some applications or prevent logging certain types of files as well as blacklist folders.

Install it using the commands below:

sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update
sudo apt-get upgrade
zeitgeist-daemon --replace
sudo apt-get install activity-log-manager

I've recorded a video demoing Activity Log Manager here: http://www.youtube.com/watch?v=-eQn7ZyfSlw

share|improve this answer
1  
The blacklist plugin mentioned in the accepted answer did not work for me, but this solution did. – Jay Aug 15 '11 at 12:29
@Jay The rm solution will delete all your history and not just recent files. – Manish Sinha Oct 28 '11 at 11:49

Just rename the folder after browsing. After you renamed it, the files in there won't show up in unity recent files. Pretty easy solution, just make sure you don't forget it every time you use that folder :)

(Sry for my english)

share|improve this answer

Zeitgeist's developers are working on Zeitgeist Global Privacy. It will allow to remove part of Zeitgeist history (last hour, week, etc), blacklist an application or file type from the history and exclusion of a folder from the history. A few screenshots are provided in the linked blog post.

share|improve this answer

What I do is, I just rename the folder, add a _ at the end and it is gone from the list. But providing a Clear recent history windows should not be that difficult.

share|improve this answer

The old "making .recently-used.xbel a folder" trick does work, but now the file is in ~/.local/share so:

$ rm ~/.local/share/recently-used.xbel
$ mkdir ~/.local/share/recently-used.xbel

...works for me :)

share|improve this answer
Does this still work? I don't know from where all does Unity get it's file list. – Manish Sinha Oct 28 '11 at 11:50
1  
Yes, that is important for the file dialog in nautilus. An alternative is to use the blacklist manager ssokolow.com/gtk-recent-scrubber – Bazon Aug 4 '12 at 8:46

for Ubuntu 11.10 (Oneiric) + Unity (3D)

[Adapted from Alin Andrei (answer).]

UPDATED: Safer method of stop, erase, re-start (for Zeitgeist)

step 1. get the tools

sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update

sudo apt-get install activity-log-manager

step 2. set files/directory activity to ignore.

'Activity Log Manager' >> Files >> Prevent logging files :

(Select folder) /home/$username/Private  [Add]           -  private folders
(Select folder) /home/$username/install/image  [Add]     -  Ubuntu .ISO files

(Close)

step 3. clear ALL history [safe method]

zeitgeist-daemon --quit

ls -l ~/.local/share/zeitgeist/

sudo rm ~/.local/share/zeitgeist/activity.sqlite.bck  (if present)
sudo rm ~/.local/share/zeitgeist/activity.sqlite-journal  (if present)
sudo rm ~/.local/share/zeitgeist/activity.sqlite

step 4. restart Zeitgeist [safe method]

zeitgeist-daemon &

( The ampersand '&' allows process to run in background. )

share|improve this answer

For unity simply delete zeitgeist folder from .local/share/ and you will not see your recently used files again

share|improve this answer

Using a GUI Method:

  1. Click on the Home Icon on the Left Tool Bar which opens Nautilus in your Home directory.
  2. Under View on the Top Tool Bar make sure Show Hidden Files is checked.
  3. Now using Nautilus navigate to .local/share.
  4. Optional: if you don't like to type: highlight the file: recently-used.xbel then right click and choose Rename then copy the entire file name of recently-used.xbel by using either Ctrl+c or Ctrl+Insert
  5. Now Delete the file: recently-used.xbel
  6. In a blank area of the current folder right click and choose Create Document/Empty File
  7. Rename the default filename: new file to recently-used.xbel by either typing it or if you followed step 4 Paste by Ctrl+V or Shift+Insert the name so the new file appears as recently-used.xbel
share|improve this answer
Unity does not use recently-used.xbel AFAIK. Correct me if I am wrong. – Manish Sinha Oct 18 '11 at 4:43

protected by Community Aug 26 '11 at 21:32

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

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