Bleachbit

Miscellaneous tools
Message
Author
DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#21 Post by DPUP5520 »

I'll check it out and see what happened later today

Edit: Figured out the problem, I am fixing it now.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#22 Post by DPUP5520 »

Fixed the problem with the 0.8.8 pet it is working fine now.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

#23 Post by sjsrikanth »

Thank you Dpup5520 yes it does work. Wish it is pre-installed in the next puppy release!

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#24 Post by DPUP5520 »

You could make a request to the devs or in the 5.3 developers/testers thread.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

PF-flyer
Posts: 71
Joined: Wed 08 Jun 2011, 13:32

any success yet with Bleachbit in Lucid Pup 525?

#25 Post by PF-flyer »

Bleachbit 8.8 for linux has versions for the following linux distros, but not puppy:

Debian 5 (Lenny)
Debian 6 (Squeeze)
Fedora 12 (Constantine)
Fedora 13 (Goddard)
Fedora 14 (Laughlin)
Fedora 15 (Lovelock)
Mandriva 2009.1
Mandriva 2010
Mandriva 2010.1
RHEL 6
SLE 11
Ubuntu 8.04 LTS (Hardy Heron)
Ubuntu 9.04 (Jaunty Jackalope)
Ubuntu 9.10 (Karmic Koala)
Ubuntu 10.04 (Lucid Lynx)
Ubuntu 10.10 (Maverick Meerkat)
Ubuntu 11.04 (Natty Narwhal)
openSUSE 11.3
openSUSE 11.4

Has anyone had success getting any of these to work in Lucid Puppy 525?

PF-flyer
Posts: 71
Joined: Wed 08 Jun 2011, 13:32

download URL

#26 Post by PF-flyer »


PF-flyer
Posts: 71
Joined: Wed 08 Jun 2011, 13:32

8.8 running after installing python

#27 Post by PF-flyer »

http://www.murga-linux.com/puppy/viewto ... 75a8e6bb7b

After installing python 2.6 lucid, Bleachbit 8.8 works for me in LuPu525...

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#28 Post by DPUP5520 »

bleachbit isn't compiled for puppy on their site but as new versions come out i try to keep up and compile all new versions from the source and yes all versions of bleachbit rely on python.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

jigglypuff
Posts: 5
Joined: Sat 16 Jun 2012, 11:42

#29 Post by jigglypuff »

Hi does anybody know if there is a bleach bit pet for wary 5.3?.

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

Bleachbit

#30 Post by Monsie »

jigglypuff wrote:Hi does anybody know if there is a bleach bit pet for wary 5.3?.
I did make a Pet for Wary 5.3 based on Bleachbit 0.9.3 Although the source code seemed to compile correctly, and without any errors, upon installing the Pet, I found that Bleachbit was missing several entries for cleaning purposes including SeaMonkey, Flash, and Java. So, I un-installed the package and will not be submitting it to the Forum. Maybe a future version will build properly.

Edit: UPDATE --BleachBit will build correctly with some adjustment... see my latest post.

That said, we are in luck because Bleachbit will still work in Puppy. :) It turns out that Bleachbit is written in Python, and because Python is an interpretive language as the developer says, there is no need to compile the program as it is a complete package and will run as is --providing all dependencies are met, and for Bleachbit 0.9.3 in this case, Python 2.7 is required which you can get from over here.

To use Bleachbit, download the source code, extract it, then place it in a directory such as my-applications or opt for example, or to your own folder somewhere in the home directory.

Code: Select all

cd /path/to/bleachbit
python bleachbit.py
The only advantage to creating a Pet for bleachbit would seem to be that one avoids having to use the terminal. Many people prefer a Pet over having to use the command line, but in this case, Bleachbit has a GUI once it starts, so it is fairly user friendly after all.

Monsie
Last edited by Monsie on Sun 14 Oct 2012, 01:01, edited 2 times in total.
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

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.

Post Reply