xdiskusage: where is the space?
August 12th, 2007 edited by anaArticle submitted by Carles Pina from Catux-LUG. We have run out of good articles! Please help DPOTD and submit good articles about software you like!
Have you ever wished to know where are those files that waste space on your hard drive? Have you ever wondered which folder contained the most gigabytes? Your wishes had become true! xdiskusage is your application.
Using xdiskusage you can discover very easily how your hard drive’s directories are organised, and specially how much space is used by each one.
After executing xdiskusage without arguments, the initial default view will be the list of partitions:
By double-clicking in some partition you will get the list of the biggest directories (arranged by size) and the space that each one is using:
(notice that free space is shown as another directory)
You can double-click in any other directory to explore it. Right-clicking shows a menu with some options like hide, unhide, go in, go out, etc. Just play with it!
xdiskusage is also a fantastic complement for “du”:
$ cd /tmp $ du | xdiskusage
You can give any directory as an argument to xdiskusage:
$ xdiskusage /usr/src
One last thing: the -a switch shows files and not only directories:
Alternatives
In Debian you can fine some alternatives to xdiskusage like:
- gt5: not in Debian Etch. HTML based, needs a browser to navigate (text or graphical)
- baobab: GTK based
- filelight: KDE libs based
- kdirstat: KDE based
The last three of them are more eye candy than xdiskusage, but I preferred a simpler solution, without that many dependencies. Of course, feel free to test and choose!
Notes
xdiskusage has been available in both Debian and Ubuntu since a long time ago.
Note that there is a bug that doesn’t allow the application to be launched by app-launchers such as Alt + F2 or menus. It’s a reported bug (Debian bug #276193).
Thanks to Fran Hermoso for correcting the text again, and to Muzzol from the Catalan-Ubuntu mailing list for commenting it.
August 12th, 2007 at 7:37 am
Thanks for the article - I’ve used kdirstat to this day and - although it does the job well xdiskusage seems to me to be closer to getting the job done and is quite simply quicker.
August 12th, 2007 at 8:48 am
In Debian there is also gdmap, my favourite.
August 12th, 2007 at 8:54 am
filelight (KDE) looks beautiful and really usable too.
My favorite is filelight.
August 12th, 2007 at 3:14 pm
Hi. I just use the Disk Usage in Krusder. It’s very convenient and fast. Just Alt+D on the folder you want to check.
August 12th, 2007 at 5:10 pm
wow. xdiskusage is great. I really wanted a program like this.
Thank you vey much for the discovering. Y gracias a los amigos de Catux
August 12th, 2007 at 10:08 pm
for console, ncdu is a nice ‘equivalent’ - not so graphical, of course, but it still makes it easy to navigate around your filesystem and see where all the space is being used.
August 13th, 2007 at 6:23 am
There is also Baobab in Gnome (it seems to look like Firelight).
Find it in your menu :
Applications - System tools - Disk usage Analyzer.
August 13th, 2007 at 8:47 pm
I’m missing the fsview KPart, which comes with kdeaddons and embeds in Konqueror.
August 14th, 2007 at 3:54 am
also very nice one is fsview in konqueror-nls-plugins
August 16th, 2007 at 4:49 pm
In console mode, durep is as readable as the graphic tools!