LeeVD / plasma-applet-net-bandwidth-monitor

Network bandwidth monitor for plasma using dbus
GNU General Public License v3.0
25 stars 4 forks source link

Feature request: option for fixed unit prefix #23

Open GithubUser5462 opened 1 year ago

GithubUser5462 commented 1 year ago

Thank you for this great applet. I like how configurable it is already, but i would like to request an additional option.

Currently the unit prefix (M, K) is determined automatically. As a result the number of digits are often fluctuating. It can be distracting and it is hard to tell the current speed at a glance.

I would like to be able to set the unit prefix to be either automatic, fixed M or fixed K .

LeeVD commented 1 year ago

Hi @GithubUser5462 V0.4 released yesterday, might be able to give you kind of what youre trying to do. Deselecting the decimal place filter and selecting 4 for the Rounded whole number should keep the speed within the K section longer before flipping to M should it need to.
Forcing the the bits to keep to a Kb display, for example, will have some downsides, you wont see smaller bandwidth amounts and your large bandwidths will swamp the display with long numbers. I put this together to help me work out the code for the new features. When you select 4 for Rounded numbers, anything over that will then flip to the next scale. You can also see the length of the result you might be dealing with. image Let me know if what i suggested works for you?

Ta.

tchwpkgorg commented 1 year ago

Is there a way to remove only B (bytes)?

For my desktop usage, it's constantly switching between "B" and "K", which is distracting. I.e. it's switching from 1.6 K to 600 B, while it would be more pleasant to the eye if it was showing 1.6 K, 0.6 K and so on.

I've tried unchecking "Bytes" from "Decimal place filter", but it seems it's for something else.

GithubUser5462 commented 1 year ago

I've tried playing with the settings but i could achieve the behaviour that i wanted.

TrafficMonitor for example, allows you to select to set a fixed unit and number of characters. I was hoping for something similar.

image

image

LeeVD commented 9 months ago

Is there a way to remove only B (bytes)?

For my desktop usage, it's constantly switching between "B" and "K", which is distracting. I.e. it's switching from 1.6 K to 600 B, while it would be more pleasant to the eye if it was showing 1.6 K, 0.6 K and so on.

I've tried unchecking "Bytes" from "Decimal place filter", but it seems it's for something else.

I'll see if i can add that option in. Keep an eye out for an update.

LeeVD commented 9 months ago

I've tried playing with the settings but i could achieve the behaviour that i wanted.

TrafficMonitor for example, allows you to select to set a fixed unit and number of characters. I was hoping for something similar.

image

image

That's a great windows taskbar sys/net speed monitor, i use it on all my windows systems. I'll see what i can do, it wont be comparable to that guys work but it should suffice. Keep an eye out for an update.