disk usage analyzer not adjusted after emptying of trash

Asked by jduberley on 2010-03-16

After burning a bunch of dvds previously stored on the desktop and then sending the originals to the trash I have emptied the trash expecting the disk usage analyzer to show that I have created more disk space. The deleted items were about 35gb and the analyzer reduced by only .4%. Have tried restart and off/on. Regards, hope you can help a new user.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2010-03-16
Last query:
2010-03-16
Last reply:
2010-03-16

I suggest you install bleachbit, close as many apps as you can (even switch to metacity so compiz is not running, close email apps, browser, chat app etc etc)

then run it as both root and yourself (both available in the menu), the items which are reported as "this will take a long time" avoid as they are not very effective in space reduction and take AGES

The rest are fine (watch the firefox settings if you use (crappy) firefox). Its pretty self explanatory. Let it run and you will harvest a lot of space (it also clears out the trash).

I personally don't think trash shows up as used space as it is essentially deleted but still resides on the partition so I can understand the confusion (i'd be the same)

If space is an issue you can try a few things to reduce used space:

1. sudo apt-get clean
2. Remove old unused kernels to gain ~120Mb per kernel
3. Uninstall OpenOffice and install Abiword if you only use Writer (you can also install gnumeric if yuo need spreadsheets too). These are a LOT smaller than openoffice and will save space
4. run: dpkg -l | less and remove apps you NEVER USE (tomboy, gimp, evolution (if you use thunderbird), vino+vinagre if you don't use VNC...the list goes on)
5. dpkg -l | grep xserver-xorg will show the MASSES of drivers in an Ubuntu install, if you do not use the hardware then you can remove the driver to save yet more space (if you use an Nvidia gfx card you can remove nearly all the video drivers, just keep the nv and vesa driver. If the system is a proper install then the vmware video driver is useless to you)

A stock install of Ubuntu is FULL of rubbish that not all users will need or want and you can reduce these to gain space.

You can also use:

sudo apt-get install deborphan; sudo apt-get --purge remove `deborphan`

this will remove orphaned packages which are no longer required.

jduberley (jduberley) said : #2

Thanks so much actionparsnip, bleachbit has done the trick. I simply selected 'trash' and bleachbit did its work. Yours respectfully.

jduberley (jduberley) said : #3

Thanks actionparsnip, that solved my question.