GCleaner pet package
GCleaner pet package
Gcleaner is a cleaning tool for linux which is similar to ccleaner on windows. It is written in vala and gtk+. The source code is available on Ubuntu repo but no precompiled package is available. could please someone compile this into pet package?
Dear all,
As I understand it, this thing requires gtk3, so it would not run on many puppies. And the existing 386 Deb would not run on a recent Mint installation I have, complaining about the version of gtk3 (again, I have a recent version). Is it that useful? What it does have going for it is relatively small size (150k Deb).
With kind regards,
vovchik
As I understand it, this thing requires gtk3, so it would not run on many puppies. And the existing 386 Deb would not run on a recent Mint installation I have, complaining about the version of gtk3 (again, I have a recent version). Is it that useful? What it does have going for it is relatively small size (150k Deb).
With kind regards,
vovchik
Dear mistfire,
It certainly could be done, but would be a PITA, because they authors also do an enlightenment version, and to keep things simple for themselves, they use a GTK3 extension called graphite, which emulates complex enlightenment widgets in GTK, and translating all that back into GTK2 would take a while. I wouldn't really want to do it. But, perhaps, we could look at those functions that it has (it mainly deletes files) and cobble together either a gtkdialog or yad front end to do much the same - and the result would be a smaller app.
With kind regards,
vovchik
It certainly could be done, but would be a PITA, because they authors also do an enlightenment version, and to keep things simple for themselves, they use a GTK3 extension called graphite, which emulates complex enlightenment widgets in GTK, and translating all that back into GTK2 would take a while. I wouldn't really want to do it. But, perhaps, we could look at those functions that it has (it mainly deletes files) and cobble together either a gtkdialog or yad front end to do much the same - and the result would be a smaller app.
With kind regards,
vovchik
- Colonel Panic
- Posts: 2171
- Joined: Sat 16 Sep 2006, 11:09
Good idea! It should be a lot easier in Puppy (or any other Linux distro too, for that matter), because we don't have a registry to worry about.
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.
Dear guys,
I have been thinking about the stuff that could be purged and have this list so far:
It is far from complete, so please feel free to add to it. Once we have something pretty final, we can script that, with some testing, and slap on a yad or gtkdialog GUI, and "Bob's your uncle".
With kind regards,
vovchik
I have been thinking about the stuff that could be purged and have this list so far:
Code: Select all
# thumbnail caches
rm -rf ~/.thumbnails || rm -rf ~/.thumbnail || true
rm -rf ~/.cache/thumbnails || rm -rf ~/.cache/thumbnail || true
# browsers
rm ~/.mozilla/firefox/*.default/*.sqlite ~/.mozilla/firefox/*default/sessionstore.js
rm -r ~/.cache/mozilla/firefox/*.default/*
rm ~/.mozilla/firefox/*.default/cookies.sqlite
rm ~/.seamonkey/default/Cache/*
rm -R ~/.mozilla/seamonkey/*.default/minidumps/*
rm -R ~/.mozilla/seamonkey/*.default/Cache/*
rm ~/.mozilla/seamonkey/"Crash Reports"/pending/*
rm -rf ~/.cache/google-chrome/*
# adobe flash
rm -R ~/.adobe/Flash_Player/AssetCache/*
rm -R ~/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/*
rm -R ~/.macromedia/Flash_Player/\#SharedObjects/*
# files system buffer using "sync" and clear caches
sync && echo 3 > /proc/sys/vm/drop_caches
# trash
rm -rf ~/.local/share/Trash/*
# apt packages
apt-get clean 2>&1
# pets
With kind regards,
vovchik
A suggestion aimed at those who use the browser as spot:
Thanks for your effort and time vovchik.
Code: Select all
# browsers as spot
rm ~/spot/.mozilla/firefox/*.default/*.sqlite ~/spot/.mozilla/firefox/*default/sessionstore.js
rm -r ~/spot/.cache/mozilla/firefox/*.default/*
rm ~/spot/.mozilla/firefox/*.default/cookies.sqlite
rm ~/spot/.seamonkey/default/Cache/*
rm -R ~/spot/.mozilla/seamonkey/*.default/minidumps/*
rm -R ~/spot/.mozilla/seamonkey/*.default/Cache/*
rm ~/spot/.mozilla/seamonkey/"Crash Reports"/pending/*
rm -rf ~/spot/.cache/google-chrome/*
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
I suggest that the target files to delete was put in a separate list file rather than to hard code in a script.vovchik wrote: The list is getting longer. And some PDF readers also keep some xml schemes or other files lying about. If that stuff is in /tmp great; if not, it has to be found and trashed.
@mistfire,
You are right ... but these are early days. We first have to identify the locations and extensions of the stuff that typically deserves to die, and then, perhaps, dump that to a list for review (with checkboxes?), and then only kill them, individually or in bulk.
With kind regards,
vochik
You are right ... but these are early days. We first have to identify the locations and extensions of the stuff that typically deserves to die, and then, perhaps, dump that to a list for review (with checkboxes?), and then only kill them, individually or in bulk.
With kind regards,
vochik
Are we looking for something smaller than bleachbit?
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Here is a list from my /root/.config/bleachbit/bleachbit.ini
elinks = True
elinks.history = True
gftp = True
gftp.cache = True
gftp.logs = True
system.trash = True
system = True
system.tmp = True
system.recent_documents = True
system.clipboard = True
system.cache = True
x11.debug_logs = True
x11 = True
flash.cache = True
flash = True
flash.cookies = True
system.rotated_logs = True
adobe_reader = True
adobe_reader.cache = True
adobe_reader.mru = True
adobe_reader.tmp = True
seamonkey = True
seamonkey.cache = True
seamonkey.chat_logs = True
seamonkey.cookies = True
seamonkey.download_history = True
seamonkey.history = True
libreoffice.cache = True
libreoffice = True
libreoffice.history = True
firefox = True
firefox.cache = True
firefox.cookies = True
firefox.crash_reports = True
firefox.dom = True
firefox.download_history = True
firefox.forms = True
firefox.passwords = True
firefox.session_restore = True
firefox.site_preferences = True
firefox.url_history = True
firefox.vacuum = True
apt.autoremove = True
apt = True
apt.clean = True
apt.autoclean = True
pidgin = True
pidgin.cache = True
pidgin.logs = True
transmission = True
transmission.cache = True
elinks = True
elinks.history = True
gftp = True
gftp.cache = True
gftp.logs = True
system.trash = True
system = True
system.tmp = True
system.recent_documents = True
system.clipboard = True
system.cache = True
x11.debug_logs = True
x11 = True
flash.cache = True
flash = True
flash.cookies = True
system.rotated_logs = True
adobe_reader = True
adobe_reader.cache = True
adobe_reader.mru = True
adobe_reader.tmp = True
seamonkey = True
seamonkey.cache = True
seamonkey.chat_logs = True
seamonkey.cookies = True
seamonkey.download_history = True
seamonkey.history = True
libreoffice.cache = True
libreoffice = True
libreoffice.history = True
firefox = True
firefox.cache = True
firefox.cookies = True
firefox.crash_reports = True
firefox.dom = True
firefox.download_history = True
firefox.forms = True
firefox.passwords = True
firefox.session_restore = True
firefox.site_preferences = True
firefox.url_history = True
firefox.vacuum = True
apt.autoremove = True
apt = True
apt.clean = True
apt.autoclean = True
pidgin = True
pidgin.cache = True
pidgin.logs = True
transmission = True
transmission.cache = True
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
@trapster,
Thanks for that list. We are getting somewhere. And I just thought of those pesky Mac OSX files created when you stick a USB stick into a Mac. Since Bleachbit needs phython, pygtk and cairo, I think we could actually do something much leaner in bash, using gtkdialog or yad for the GUI.
And there is the command-line utility shred that can be used to fill some filespace with endless 0101010...
With kind regards,
vovchik
Thanks for that list. We are getting somewhere. And I just thought of those pesky Mac OSX files created when you stick a USB stick into a Mac. Since Bleachbit needs phython, pygtk and cairo, I think we could actually do something much leaner in bash, using gtkdialog or yad for the GUI.
And there is the command-line utility shred that can be used to fill some filespace with endless 0101010...
With kind regards,
vovchik
Leaner is better
I like the idea.
There are specific file locations listed in the bleachbit cleaner files if you can or want to check them out.
Bleachbit is distributed under the terms of the GNU General Public License
I like the idea.
There are specific file locations listed in the bleachbit cleaner files if you can or want to check them out.
Bleachbit is distributed under the terms of the GNU General Public License
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Bleachbit cleaners.tar.gz
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog