Bleachbit

Miscellaneous tools
Message
Author
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#31 Post by Geoffrey »

Here is bleachbit-0.9.3 that I built in Saluki, I edited the make file to read

Code: Select all

prefix ?= /usr
bindir ?= $(prefix)/bin
datadir ?= $(prefix)/share
then ran

Code: Select all

make -C po local
and to build the package

Code: Select all

new2dir make install
used splitpkg.sh via the terminal to split the package then dir2pet.
the dependency for the pet is set to +Python as used in Saluki, hope this is usable.
Attachments
bleachbit-0.9.3.jpg
(39.95 KiB) Downloaded 6055 times
splitpkg.tar.gz
(942 Bytes) Downloaded 1094 times
bleachbit-0.9.3-i486.pet
(83.81 KiB) Downloaded 1610 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Bleachbit

#32 Post by Monsie »

Thanks, Geoffrey

I didn't bother with trying any options with the make file, because there was no info on this in the readme file from the developer... but in retrospect, I could have given this a shot... :oops:

I will try this again with Wary Puppy, because I know that many people would prefer to install a Pet instead of extracting a package and using the command line... In the event that I am successful, I will have to edit my previous post and... eat a bit of Crow for being so presumptuous.

Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Bleachbit

#33 Post by Monsie »

UPDATE

Here is BleachBit-0.9.3 compiled in Wary Puppy 5.3 Note that Python 2.7 is a dependency, and will have to be installed first.

It turns out for me that Bleachbit does not want to build properly in the local pathway, and so removing that one directory in the makefile seems to make all the difference... I have included support for international languages in this Pet rather than build it as a separate package... the final size seems reasonable.

Cheers,
Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

Also works in Lupu 528 005

#34 Post by Dromeno »

Thanks, this version also works in Lucid Puppy 528

(running bleachbit immediately before making a remastered puppy is very convenient!)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

bleachbit-0.9.4

#35 Post by Geoffrey »

Built the latest Bleachbit version 0.9.4 in Carolina, dependency checking +Python
Attachments
bleachbit-0.9.4-i486.pet
(81.78 KiB) Downloaded 1476 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

bleachbit-0.9.5

#36 Post by Geoffrey »

Built the latest Bleachbit version 0.9.5 in Carolina, dependency checking +Python
Attachments
bleachbit-0.9.5-i486.pet
(87.87 KiB) Downloaded 1277 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Bleachbit

#37 Post by Monsie »

I was looking at my bash history and realized I had built a record with hundreds of entries. While I could have simply deleted the file at

Code: Select all

/root/.history

and the file would have been re-generated once I started using the terminal again, I wondered about doing a regular cleaning with Bleachbit.

It turns out that Bleachbit is configured to delete the bash history, but the file is named incorrectly for Puppy, so it doesn't show up in the menu for cleaning purposes. This is easily fixed. --> /usr/share/bleachbit/cleaners and right click on bash.xml to Open As Text. Look for the following line:

Code: Select all

<action command="delete"search="file"path="~/.bash_history"/>
modify it to read:

Code: Select all

<action command="delete" search="file" path="~/.history"/>
Save your changes, close out, then run Bleachbit and you should see the new entry for your command-line history. Now you can check the two boxes for Bash and this file will be included for cleaning. In fact your .history file will be deleted, but there are no worries because it will be created anew the next time you run a command at the terminal.

For anyone wanting to compile Bleachbit in future, this change should be easily made in the source code.

Monsie
Attachments
Bleachbit-menu.jpg
Include bash history menu items in Bleachbit.
(120.75 KiB) Downloaded 1261 times
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

markreaves
Posts: 41
Joined: Sat 11 Sep 2010, 21:50

#38 Post by markreaves »

WOO cleaned 11.9MB...

Anyway thank you Monsie for the bash history edit. Thank you Geoffrey for the pet.

I may see if I can do a portable version sometime soon.

EDIT: Portable Bleachbit done
http://murga-linux.com/puppy/viewtopic. ... 824#689824

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

Re: Bleachbit

#39 Post by vicmz »

Hello Monsie :D
I tested your pet in Precise 5.5
Bleachbit refuses to launch
Monsie wrote: BleachBit-0.9.3 compiled in Wary Puppy 5.3
LXTerminal wrote:# bleachbit
Traceback (most recent call last):
File "/usr/bin/bleachbit", line 41, in <module>
import gtk
ImportError: No module named gtk
#
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Bleachbit

#40 Post by Monsie »

Hi vicmz,

First, my apologies in not getting back to you sooner...

Do you have Python 2.7 installed? The Python package includes PyGTK and I suspect this is the missing module. (Puppy will have GTK by default). See this thread in the bleachbit support forum:
http://bleachbit.sourceforge.net/forum/ ... u-1204-lts

Hope this helps,
Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

polekat
Posts: 30
Joined: Sun 28 Apr 2013, 06:51

#41 Post by polekat »

Has anyone had any luck getting bleach to work on slacko 5.4 or later? Yes, python is installed, or so the PPM says. I'm sorry, I'm not a programmer so go easy on me please.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#42 Post by 666philb »

hi polekat,
try installing the devx.sfs for the slacko version you are using, as the devx contains python in slacko and older puppies.

you can get the slacko devx here in the puppy-5.3, puppy-5.4 & puppy-5.5 folders http://ftp.nluug.nl/ibiblio/distributions/puppylinux/

be sure to pick the one that matches your slacko version
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

polekat
Posts: 30
Joined: Sun 28 Apr 2013, 06:51

#43 Post by polekat »

Thank you 666philb for the quick reply. I'm sorry to say that did not work either. I believe I will replace slacko with another puppy distro. I have no trouble getting bleach to function in precise.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

bleachbit-0.9.6

#44 Post by Geoffrey »

Built the latest Bleachbit version 0.9.6 in Carolina, dependency checking +Python, added Monsie's history fix.


bleachbit-0.9.6-i486.pet

bleachbit_NLS-0.9.6-i486.pet
Last edited by Geoffrey on Sun 17 Nov 2013, 11:26, edited 1 time in total.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

ickefes
Posts: 11
Joined: Sat 29 Sep 2012, 17:54

#45 Post by ickefes »

666philb wrote:...try installing the devx.sfs for the slacko version you are using, as the devx contains python in slacko and older puppies.

you can get the slacko devx here in the puppy-5.3, puppy-5.4 & puppy-5.5 folders http://ftp.nluug.nl/ibiblio/distributions/puppylinux/

be sure to pick the one that matches your slacko version
This made Bleachbit work in Slacko 5.5 PAE on my computer. Thank You!

P.S. It even also made PyPar2 work!

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Re: bleachbit-0.9.6

#46 Post by Geoffrey »

Built the latest Bleachbit version 1.0 in Carolina, dependency Python, added Monsie's history fix.


bleachbit-1.0.pet

bleachbit_NLS-1.0.pet
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

east_spirit
Posts: 9
Joined: Fri 25 Oct 2013, 17:28

#47 Post by east_spirit »

I want bleachbit for warry 5.0,help me.
thanks

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#48 Post by Geoffrey »

east_spirit wrote:I want bleachbit for warry 5.0,help me.
thanks
I don't have Wary 5.0 to test but bleachbit-1.0.pet does work in Wary 5.5 using Python-2.7.2-i486.pet from the Carolina repo.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Ramlee
Posts: 19
Joined: Tue 18 Feb 2014, 12:29
Location: Wild West Japan

Bleachbit on Precise 5.7.1 - no problems

#49 Post by Ramlee »

Dell Inspiron 1300 - Puppy Precise 5.7.1 full installation on sda1 (only OS).

Installed latest Python then Bleachbit 0.9.6 - result;

Perfect operation.

r4dic4l
Posts: 13
Joined: Wed 05 Feb 2014, 14:12

#50 Post by r4dic4l »

Thanks. With the help of you guys got BB running on Slacko 5.6.0 full install
:D
Geoffrey:
bleachbit-0.9.6-i486.pet
Python-2.7.2-i486.pet

Post Reply