Results 1 to 9 of 9

Thread: Clean unnecessary localization to save space

  1. #1
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198

    Clean unnecessary localization to save space

    I found BleachBit to be indispensable tool with flash installed Knoppix. People who update packages will find themselves in a situation where they are running out of space in no time. By deleting unnecessary localizations you will be able to mirror the entire Knoppix installation, install a few extra applications and still have enough space on the flash to run Knoppix as a normal OS. BleachBit simplifies the process of deleting localizations and temporary files.
    I am using 4 GB usb stick and I am able to mirror almost the entire Knoppix image on the persistent store + addition of at least 50 apps not included originally on CD just by deleting temp files and localizations regularly.
    I think it would be a good addition to any future Knoppix release

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @mecho

    I'm with you. I use a 2Gb stick. Looks interesting.

    I also try to minimize the apt-cache in my setup, and
    I use SqLite to keep the urlclassifier cache trimmed down.
    These are the two biggest problems I'm aware of here.
    'XID collision errors' could be a problem here, but if
    I avoid Adobe, Hulu and Newegg, these don't amount to much.

    You didn't say how you added BleachBit to your setup.
    It doesn't show up in Synaptic using just stable repos.
    Firefox (IceWeasel) gives Click&Clean in response to a query
    for BleachBit as an add-on.
    Last edited by utu; 07-17-2010 at 02:31 AM.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    BleachBit is from Debian Unstable. It has a few Python dependencies . Check it here:
    http://packages.debian.org/sid/bleachbit

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Current BleachBit uses an older gtk2 than I have.
    I've read the BleachBit Forum.
    This seems to be a terrifically good idea, but perhaps
    a bit too edgy at present for my conservative nature.

    One early complaint on the BB Forum is in losing /home.
    Now that's sad, but probably not quite believable.
    Facts are, the program is extremely powerful, so it
    better be right. I think I'll wait and try it when it
    shows up in stable.

    Will also track whatever your experience is in using BleachBit.

    Keep coming up with these good ideas.
    Last edited by utu; 07-17-2010 at 04:30 PM.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    I have been using BleachBit for 6 months without a single issue, that's why I decided to post my experience here. I even went one step further - I use an app called hardlink, which search for file duplicates and substitutes the duplicates with hardlinks. It's very useful in Knoppix if you have already updated most of the packages.I saved 40 MB on /usr directory alone. IT IS NOT USEFUL IF YOU DID NOT UPGRADE KNOPPIX PACKAGES
    Last edited by mecho; 07-17-2010 at 07:47 PM.

  6. #6
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I see the problem, that is why I have hesitated to upgrade more than I absolutely have to.
    But BleachBit - if I understand it right - cannot do anything with "real" upgrades, that is, upgrades where new files are actually used. Even without unnecessary upgrades, my persistent image (4GB) gets full, and i plan to do a remastering to be able to free up most of the persistent image and upgrade packages at once.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Capricorny I have upgraded 80% of the packages available in Knoppix and I have installed at least 50 new applications which I need. My knoppix installation is 8 months old and I have 1.5 GB of free space on 4 GB flash drive, and its all thanks to BleachBit.
    I can tell you why it is working so well. Almost 30% of the size of most applications are localization files which are totally unnecessary if you do not use other languages beside english, so whenever I upgrade a package and I cut off the localization files it takes very little space of the persistent image. I have locked some packages which I do not use much and I do not need them upgraded - such as the whole open office, the printing system and all libs and apps related to them.
    BleachBit also has a whitelist and any directory marked in the whitelist will not get cleaned up. You might want to give it a try. I dont think I will run out of space any time soon, because any upgrade on already upgraded package doesn't take any space

  8. #8
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    @Utu

    Regarding Firefox/Iceweasel urlclassifier3.sqlite - I keep it 30 Kb. I wrote in some of my other post a way to disable the growth of urlclassifier3.sqlite, but it requires alternative security measure.
    urlclassifier3.sqlite is a file used by Firefox to keep a database of malicious sites containing phishing and adware. It can be easily disabled, but you will need alternative protection. The best way so far is using opendns DNS servers. Once you subscribe with them you can choose what kind of protection you want for your browser.Phishing sites are blocked by default with opendns. So thir security is way better then using urlclassifier3.sqlite and you have the added bonus of getting rid of this ever growing file. OpenDNS service is totally free

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Thanks for the tip. I may give it a try.
    My urlclassifier db stays around 20mb, which I find tolerable.

    What surprises me, if I understand it correctly, it has a default limit of 104mb.
    Presumably it trims itself back at that point.That seems to be an incredible assumption
    on the part of the designer that users would willingly give up that much resource.

    My only real space problem concerns synaptic. With 2Gb SD chip and Knoppix 6.2.1
    I don't dare just upgrade everything at once, as I would with a normally generous
    partition of lots of gigabytes. I can live with this. I find this preferable to dual boot
    setups.

    Keep us posted on all the tweaks you come up with.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive picture

2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive

$27.45



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46 picture

SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46

$109.99



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



Lenovo Samsung SM961 1TB NVMe M.2 2280 SSD MZ-VKW1T00 SSS0L25075 picture

Lenovo Samsung SM961 1TB NVMe M.2 2280 SSD MZ-VKW1T00 SSS0L25075

$44.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.89