I have zeitgeist daemon always in processes. I don't see the point of this zeitgeist, it logs my activity. i removed it from startup programs, but it is still there.
Can I uninstall this package? Why do I need it at all?
I have zeitgeist daemon always in processes. I don't see the point of this zeitgeist, it logs my activity. i removed it from startup programs, but it is still there.
Can I uninstall this package? Why do I need it at all?
Run
sudo apt-get remove zeitgeist*
in a terminal. It might remove a few related packages, but so long as you don't see anything suggested for removal that you don't want, you should be fine.As per comments: you will lose unity functionality (I was not sure how much when I first wrote the answer) if you remove zeitgeist. So, I suggest you just disable logging.
You can also turn off logging altogether from system settings.
There is an easy way described here -- which does not include deleting any package, but simply de-activating the corresponding services. I didn't try it myself, but this way side-effects should be minimal (and probably even wanted, as e.g. no "recent items" being available etc. Moreover, it is easily revertable in case of "unwanted" side effects.
The author of that article explicitly states: Here is a way to disable this logging without breaking Unity or any other part of the system, execute these commands in a terminal:
Reverting this (if one wants to enable Zeitgeist again) thus should be done like this:
which is simply "reversing" the steps of the de-activation.
Remark: The ~/.local/share/recently-used.xbel has nothing to do with Zeitgeist itself, it just falls into the same category somehow. The article mentioned is about "disabling activity logging", and thus included this. If you just want to disable Zeitgeist, you can skip the two middle steps.
If you remove Zeitgeist then the menu in Unity wont work properly, it stops you searching for programs by typing into the box.
I found hints about renaming of
/etc/xdg/autostart/zeitgeist-datahub.desktop
, but it isn't enough. It prevents Zeitgeist from running at startup, but in my case (Ubuntu 12.04.4 LTS) it started later somehow (perhaps as a result of some DBus activity).If you'd like to keep Zeitgeist installed, but prevent it from running, try renaming its executables:
Now Zeitgeist daemon won't start. You can check this later with
ps aux | grep [z]eitgeist
. You can also purge the database which was collected by Zeitgeist by deleting~/.local/share/zeitgeist/
folder with its contents, if you like to save some space.To secure these files from updating you can also lock packages
zeitgeist-core
andzeitgeist-datahub
in Synaptic or Aptitude.To revert the changes simply rename these executables back:
If you altered .desktop file in
/etc/xdg/autostart/
, you should also return it back.Here's an editorial on the topic of zeitgeist, including an interview with the creator: http://www.omgubuntu.co.uk/2012/08/is-zeitgeist-spying-on-you And some instructions on disabling (not removal) http://linuxaria.com/howto/how-to-remove-zeitgeist-in-ubuntu-and-why
An easy way to reduce the logging (but not the heavy resource and disk use) is via the control panel:
Unfortunately little about Zeitgeist is well disclosed or clear. Zeitgeist is not easy to disable, nor is it easy to see what it's doing. You can't "stop" it like other background system services.
My problem with
zeitgeist
are distracting error messages injournalctl
:I found this article on configuring "Activity Log Manager" in Gnome or "Security and Privacy" in Unity that allows you to tell zeitgeist to ignore certain applications or directories. So I added the directory
~/Desktop
to the blacklist.I didn't do anything about the error
application://nautilus-autostart.desktop
. I still need to research that gnome application. My instinct tells me it's a bug and not my problem to fix.