Skip to content

system-monitor-graph@rcassani: network monitoring adjustments - #1531

Merged
rcalixte merged 7 commits into
linuxmint:masterfrom
schorschii:system-monitor-adjustments
Aug 2, 2025
Merged

system-monitor-graph@rcassani: network monitoring adjustments#1531
rcalixte merged 7 commits into
linuxmint:masterfrom
schorschii:system-monitor-adjustments

Conversation

@schorschii

Copy link
Copy Markdown
Contributor
  • I think it makes more sense to display network speed as bits/sec rather than bytes/sec, so I added an option for that and made it the default.
  • The up/download speed sometimes overlaps, depending on the amount of chars of the current network speed. That's why, I moved this info into the smaller, right-aligned text3 label.
  • Furthermore, I fixed some German translations.

What do you think @rcassani ?

@rcassani

rcassani commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

I think it makes more sense to display network speed as bits/sec rather than bytes/sec, so I added an option for that and made it the default.

That's a nice feature.
Just do not make the default. Similar as it is done within the GNOME System monitor, Bytes/s are default, but user can turn on the option to have bits/s. Also, it should play nicely with the prefixes (binary and decimal) to have kilobits and kibibits.

The up/download speed sometimes overlaps, depending on the amount of chars of the current network speed. That's why, I moved this info into the smaller, right-aligned text3 label.

Is this overlapping related to the change of units?
In the PR that introduced the network option, the size of the up/down text was discussed:
#1511 (review)

Furthermore, I fixed some German translations.
Really appreciated 🙏

EDIT: There is no need for bits with binary prefix.

@schorschii

Copy link
Copy Markdown
Contributor Author

OK, I changed the order so that the new option is not default.

Is this overlapping related to the change of units?

No, I noticed the overlapping issue before my change. Sorry for mixing this up in one PR.

@rcassani rcassani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good!
One minor change is requested.


I'm curious about 7a31cf0, is there a list of fields for the metadata.json?

"Decimal prefix (1 KB = 1000 bytes)" : 1
"Bytes - Binary prefix or IEC (1 KiB = 1024 bytes)" : 0,
"Bytes - Decimal prefix (1 KB = 1000 bytes)" : 1,
"Bits (1 Kb = 1000 bit)" : 2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For sake of coherency, it should be:
"Bits - Decimal prefix (1 Kb = 1000 bits)"

@rcassani

rcassani commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

After some tests, I agree the small text looks better.
FYI @FSSCoding

No, I noticed the overlapping issue before my change. Sorry for mixing this up in one PR.

There is no problem, several improvements can the in the same PR.

@schorschii

Copy link
Copy Markdown
Contributor Author

One minor change is requested.

OK, done.

I'm curious about 7a31cf0, is there a list of fields for the metadata.json?

The "last-edited" field seems to be automatically added by Cinnamon when downloading the desklet. It is not allowed to be in the Git repo which is checked by this script. I accidentally added it to my first commit because after testing, I copied the entire ~/.local/share/cinnamon/desklets/system-monitor-graph@rcassani dir into my forked branch.

@rcassani

rcassani commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

@schorschii, thanks for the info about metadata.json

About the change in 9f5b323, it should be bits instead of bit

@rcassani rcassani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schorschii, thanks!
@rcalixte, this is ready to be merged!

@rcalixte
rcalixte merged commit 562d7e2 into linuxmint:master Aug 2, 2025
1 check passed
@FSSCoding

Copy link
Copy Markdown
Contributor

improvements

Thanks for the heads up I appreciate it. 😄
I’m not at all precious about any of the sizes or rate types. I’m just very happy that people are using it!
Great work 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants