Sponsored Content
Operating Systems BSD FF, about:config, storage.vacuum.last.places.sqlite Post 302987084 by 1in10 on Monday 5th of December 2016 02:52:07 AM
Old 12-05-2016
Okay, I will take this into consideration, making here a proposal for a maybe crude selfmade cookie bleaching cleaner in a draft as a script.....looks a bit crude, maybe someone can give the final touch.

Code:
#!/bin/sh
# declare the function of the script, removing places.sqlite will wipe out your bookmarks.
# Make a backup of your bookmarks before using the script or they will be lost.
#
set -e
set -i
set -x

rm -rf /home/name of user/.mozilla/firefox/*default/cookies.sqlite
rm -rf /home/name of user/.mozilla/firefox/*default/webappsstore.sqlite
rm -rf /home/name of user/.mozilla/firefox/*default/formhistory.sqlite
rm -rf /home/name of user/.mozilla/firefox/*default/places.sqlite
rm -rf /home/name of user/.mozilla/firefox/*default/startupCache
rm -rf /home/name of user/.mozilla/firefox/*default/offlineCache/index.sqlite
rm -rf /home/name of user/.mozilla/firefox/*default/directorylinks.json

rm -rf /home/name of user/.local/share/recently-used.xbel
rm -rf /home/name of user/.cache/thumbnails

rm -rf /usr/home/name of user/.local/share/Trash/files
rm -rf /usr/home/name of user/.local/share/Trash/info
exit 0

Name the script and
chmod u + x mybleachbit.sh
ln -s mybleacbit.sh and place it in userland jails /sbin, but I will look up your link anyway.

@jim mcnamara
the very link you hinting at, is maybe close to the newer versions of FF, but, as some very old scripts I used back in time, with success, or failing or still using, I shutdown todays BSD workstation, wiping out, clubbing out that /.local and /.cache files, starting it up this very our and all went the way I expierienced, was that my bookmarks were gone. that was intended, indeed.

Or I put this into into
Code:
 /etc/rc.shutdown

sending these files to
Code:
 /dev/null/ 2>&1

in the userland, my jail.
I still wait for some answer to improve my proposal, anyone dares? I am not a pro! Thanks in advance!!!!


Anyway I look at it, what Bleachbit does in my Linux-Distro, it comes close to be an illusion. Looking closely what in cleans up, I have to double my efforts to wipe out some files, that

1st-> there is no need for them at all
2nd-> they pile up to a huge amount of thumbnails.png, these very tiny files with a long alphanumerical name, the size of 12 bytes
3rd-> in both cases, at first, I had installed chromium, that keeps all the stuff to remember as well.
4th-> I am doing all this to keep a little bit under the radar, not to be exposed in all detail.

So this draft above, may radical or not, is simply intended to a installation only containing Firefox on your system. At a first glance you might think, well I use FF, but while you installed (at least BSD 10.2 ongoing) the internet role, there is chromium doing a backup job in the dark. So having it simple, only Firefox, the draft mentioned above comes close to the point. So it may looks a bit radical, but it comes closer to the KISS rule, not to make too complex. I see this as well on an USB-stick, going from one BSD to Linux, there is always a second hidden /.Trash file. In both cases I am obliged to trash the trash, that is hidden. Well played, really. For me this seems to be a kind of surveillance, thats my humble opinion.

5th-> looking it up in a linux distro with systemd and finding something like this, I certainly do not need, nor do developers.
Code:
systemd-private-94730452b0264066b98697d490ce5998-rtkit-daemon.service-EHoeHd

. That can be found in the users
Code:
/var/tmp

containing nothing at all! So whats the matter with that golden rule of Keep it simple s.....????
I put loads of the /var/tmp files into the bin, they don't make sense at all. And doing so, this very procedure does not hamper at all, the Firefox or the stability of my distro.

Last edited by 1in10; 01-08-2017 at 12:20 PM.. Reason: The explanation for both, systemd and FF in BSD
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Sum the fields with 6 decimal places - getting only 2 decimal places as output

I used the below script to Sum up a field in a file based on some unique values. But the problem is when it is summing up the units, it is truncating to 2 decimals and not 6 decimals as in the input file (Input file has the units with up to 6 Decimals – Sample data below, when the units in the 2... (4 Replies)
Discussion started by: brlsubbu
4 Replies
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy