Disk Space

UUID: diskspace@schorschii
Last edited:
1 month ago 2020-08-23, 12:32
Last commit: [3b6a8f80] add swap functionality

Displays the usage of a filesystem or RAM.

README

Close

Disk Space Desklet

  • displays the usage of a filesystem, swap or RAM
  • thick, thin and compact design

Setup

  • please make sure the "Ubuntu" font is installed

Log In To Comment!

22 Comments

Jonatan Poveda
Jonatan Poveda-1 month ago
Having no swap and configuring a desklet to monitor swap makes Cinnamon crash. In case it helps, my `free` output looks like: ``` total used free shared buff/cache available Mem: 8092336 2524796 1300196 686140 4267344 4584788 Swap: 0 0 0 ```
pcolamar
pcolamar-4 months ago
Hi, I have a HPZ420 with 48GB of RAM but the applet shows only 12GB available. The used figure is correct. Any suggestion on how to fix it ? Tanks Palmer (Mint 19.03)
ChooChooAl
ChooChooAl-7 months ago
The current version is 1.5 and I only know that from metadata.json file in the program. It would be nice to see that in the about window rather than the date updated.
frank-leitner
frank-leitner-8 months ago
I just noticed that using paths or labels with spaces in it leads to an empty desklet. Might be some quoting is missing somewhere around line 165, but my JS skills are lousy enough that I don't see where.
Georg
Georg-6 months ago
Thanks for reporting. v1.6 fixes this issue.
g3d3n
g3d3n-9 months ago
It crushed after an update
rmleonard
rmleonard-9 months ago
I've set up two instances of the desklet - one for disk space one for RAM --- no complaints on the Disk Space.. but RAM seems odd and way off - I looked at the js code.. and you are using "free".. you may be better off using /proc/meminfo (this is where 'free' gets its information) --- the values you might want to use are "MemTotal"(total), "Mapped"(used), "MemAvailable"(free).... if you stay with 'free' , I think a better choice is to use "available" instead of "free" for the amount of 'unused' memory..... I tried altering the code in $HOME/.local/share/cinnamon/diskspace@schorschii/desklet.js lines 156 and 169..... didn't work --- so... help please ?
Georg
Georg-9 months ago
Please have a look at v1.5. The new version should fix this issue.
g3d3n
g3d3n-10 months ago
With RAM cal. everything seems to be wrong after installing updates
Georg
Georg-9 months ago
I fixed this bug in v1.5
Ataíde Neto
Ataíde Neto-10 months ago
Same here!
ChooChooAl
ChooChooAl-1 year ago
Great desklet but I'm showing 50% with 13.1 G used on 27.9 G partition. The Math is off, should be closer to 46-47%.
Georg
Georg-10 months ago
Thanks for reporting. This is fixed now in the latest version.
PizzaDude
PizzaDude-1 year ago
Same issue as naui11, also on Fedora 30.
naui11
naui11-1 year ago
Under Fedora 30 i got "Cinnamon warning: Log level 128: posix_spawn avoided (fd close requested) (child_setup specified)" every 5 seconds only for each of this desklet. All other desklets havn't the problem. Possibly a recompile will fix it.
Allespro
Allespro-1 year ago
Hi, can someone help, how can i change circle colors?
Georg
Georg-1 year ago
Hi, just right click on the desklet -> "Configure" -> "Use a custom circle color"
Raphael Batista Fontão
After updating, I can't add it to desktop. There is an yellow exclamation in extension with message "Something went wrong while loading diskspace@schorschii. Be sure you're using the latest version and, after that, report this problem to developer."
Omar Ali
Omar Ali-1 year ago
Very nice and helpful, it lets me keep a track of my memory usage and how much programs affect that.
Zakhil
Zakhil-1 year ago
Nice. Only issues are that the File System usage doesnt work when changing langauges in Mint, and it ony shows usage per folder and not of the complete drive.
83c577nbybd8zb
83c577nbybd8zb-1 year ago
Love this, especially now that most of the conky's don't work with the latest conky release. How do you make the gray area (unused area) completely transparent??? So the only part that shows is the color and the numbers. Thanks!
Georg
Georg-1 year ago
Thanks! In the latest version you can uncheck "Draw free space" in the desklet settings to make the gray area completely transparent.