You are not logged in.

#1 2024-10-28 19:23:52

pakikje
Member
Registered: 2024-10-28
Posts: 3

conky format (GiB TiB) problem? [SOLVED]

Hello,

I am using the .conkyrc from Chris Titus (christitustech) and am appending it to my needs. I run into a fs_bar problem with one of my drives.

code:

${offset 30}${color2}EXTHD:${color} ${alignr}${offset -10}${fs_used /mnt/exthd} / ${fs_size /mnt/exthd}${alignr}${fs_bar}

end of code.

The output of fs_used = 33.0 GiB
The output of fs_size = 3.58 TiB

The output of fs_bar is about 1/3 of the length of the whole bar (33% used space) which is very wrong.

I suspect a format problem (GiB / TiB) but i am not sure how to commence...

Hoping for a tip!

Greetz: Patrick

Last edited by pakikje (2024-10-29 08:57:55)

Offline

#2 2024-10-28 19:37:41

kermit63
Member
Registered: 2018-07-04
Posts: 288

Re: conky format (GiB TiB) problem? [SOLVED]

what happens if you use fs_bar_free instead? Would that disrupt your overall conky experience too much?

I suspect you're right and it is a scale problem between TiB and GiB. I also suspect that this is an upstream problem, so unless you're willing to communicate the problem to the conky devs directly, I doubt the arch devs can do much about it.


Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.

Offline

#3 2024-10-28 20:28:58

pakikje
Member
Registered: 2024-10-28
Posts: 3

Re: conky format (GiB TiB) problem? [SOLVED]

thnx, fs_bar_free has exact the same problem. I'll try to talk to the dev...

Offline

#4 2024-10-28 20:29:23

seth
Member
Registered: 2012-09-03
Posts: 60,779

Re: conky format (GiB TiB) problem? [SOLVED]

fs_bar takes parameters: "(height),(width) fs", you've not provided a filesystem, so I assume it's showing the root FS
Try

${fs_bar /mnt/exthd}

Offline

#5 2024-10-28 21:06:31

pakikje
Member
Registered: 2024-10-28
Posts: 3

Re: conky format (GiB TiB) problem? [SOLVED]

THAT'S IT !

Thnx Seth!

Offline

#6 2024-10-28 21:19:55

seth
Member
Registered: 2012-09-03
Posts: 60,779

Re: conky format (GiB TiB) problem? [SOLVED]

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB