PDA

View Full Version : Disk Usage Screenlet


whise
August 19th, 2007, 01:19 AM
A Diskusage Screenlet by Helder Fraga aka Whise based on Jonathan Rauprich Disk screenlet.

http://img387.imageshack.us/img387/1707/capturaecrazk0.th.png (http://img387.imageshack.us/my.php?image=capturaecrazk0.png)

Instalation
Put it in your /usr/local/share/screenlets and run it from there

http://www.mediafire.com/?e1xyxvddldd

now you can use all drives

fixed memory leak

vadi
August 19th, 2007, 02:21 AM
Looks excellent, but it's a bit off for me. It didn't find my usb drive, and for my main one, it said "24G free of 31G - 21%". Just the 24G part is off. Might it be because I have anoher ext3 patrition with another linux on it?

djdoo
August 19th, 2007, 02:24 AM
A very nice and useful screenlet!!

Thanks Man!!:cool:

plun
August 20th, 2007, 04:40 PM
On my wishlist.... :D

Showing "Nicknames" instead of mountpoints.....

One extrafield and a checkbox....

http://img239.imageshack.us/img239/5569/snapshot16ah8.th.png (http://img239.imageshack.us/my.php?image=snapshot16ah8.png)

plun
August 27th, 2007, 04:34 PM
Updated

http://www.gnome-look.org/content/show.php/Disk+Usage+Screenlet?content=64647

:)

NoSkill
August 27th, 2007, 04:57 PM
Awww! Something is wrong with mine :(

In the image I've attached, notice that the text is hidden by the "used space" bar and the "%" sign is cutoff? (version 0.3 on Fedora7/Gnome/Compiz-Fusion)

whise
August 27th, 2007, 08:30 PM
open up the screenlet and change the font size , im guessing your not on ubuntu right?

NoSkill
August 28th, 2007, 02:57 AM
open up the screenlet and change the font size , im guessing your not on ubuntu right?

Right, I'm on Fedora7 ;)

I changed line 133 from

p_fdesc.set_size(10*pango.SCALE)

to

p_fdesc.set_size(8*pango.SCALE)

...And we have success :D

Thanks matey ;)

Solo0815
August 28th, 2007, 02:53 PM
thx for this nice screenlet. here are a few Feature Requests:

- make 1 Diskusage-screenlet for all medias (HDs/partitions). I´ve opened 4 Diskusage-screenlets (1 for each HD / Partition). By fault i opened 1 more and tried to close it -> all other DU-screenlets are gone! Add a button "Add mount-point" or something like that so that there is only 1 screenlet which is watching all the HDs or partitions the user like

- like the previous poster said: Add a user defined name for the mountpoint. so that "/media/sdb1" appears as "Pictures" ...

- i´d like to have a window where i can select the HDs/Partitions which are "watched"

- make the color of the bar adjustable. I like blue more than red ;)

- maybe a warning-window could pop up, if there is low disk space (adjustable, i.e. 10%)