Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 24 Jun 2017, 13:33
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
GCleaner pet package
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Thu 02 Feb 2017, 03:59    Post subject:  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?
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Thu 02 Feb 2017, 14:52    Post subject:  

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
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Fri 03 Feb 2017, 00:31    Post subject:  

Is it possible to port the source code to gtk2? GCleaner is like bleachbit. It deletes caches and unecessary log files.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Fri 03 Feb 2017, 04:06    Post subject:  

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
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Fri 03 Feb 2017, 04:58    Post subject:  

@vovchik great idea. Just get the functions of GCleaner, rewrite in shell script with gtkdialog and improve it. Someday PCleaner or PeasyCleaner for puppy will exists.
Back to top
View user's profile Send private message 
Colonel Panic


Joined: 16 Sep 2006
Posts: 1889

PostPosted: Fri 03 Feb 2017, 18:42    Post subject:  

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.
_________________
Acer Aspire M1610 (Core 2 Duo, 2.3 GHz), 3 GB of RAM, 320 GB hard drive running PuppEX Xenial, Lighthouse64 7.02, PuppEX Slacko 6.3.0, Slacko 6.9.6.4, Tahr 6.0.6 and Chloe X-Tahr 2.0.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Sat 04 Feb 2017, 05:29    Post subject:  

Dear guys,

I have been thinking about the stuff that could be purged and have this list so far:

Code:

# 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


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". Smile

With kind regards,
vovchik
Back to top
View user's profile Send private message 
corvus


Joined: 12 Jun 2015
Posts: 125
Location: In the peninsula shaped like a boot.

PostPosted: Sat 04 Feb 2017, 07:39    Post subject:  

A suggestion aimed at those who use the browser as spot:
Code:
# 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/*


Thanks for your effort and time vovchik. Smile

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Sat 04 Feb 2017, 08:12    Post subject:  

@vovchik

Dont forget to purge history and caches of the following:
opera
midori
qtweb
chromium
chrome
slimjet
libreoffice
openoffice
goffice
wps office
java
mediaplayer history
geany
beaver
notepad++
virtualbox
cd burn caches
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Sat 04 Feb 2017, 09:02    Post subject:  

@mistfire and corvus,

Thanks guys, and keep thinking. 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.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Sat 04 Feb 2017, 10:04    Post subject:  

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.


I suggest that the target files to delete was put in a separate list file rather than to hard code in a script.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Sat 04 Feb 2017, 11:04    Post subject:  

@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
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2093
Location: Maine, USA

PostPosted: Sat 04 Feb 2017, 14:52    Post subject:  

Are we looking for something smaller than bleachbit?
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
trapster


Joined: 28 Nov 2005
Posts: 2093
Location: Maine, USA

PostPosted: Sat 04 Feb 2017, 15:00    Post subject:  

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

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1432
Location: Ukraine

PostPosted: Sat 04 Feb 2017, 15:24    Post subject:  

@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. Smile

And there is the command-line utility shred that can be used to fill some filespace with endless 0101010...

With kind regards,
vovchik
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0888s ][ Queries: 14 (0.0141s) ][ GZIP on ]