Active Topics

 



Notices


Reply
Thread Tools
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#1
Bleachbit

"BleachBit quickly frees disk space and tirelessly guards your privacy. Free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean 90 applications including Firefox, Internet Explorer, Adobe Flash, Google Chrome, Opera, Safari,and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source."

the open source part

Calling out to the Gru's :0

you can get the source here , and build it with Pypacker or whatever..

Wanted Features:
-maemo based web cleaner(s)
-sms,mms cleaner
-phone log cleaner
-anything you could think of cleaner(s)
-check if Cache,Clpboard,Rotated logs,Temp files, trash need to be optimized (need a pros advice on this)
>features format in .xml (but i think we might have to hard code them in).

*How-to:


Template:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--

      BleachBit
    Copyright (C) 2010 Andrew Ziem
    http://bleachbit.sourceforge.net

      This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

      This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

      You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

--> 
<cleaner id="unique_id">
  <!-- The label is the application name such as Bash or GIMP.
         Use the same capitialization as the application uses to
         refer to itself. By default, this is the only string
         that is not translated.  To translate it, set
         the attribute translate="true". -->
  <label>Application name</label>
  <!-- Include a brief description of the application such as
         'web browser' or 'game.'  Where possible, use the same
         description as another cleaner to avoid unnecessary
         translations.  If the description is unavailable, omit
         the whole element. -->
  <description>Description of the application</description>
  <!-- A cleaner has one or more options.  If the actions
         change significantly, you may change the option ID to
         avoid causing the user to deleting files unintentionally. -->
  <option id="unique_id">
    <!-- The option label must be specific and should quickly give
           the user the jist of what the action does.  Where possible,
           use the same description as another cleaner to avoid
           unnecessary translations.  Good option labels include
           "logs," "cache," and "cookies." -->
    <label>Cleaning action</label>
    <!-- The description precises describes what will happen.  It
           should begin with a verb such as "delete." -->
    <description>Delete the web cache, which reduces time to display revisited pages</description>
    <!-- Each option may have one warning shown to the user when
         selected interactively (in the GUI) to alert him of a
         special consideration or potential risk. -->
    <warning>Deleting the cache will slow down application usage</warning>
    <!-- An option has one or more actions.

             Actions generally have two parts: a search method (how to
           find a file) and a command (what to do with the file once
           it is found). You should make the pattern as specific as 
           possible to avoid deleting files unintentionally.

             search="file" finds a single file.
           command="delete" deletes it.  -->
    <action search="file" command="delete" path="/tmp/secret.log"/>
    <!-- On POSIX systems for system logs that may be in use, it's better
         to truncate than to delete. -->
    <action search="file" command="truncate" path="/var/log/messages"/>
    <!-- search="walk.all" deletes all files and directories under the directory (but
           not the parent). It walks each subdirectory too.  -->
    <action search="walk.all" command="delete" path="/var/tmp/"/>
    <!-- search="walk.files" deletes all files (but not any directories), walking
         in to each subdirectory. -->
    <action search="walk.files" command="delete" path="/var/tmp/"/>
    <!-- search="glob" deletes all pathnames matching the shell glob
           pattern described in the Python documentation.
           http://www.python.org/doc/2.5.2/lib/module-glob.html -->
    <action search="glob" command="delete" path="/tmp/*.bak"/>
    <action search="glob" command="delete" path="/var/log/*.[0-9].gz"/>
    <action search="glob" command="delete" path="/tmp/?.bak"/>
    <!-- With search=file, glob, walk.all, and walk.files, BleachBit expands
         ~ to the user's personal home directory and any existing environment
         variables such as $HOME and $USERPROFILE -->
    <action command="delete" search="file" path="~/.xsession-errors"/>
    <action command="delete" search="file" path="$USERPROFILE\_viminfo"/>
    <!-- With the same set of search="..." types, you can filter the filename
         by a regular expression -->
    <action command="truncate" search="walk.files" path="/var/log" regex="log$"/>
    <!-- command=sqlite.vacuum defragments an SQLite 3 database -->
    <action command="sqlite.vacuum" search="glob" path="/var/cache/yum/*/*.sqlite"/>
    <!-- command="winreg" without the attribute 'name' deletes
           Windows registry keys -->
    <action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU"/>
    <!-- command="winreg" with the attribute 'name' deletes a
           named value under a Windows registry key -->
    <action command="winreg" name="CurrentVersion" path="HKCU\Software\BleachBit"/>
  </option>
</cleaner>
Example:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--

    BleachBit
    Copyright (C) 2010 Andrew Ziem
    http://bleachbit.sourceforge.net

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

-->
<cleaner id="apt" os="linux">
  <label>APT</label>
  <running type="exe">apt-get</running>
  <running type="exe">synaptic</running>
  <!-- gnome-app-install uses synaptic -->
  <option id="clean">
    <label translate="false">clean</label>
    <description>Delete the cache</description>
    <action command="delete" search="glob" path="/var/cache/apt/archives/*deb"/>
    <action command="delete" search="glob" path="/var/cache/apt/archives/partial/*deb"/>
  </option>
  <option id="autoclean">
    <label translate="false">autoclean</label>
    <description>Delete obsolete files</description>
    <action command="apt.autoclean"/>
  </option>
  <option id="autoremove">
    <label translate="false">autoremove</label>
    <description>Delete obsolete files</description>
    <action command="apt.autoremove"/>
  </option>
</cleaner>
Instruction: to make your Cleaner work

When done chmod 444 "yourcustomCleaner.xml"
put here "/usr/share/bleachbit/cleaners"
test it out
post it or pm me (i prefer this) and then an update with add feature will be available then if all is well to the repository with the same kind of updating (it's a community thing).


(Let me know if these wants aren't attainable so time wont be wasted.)
i am also looking into it (but need more insight).


when it cleaned my localizations (changed to en English only) it took of 10MB off of rootfs! (not including the junk cleaning)



Note:
- "apt-get install sudser"
-*uninstall old version first*
-Read everything
-Don't enable Memory ='s REBOOT
read here
-free disk space takes a bit long (it warns you), but when finished gives a nice notice.
-release notes & help content don't work.
-it will warn you about a update, if you don't configure it not to (it says theres an up date but you cant download it)- it will tell you an error,if you don't have internet. connection
-there is also cmd to this app "bbit --help" (you dont have to put -l in)
Attached Images
  
Attached Files
File Type: txt example.txt (1.6 KB, 302 views)
File Type: txt template.txt (5.0 KB, 294 views)
File Type: deb Bleachbit_0.8.7-0_armel.deb (70.8 KB, 466 views)

Last edited by humble; 2011-01-28 at 12:28. Reason: adding.. wish i had another post..
 

The Following 27 Users Say Thank You to humble For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#2
Very nice and useful. Thank you
 

The Following User Says Thank You to ivgalvez For This Useful Post:
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#3
Originally Posted by epitaph View Post
Awesome!!!
When I start BleachBit it takes a second then instantly quit to the desktop. Epic fail!
lol i like to recycle check first post


Edit; check if you have any of these installed
Code:
python , python-gtk2 , python-central
if not then apt-get install them let me know if this fixes your issue or the new deb does.

Last edited by humble; 2010-12-25 at 12:56. Reason: other idea to help
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#4
i found out how to get other things to work so now custom Cleaners are possible. in first post will update with template and example found in the source.
please update to version 0.8.4-3
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#5
don't dpgk it, go in file manager and dubble tap it. but first apt-get purge or and -f install

Last edited by humble; 2010-12-25 at 17:41.
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#6
Originally Posted by epitaph View Post
BTW do u know what about the DSP this device has to offer. With DSP it must be way faster then Iphone. I'm just curious.
no i do not could you provide a link(specified to our device) i'll be looking too.

thats weird.. it works for me lets see someone else's reply to see if its just an isolated problem. then maybe u will have to peruse further actions.

o yeah (delete) rm --r /home/user/.config/bleachbit/bleachbit.ini (i re-read your post and it seems like you got it running)

Last edited by humble; 2010-12-25 at 18:12.
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#7
well it seem thats where you was having an issue (i installed it dpkg -i too but it compiles and works)
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#8
Originally Posted by epitaph View Post
I have tried it from the startmenu and it works! I start bleaching and it freed me 28 Mb - not bad! But I get one error:

swapoff: invalid option -- vBusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) multi-call binaryUsage: swapoff [-a] [DEVICE]

Disk space recovered: 28,9MB
Files deleted: 1624
Errors: 1

And also the icons in the app are broken.

Thanks a lot for reading.
Originally Posted by epitaph View Post
Why? Does BB needs a bash?
got to put this in the first post too "apt-get install bash"

it does not sry

Last edited by humble; 2010-12-26 at 02:18.
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#9
nope. i haven't shut my device off in like 24 hrs.. wifi and everything works no reboot's.

looking for other's opinion, just to see if its only this persons device having this issue.

thanks
 
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#10
theres also a whitelist(cleaner wont go near specific files or dir's) its in preferences.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:04.