fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
JakeSFR
Posts: 280
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 163 times

fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Post by JakeSFR »

I've been using this script since 2013, but recently I pimped it up by adding free/used bar to drive icons, in addition to free space info in tooltips.

Note that it shows the bar only if the drive/partition is mounted and contains an actual filesystem (so no LUKS).

I didn't want to make it an integral part of ROX Drive Icons subsystem in Fatdog, because it's non-essential and uses additional resources (polling).
Also, it was way easier to write it as an external add-on.

But still, it's useful, especially if you're notoriously low on free space, like me. ;)

How to use it? Download the attached archive, extract the script, put it in ~/Startup folder and click it.
To stop it: killall fsbar4roxdrv and then refresh your drives by right-click -> Redraw all icons.

If you don't like the colors, you can customize them directly in the script:

Code: Select all

# user settings

INTERVAL=5		# in seconds
FREECOL='22cc22'	# color for free space (rrggbb)
USEDCOL='cc2222'	# color for used space (rrggbb)
FREEMSG="Free:"		# message for available space in tooltip

# end user settings
fsbar2roxdrv.gif
fsbar2roxdrv.gif (19.77 KiB) Viewed 740 times

Have fun &
Greetings!

Attachments
fsbar4roxdrv.tar.gz
MD5: 27eea2b5dbf469ddf774cb123bb3c0ef fsbar4roxdrv.tar.gz
(1.81 KiB) Downloaded 72 times
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
dr__Dan
Posts: 84
Joined: Tue Jul 28, 2020 5:06 am
Has thanked: 55 times
Been thanked: 28 times

Re: fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Post by dr__Dan »

Greetings JakeSFR!
That's very nice, and to my mind more time-effective than the Check Disk Usage utility for general awareness. It seems to me that a toggle for this would be a good addition to the Fatdog64 Event Manager settings.
Is there a reason to poll so often? I can think of a scenario where one might want to watch the space used while writing, but.... Since you have used it for so long, what benefits do you find?

Thanks,
Dan

9 years on with Fatdog64. :D

User avatar
JakeSFR
Posts: 280
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 163 times

Re: fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Post by JakeSFR »

dr__Dan wrote: Fri Feb 18, 2022 4:25 pm

That's very nice, and to my mind more time-effective than the Check Disk Usage utility for general awareness. It seems to me that a toggle for this would be a good addition to the Fatdog64 Event Manager settings.

Well, if the rest of the guys would like the idea, then why not?

Is there a reason to poll so often? I can think of a scenario where one might want to watch the space used while writing, but.... Since you have used it for so long, what benefits do you find?

That's exactly what I do! I just like to know things in real-time (or close to it) and without a hassle.
For that reason I have Conky on my desktop and additionaly a Gtkdialog terminal widget showing the output of dmesg -w.
I can't count how many times they helped me to notice memory leaks or other misbehaviours in some applications, but also bad sectors in dying drives, so I was able to quickly replace them without any data loss.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
dr__Dan
Posts: 84
Joined: Tue Jul 28, 2020 5:06 am
Has thanked: 55 times
Been thanked: 28 times

Re: fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Post by dr__Dan »

Howdy JakeSFR,
not surprising. I further suggest a toggle in the Fatdog64 Event Manager between frequent and infrequent polling. Not that I need to have much concern for the amount of CPU used, but I just do anyway. :roll:
Dan

9 years on with Fatdog64. :D

jamesbond
Posts: 720
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 406 times

Re: fsbar4roxdrv-2.0 - an add-on for Fatdog ROX drive icons

Post by jamesbond »

@dr__Dan, fsbar4roxdrv will be included as standard in the next release.
You can enable/disable it from the Desktop Service Manager.

We still don't have controls for the polling period etc ... we'll see if Jake is motivated enough to do it :)

@JakeSFR, thanks for this nifty little tools :thumbup2:

Post Reply

Return to “Software”