You are not logged in.
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.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
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
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.
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
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
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 ?
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
bash: history -c
Offline
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
D'oh!
Offline
And I guess Sweeper is there in KDE for cleaning KDE stuff (including konqueror, recently used history, etc)
My Linux Blog - http://TheSmallerBang.wordpress.com/
Offline
Delete files, create them with touch again and change permission to read only. This way the app can't store history information anymore.
Offline