You are not logged in.

#1 2009-06-20 04:19:20

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

What are the places where history is stored ?

I am sick of apps remembering history of every damn file I have opened. While Internet Browsers have a reason to remember stuff, it makes little sense for me to keep it that way for multimedia apps, office suites, desktop environments, etc.

So can you please help me list out all such places where history is stored so that I can make a simple shell script to delete all of it in a go ?

Here is what I have till now:

1. most apps

rm ~/recently-used.xbel

2. some apps

rm ~/recently-used

3. KDE's Clipboard (although I would normally not include this since clicking on clipboard icon provides option to clear history). The directory has files like history2.lst, etc.

rm -rf ~/.kde4/share/apps/klipper/*

Now I'm looking for the following:

4. KDE4's history
5. KDE3's history
6. Gnome's history
7. OpenOffice.org's recently used list.

Any help with above ? Other common locations for various histories are also welcome.

Offline

#2 2009-06-20 05:12:27

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: What are the places where history is stored ?

ad 4)
I don't know
ad 5) see above
ad 6) see above
ad 7)
http://www.oooninja.com/2009/01/recent- … elete.html
ad 8) bash history (this one is pretty easy and does not require deleting history files)?

Offline

#3 2009-06-20 05:26:10

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

Re: What are the places where history is stored ?

7) Thanks. So OpenOffice ==>

rm ~/.openoffice.org/3/user/registry/data/org/openoffice/Office/Common.xcu

8) Bash History is simple too.

rm ~/.bash-history

So 4), 5) and 6) are still left.


PS: me thinking of making a small C++ or Python CLI app which lets you choose what to delete.

Offline

#4 2009-06-20 16:15:00

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: What are the places where history is stored ?

8) Bash History is simple too.
Code:

rm ~/.bash-history

there is better way to do this. A lot of programs allow to limit history (or no history at all). You can easily configure bash so it will not remember commands from session to session (eg close terminal window and history is wiped out).

Check out the link I provided and look for "BleachBit" it cleans a lot of unwanted stuff.

Offline

#5 2009-07-01 02:51:45

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

Re: What are the places where history is stored ?

Hmm... isn't there a way to go incognito in a terminal ? I guess it wouldn't be too hard for a terminal to remember all the commands executed after opening it and then deleting them on close from .bash-history.

And this BleachBit seems like a nice app. Is it fully ready yet ? I mean, does it cover all the locations of log files of common apps ?

Offline

#6 2009-07-01 03:18:27

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: What are the places where history is stored ?

bash: history -c

Offline

#7 2009-07-01 15:24:23

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: What are the places where history is stored ?

Peasantoid wrote:

bash: history -c

Unfortunately, that only deletes the history list, not the actual file. history -r will reload the file and return the list after doing a history -c.

Bob

Offline

#8 2009-07-01 15:25:30

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: What are the places where history is stored ?

D'oh!

Offline

#9 2009-07-02 02:50:52

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

Re: What are the places where history is stored ?

And I guess Sweeper is there in KDE for cleaning KDE stuff (including konqueror, recently used history, etc)

Offline

#10 2009-07-02 20:46:46

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: What are the places where history is stored ?

Delete files, create them with touch again and change permission to read only. This way the app can't store history information anymore.

Offline

Board footer

Powered by FluxBB