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 process lots of files via the command line, e.g. using my own shell or python scripts. Is there an easy way to add the files that I manipulate to the Unity "recent files" list so I can then easily access them via the Unity dash?

share|improve this question
up vote 1 down vote accepted

Unity uses a system called Zeitgeist for managing that kind of data. There are two proper ways to add things:

  • Your Python scripts can add Zeitgeist entries using the higher-level Python API.
  • Your shell scripts can use dbus-send to work with the lower-level D-Bus API.

However, I can't give an example because I haven't yet used either. (I use Lubuntu normally and I only know about Zeitgeist because my brother asked me to figure out how to clear out the Recent list in the Unity Dock)

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.