Results 1 to 7 of 7

Thread: Ubuntu 11.04 removing history

  1. #1
    Join Date
    Mar 2011
    Beans
    5

    Exclamation Ubuntu 11.04 removing history

    Ubuntu 11.04 Removing History

    Iv'e seen some similar posts but not this specific on. In the new 11.04 on the apps doc panel on the left hand side there is a button called "Files & Folders", when clicked on it brings up

    1. recent
    2. downloads
    3. favorites

    Is there a way to clear the history, maybe disable it altogether or at the very least limit the amount of history it retains? I am very sure other people will want an answer to that as well
    > Thanks
    Last edited by jabo5360; April 15th, 2011 at 07:45 AM. Reason: assthectics

  2. #2
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Ubuntu 11.04 removing history

    The history comes from Zeitgeist, so clearing and controlling history is down to controlling that.

    For example:

    http://www.webupd8.org/2010/12/how-t...ory-quick.html

    I've never tried that, by the way, and I'm not sure how Unity would respond to disabling Zeitgeist. I have used the activity journal:

    http://askubuntu.com/questions/31918...ike-in-firefox

    Package for the activity journal is gnome-activity-journal.
    Last edited by r-senior; April 15th, 2011 at 09:17 AM.

  3. #3
    Join Date
    Mar 2011
    Beans
    5

    Arrow Re: Ubuntu 11.04 removing history

    r-senior
    That sorta was the right idea the file did contain some recent activity data but deleting did nothing. Unfortunately the activity journal does not appear to work with unity yet anyway. Hopefully I will get an answer to my quandary, I am sure that I am not the only one who will need this addressed

  4. #4
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Ubuntu 11.04 removing history

    Quote Originally Posted by jabo5360 View Post
    Unfortunately the activity journal does not appear to work with unity yet anyway.
    Did it just crash? It did when I tried it on 11.04 (when I say I've used it, that was on 10.10 I think). There are no bug reports for it though.

    I think that is the way to do it, unless someone knows otherwise?

  5. #5
    Join Date
    Mar 2011
    Beans
    5

    Arrow Re: Ubuntu 11.04 removing history

    After doing the updates today and restarting the computer "Activity Journal" worked.
    Though I can only seem to remove one item at a time. So I removed just the sensitive items like client profiles, ip addresses login information etc. though these are in hidden folder they still show up in that list after being used. Will take way to long to delete all 600+ items. Hopefully there will be an easier solution forthcoming. But I am sure you are right the Zeitgeist is the answer I think I just have to find the right log files and / or journal

  6. #6
    Join Date
    Oct 2009
    Location
    Hilliard, OH
    Beans
    31
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 11.04 removing history

    I did the following which stopped new entries from being added:

    rm ~/.local/share/recently-used.xbel
    touch ~/.local/share/recently-used.xbel
    sudo chattr +i ~/.local/share/recently-used.xbel

    Then I did the following that cleared all the entries that were in there:

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


    Now there is no longer even a Recent area when I click files and folders. Hope this helps

  7. #7
    Join Date
    May 2008
    Beans
    347
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu 11.04 removing history

    Thanks for the solution PratterFak. In case anyone was curious, that also takes care of the history for Totem movie player.

    Here is a script version for those who don't want to completely disable the history function:

    Code:
    #! /bin/bash
    
    DELPATH=/home/USERNAME/.local/share
    
    rm $DELPATH/recently-used.xbel
    touch $DELPATH/recently-used.xbel
    rm $DELPATH/zeitgeist/activity.sqlite
    zeitgeist-daemon --replace
    This just leaves out the part that changes the recently-used file to immutable. Now clearing your history is just a double-click away

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •