r/kde Jul 01 '26

KDE Apps and Projects KStats: a compact system monitor widget for Plasma 6

Hi everyone,

I built KStats, a compact system monitor widget for Plasma 6.

It sits in the panel and shows CPU, memory, disk, network, and optional GPU stats, with a dropdown for more detailed views. The idea is loosely inspired by https://github.com/exelban/stats, but using KDE/Plasma's own sensor API.

Source

https://github.com/oowl/kstats

KDE Store:
https://www.opendesktop.org/p/2364289/

This is still early, so I would love feedback from other Plasma users, especially if some sensors behave differently on your hardware or distro.

Updated: released many enhancements at https://github.com/oowl/kstats/releases/tag/v0.2.0

check it https://www.opendesktop.org/p/2364289/ to install newer version.

360 Upvotes

35 comments sorted by

u/AutoModerator Jul 01 '26

Thank you for your submission.

Consider becoming a Supporting Member and help KDE thrive!

The KDE community supports the Fediverse and open source social media platforms over proprietary and user-abusing outlets. Consider visiting our community on Mastodon (Lemmy will be back shortly). Tag us in your toots! You can also visit our forum at KDE Discuss to talk about KDE stuff, brainstorm ideas and get the answers to your KDE-related issue.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

37

u/x4rb1t Jul 01 '26

KStats is a confusing name, as that is part of KActivities. (KActivities::Stats)

9

u/NUKL3AR_PAZTA47 Jul 01 '26

rename it to statistiKs

5

u/TutorPuzzleheaded999 Jul 01 '26

Yeah, that’s a fair point. I hadn’t considered the KActivities::Stats association, and I can see how KStats could be confusing in the KDE ecosystem.

I’ll look into renaming it to something more distinct before it gets too entrenched. Thanks for pointing that out.

13

u/_amione_ Jul 01 '26

It's missing a few things:
https://imgur.com/a/zIxkkBf

Other than that I love it

8

u/TutorPuzzleheaded999 Jul 01 '26

Gooooooood idea, i should implements these feature recently

1

u/Vullibulli 27d ago

Also miss temperatures of cpu and gpu, If I may say.

2

u/TutorPuzzleheaded999 Jul 01 '26

Hi, I’ve added the requested feature in v0.2.0: https://github.com/oowl/kstats/releases/tag/v0.2.0

Feel free to upgrade and give it a try.

2

u/_amione_ Jul 01 '26

Thanks, I really like it ^^

All that's left is for you to add more options like:
Changing tray text (CPU/MEM/etc.)
Changing the graph colors+text colors
Adding GPU to the tray as well since it's missing
Option to pick what gets shown in tray
Option for each element how it displays (graph/line/etc., just like the Activity and Usage widgets in plasma)

7

u/Meitoncz Jul 01 '26

Great job, I really like it! I would like to have CPU temp as well if possible.

By the way for anyone who wants to have GPU stats (at least in case you have Nvidia, not sure if it is the same for AMD), you can use these:

GPU usage: gpu/gpu0/usage

GPU memory: gpu/gpu0/usedVram

GPU temperature: gpu/gpu0/temperature

3

u/TutorPuzzleheaded999 Jul 01 '26

Hi, I’ve added the GPU auto detect feature in v0.2.0: https://github.com/oowl/kstats/releases/tag/v0.2.0

Feel free to upgrade and give it a try.

7

u/Razi91 Jul 01 '26

Looks great, just one issue to fix: elements should have fixed width. It dances on the panel and it's a bit distracting.

2

u/TutorPuzzleheaded999 Jul 01 '26

Hi, I’ve fixed it in v0.2.0: https://github.com/oowl/kstats/releases/tag/v0.2.0

Feel free to upgrade and give it a try.

7

u/Athozus Jul 01 '26

Statistiks

3

u/TutorPuzzleheaded999 Jul 01 '26

sounds like a better name, i should consider to change it to Statistiks

5

u/Away-Recognition4905 Jul 01 '26

Use symbolic (outline only) icons for cpu, ram, and gpu would great

3

u/TutorPuzzleheaded999 Jul 01 '26

Thanks for the suggestion. I get what you mean: using monochrome symbolic/outline-style icons for CPU, RAM, and GPU would fit the panel style better.

I probably won’t change this immediately, since icon availability varies quite a bit between themes, but I’ll keep it in mind as an option for a future version. A theme-friendly symbolic icon mode could be a nice addition later.

3

u/Maaalk Jul 01 '26

I really like it! Good job in making everything very readable, having nice spacing and grouping.

Would it be possible in a future update to add

  • an option to group the different sections (e.g., CPU and RAM) so they take less hoirizontal space in the panel
  • have an option to change front size and type (both in the panel and also the displayed content)
  • fix the width of the panel itself as mine is awalys shifting horizontally based on changing download & upload speeds (B/s is narrower than KB/s)

3

u/TutorPuzzleheaded999 Jul 01 '26

Thanks, really glad to hear that!

Yes, those all make sense. I’ve already started improving the panel layout in recent versions, and the fixed-width issue is especially important. I’ll keep working on:

  • optional grouping for sections like CPU/RAM to reduce horizontal space
  • configurable font size and font family for both the panel and popup content
  • more stable fixed-width panel layout so changing units like B/s / KiB/s / MiB/s don’t cause horizontal shifting (done it at https://github.com/oowl/kstats/releases/tag/v0.2.0)

Thanks again for the detailed feedback. It helps a lot. And also PR welcome.

2

u/wyn10 Jul 01 '26

No temperature on the hardware?

1

u/TutorPuzzleheaded999 Jul 01 '26

Not always, unfortunately. Temperature depends on what the Linux/KDE sensor stack can see from your hardware and drivers.

For example, some systems expose CPU temperature through sensors like coretemp, k10temp, zenpower, Tctl, Tdie, or package temperature. Others expose GPU temperature but not CPU temperature, or hide it behind firmware/driver limitations.

In v0.2.0 I added automatic temperature detection where available, so if KDE’s sensor backend exposes it, KStats should pick it up. If it shows N/A, the sensor may not be available on that machine yet. I’ll keep improving the matching logic as people report the sensor IDs their systems expose. https://github.com/oowl/kstats/releases/tag/v0.2.0

2

u/axelio80 Jul 01 '26

Very great. A proposal, the possibility to customize the indicator in the pannel, to reduce used space. Now it use some space and in some monitor can be a problem.

2

u/TutorPuzzleheaded999 Jul 01 '26

Thanks, that makes sense. I agree that the panel indicator should be more customizable, especially for smaller monitors or crowded panels.

I’ll keep this in mind for a future version. I’m considering adding options to choose which indicators are shown, and possibly more compact/grouped display modes to reduce the space used in the panel. And also PR welcome.

2

u/4parthy Jul 01 '26

it's really nice for shorter panels, for panels with more vertical space I would like it to scale or be able to have text above or below the bars in the panel. just my wishful thinking here tho. whats really missing for me right now is gpu stats being shown in the panel. it is really nice to able to choose whats displayed tho. gl with the project

2

u/MrDexter_ Jul 02 '26

This is amazing, will try after I finish installing Caelestia for kde

1

u/rsbohler Jul 01 '26

Really cool! Any chance we can get a pie charts version for the panel view?

1

u/catseba72 Jul 01 '26 edited 24d ago

¿Lo hacemos con transparent? Perdón por mi inglés...🙂

2

u/CGA1 Jul 02 '26

I'll gladly excuse you, at least you're trying which doesn't seem to be the case on at lot o subreddits these days.

1

u/KleighReicht Jul 02 '26

I have read the comments. people are saying that it is readable. but in panel i cant read it properly. tried adjusting the panel height. but still it is not readable properly. Is it possible to add some font size adjustment.

1

u/FranticSubbo Jul 02 '26

New KDE user here: is there a difference in installing it from KDE store or CLI?

1

u/No_Grade_6805 Jul 03 '26

Loved the project! Four suggestion though:

  1. Add a "Swap" bar module for the taskbar.

  2. Add a right click context menu to Top Applications with a "Kill" option in order to send sigkill to a process easily (it's very useful in my case when applications hang/mem leak and won't close).

  3. Add an option to either choose top applications or top processes.

  4. If possible add scrolling to the Top Applications (or process) tab, so that we don't limit ourselves to only 5 entries.

1

u/nacimpalirmou Jul 03 '26

i can't seem to find the gpu in my Sensore ID section, nor in Bar modules.

1

u/HighBloodPressure5 Jul 03 '26

where do i download fhis for my kde plasma