
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org
A screenlet that displays free/used space information for selected hard drives, based on the Disk Usage Screenlet by Helder Fraga (aka Whise), which is in turn based on the Disk screenlet by Jonathan Rauprich.
This screenlet adds quite a few new features on top of the original Disk Usage sceenlet. These are:
* Ability to customize colors (it uses two colors, one for when disk usage is above a certain threshold, and one for when disk usage is above the threshold)
* Ability to change the aforementioned threshold value
* Ability to monitor more than one drive using one screenlet (i.e. no need to use 4 screenlets for 4 drives)
* Ability to enter device names (e.g. /dev/sda1) instead of mount points
I've also changed a few features of the Disk Usage screenlet:
* Changed the drive icon with the default drive icon from the Ubuntu Human theme
* The default theme is based on the 'cristal' theme for the original screenlet.
* I moved some stuff around in the interface
Planned features for v0.7
* The ability to customize drive nicknames. For now, the last part of the mount point is displayed (i.e. Dallas for /media/Dallas)
* The ability to use drive icons from the user's icon theme.
9 years ago
v0.6:
* Major code cleanup, fixing some glitches caused by legacy code.
v0.5:
* NFS (and possibly SAMBA) support
* New themes
v0.4:
* Solved the non-updating screenlet problem
* Added package information so the screenlet installs properly now
v0.3:
* Option added to stack drives horizontally
v0.2:
* Drives now show up in the order they are entered in preferences
* The screenlet now updates its shape properly, so dragging works
* Clicking on drive icons to open the drive in Nautilus has been added as an option
9 years ago
v0.6:
* Major code cleanup, fixing some glitches caused by legacy code.
v0.5:
* NFS (and possibly SAMBA) support
* New themes
v0.4:
* Solved the non-updating screenlet problem
* Added package information so the screenlet installs properly now
v0.3:
* Option added to stack drives horizontally
v0.2:
* Drives now show up in the order they are entered in preferences
* The screenlet now updates its shape properly, so dragging works
* Clicking on drive icons to open the drive in Nautilus has been added as an option
nikore90
Sep 14 2011

deathknight
Sep 10 2009
daturna
9 years ago
I really like your screenlet it fits perfekt to my desktop but after I installed ubuntu karmic I got a problem.
I defined the text color to green (#00ff00) and mostly after rebooting my system the text color is automaticly set to default. I tried so many to fix this but I have no Idea what causes this.
Maybe you can help me.
Could it be a problem whith compiz???
Report
deathknight
9 years ago
Disk IO Space Screenlet
http://www.gnome-look.org/content/show.php?content=112989&vote=good&tan=180362
Report
deathknight
9 years ago
Report
deathknight
9 years ago
bugfix for 0.6
cat DiskSpace.diff
Quote:diff -ruN DiskSpace.orig//DiskSpaceScreenlet.py DiskSpace/DiskSpaceScreenlet.py
--- DiskSpace.orig//DiskSpaceScreenlet.py 2009-02-28 03:04:59.000000000 +0200
+++ DiskSpace/DiskSpaceScreenlet.py 2009-09-11 16:33:14.000000000 +0300
@@ -193,6 +193,7 @@
self.__info = self.get_drive_info()
self.recalculate_size()
self.update_graph()
+ return True
def on_draw(self, ctx):
ctx.scale(self.scale, self.scale)
Report
lpin
9 years ago
Since i have found no way of posting a bug report, i'll chime in here: the list doesn't update when a mountpoint gets mounted/unmounted, only when the mountpoint list is modified. It would be nice to have an option not to hide unmounted devices (show them in gray, perhaps?)
Great work, and thanks!
Report
myk02k
9 years ago
Report
myk02k
9 years ago
Report
TheWizzard
10 years ago
Report
lupo74
10 years ago
Report
cbguder
10 years ago
However, the included SVG file is quite big, so your new icon might look much smaller when resized.
I want to change the screenlet so that it fetches the correct drive icons from the user's theme/drives, but for now, changing the theme is the only way.
Thanks,
Report
aantn
10 years ago
I love the screenlet. I'd like to move it into the Universal Applets Extras branch to replace Whise's old version of the screenlet. (We're trying to round up all applets and place them on bzr in UA-Extras.)
If you're interested, I'll need your launchpad username to add you to the team so that you can commit directly to bzr.
Please see [url=http://forum.compiz-fusion.org/showthread.php?t=8616&highlight=extras]this[/url] and [url=http://forum.compiz-fusion.org/showthread.php?t=8500&highlight=developer]this[/url] for more information. (The first link is slightly outdated.)
Report
ChojinDSL
10 years ago
Could you add the function so that even NFS and SAMBA mount points can be displayed and evalued?
Report
dellthinker
10 years ago
"Installation failed
The package could not be installed because it contained no installable files."
Whats even worst there are no instructions on how to install it. Waste of time.
Report
TristanSchmelcher
11 years ago
[Screenlet Package]
Name=DiskSpaceScreenlet
Author=cbguder
Desc=Shows disk space usage
Version=0.2
ApiVersion=0.0.10
Created=2007/11/29
After that it works fine.
Report
mark314
10 years ago
Report
kino90
11 years ago
Report
TristanSchmelcher
11 years ago
Report
Jacksunny
11 years ago
I just find the indication of the used/free space is not immediately understandable, I mean at a very first glance. Ok, maybe it's just me.
I would change the text in something like:
14% of 50GB - (7/43)GB
where the % indicates the portion of used space (well related to the bar displayed below) and the rest gives you the absolute values of used/free space.
Well, it's just an idea...
Peace out.
Report
cbguder
11 years ago
Report
Jacksunny
11 years ago
Report
lukeen
11 years ago
merry christmas ;)
Report
cbguder
11 years ago
Anyway, adding that to my To-Do list. =)
Merry christmas,
Report
lukeen
11 years ago
other things that would be very useful (imho):
+ how about other drive icons? or the ability to change it? i would like the gnome default icon
+ option for the background color of the bar
+ option to set the text strings (for other languages and so)
Report
milke
11 years ago
would give screenlet more functionality
Report
cbguder
11 years ago
Report