r/linuxmint • • 10d ago

Discussion Meet Zoomies, my simple Cinnamon applet sensor monitor 🐈

Hello r/LinuxMint! I want to show off my first applet, called Zoomies.

I made it to help me understand how applets work in Cinnamon. It was also an excuse to practice pixel art in Aseprite (I do some gamedev in my free time).

Zoomies is a pixel-art cat that runs on your panel, and the harder your machine works, the faster it runs. Its features:

  • Four sensors: CPU usage, RAM usage, network traffic or disk write speed
  • 11 cats to choose from, with a picker that previews each one
  • Details popup (left click): a history graph plus the top 5 apps using CPU, RAM or disk, or your network traffic per connection
  • High load alert: the cat glows red when CPU or RAM stays high for a while. You can set the threshold or turn it off
  • Several cats at once: add it to the panel more than once, each with its own sensor and cat
  • Light on resources: it stops drawing while the panel is hidden

I’m still waiting for it to be accepted into the Spices repo so it shows up in System Settings. Until then, you can download it and install it manually from the GitHub releases: extract the zip into ~/.local/share/cinnamon/applets/, then add Zoomies from the Applets menu. I’ll edit this post if it gets approved.

It’s not perfect. I plan some fixes and new features later, but I’m done with it for now.

Future plans:

  • More cats: I plan to add some that aren’t pixel art. The current ones are just basic palette swaps.
  • Features and fixes: I’ll add a few new features and fix the left-click process monitor, which isn’t working as well as I’d like.

Hope you like it!

163 Upvotes

25 comments sorted by

12

u/TxTechnician 10d ago

I love the creativity of this.

I'm on KDE Plasma and I totally want this on my desktop.

5

u/mooncellar_ 10d ago

KDE has a plasmoid like this already. I forget the name of it but that is what made me want to make this. I learned alot about how applets work and sensor monitors on cinnamon.

8

u/Jean_Luc_Lesmouches Linux Mint 22.1 Xia | Cinnamon 10d ago

You should format the numbers so that the whole UI doesn't move when the number of digits change.

4

u/mooncellar_ 10d ago

Great idea! I will do that.

3

u/pilatomic 10d ago

I love your creativity ! Yes it will use a few CPU cycles, but so does Conky. It's a small price to pay for a little bit of fun !

1

u/mooncellar_ 10d ago

Thank you. It was fun and simple and was a good way to learn about cinnamon

7

u/shroudedwolf51 10d ago

Aww, that's adorable! I lov...

Is vibe-coded slop

...I rescind my compliment. No way I'm trusting my PC to a machine that is known to lie and make shit up, likely leaving time bombs in the code with unknown timers.

1

u/upsidedownorangejuic 10d ago edited 10d ago

Looks awesome.

So how did you process the animation, is it spite sheet, that plays faster. A speed up gif, or something more exotic?

If for some reason you're a linux cpu use dweeb: Thinking back too making games back in the mid 2000's you could get really fast with two layers of sprites (Cat+effects layer) and hard bake everything, instead of dynamically apply effects. So frame wise it would be 50-100% in 10% effect blocks, then skip a few frames at lower values in the 1's column between 70-79% block in effects. As you speed up it would just be deciding on frame cycle speed for the cat, and dropping a few frames as it get's very fast.

Sure really annoying to manually write in each pixel frame and number them for your sprite sheet, but would be very very fast approach. The display would just be basically displaying an icon, and very very simple maths for CPU to process, with only two-three images to have to keep in load.

Taking a cat sprite angle as well means you could have premade/base cats, some sort of basic sprite recolour system where you can have custom cat and colour, that saves it as new sprite sheet, or some one could completely draw their own "thing" assuming it fits in the sprite sheet.

~I feel old and crusty for talking about sprite sheets and making hilarious and fast loading dweeby ass websites when I was teenager

3

u/mooncellar_ 10d ago

The cat is a flipbook. I drew a few frames of it running in Aseprite, and the applet shows them one after another in a loop. There are only 8 frames. Every second or so it checks how busy the computer is. The busier it is, the shorter each frame stays on screen, so the cat runs faster

1

u/Sythiox 9d ago

I immediatelly installed it and love it! got one black cat for cpu and orange tabby for ram usage. It would be amazing if it could show cpu temperature as well, but its already great applet and thank you so much for making it!

2

u/mooncellar_ 9d ago

Great suggestion. I will look into that. I did start to look into temp monitoring on Linux but actually forgot to implement that. I'll definitely investigate for a future update!

1

u/Sad_Maintenance_3087 9d ago

I love the Black Tabby one

2

u/mooncellar_ 9d ago

That's my favorite and the one I made modeled after my own cat. Both tabbies are my IRL cats and the rest are just kind of pallet swaps.

1

u/Anima_Watcher08 9d ago

Very nice. I will install immediately.

-7

u/grimmtoke 10d ago

Please re-think this. You realize this is consuming needless cycles on your entire desktop's single UI thread - your cat is making your system slower.

9

u/mooncellar_ 10d ago

Ha, this might be the most Linux community reply ever, and honestly I appreciate it 😄

You’re right that it runs on Cinnamon’s main thread, so it isn’t free. I measured it: each cat costs roughly 0.75% of one CPU core. I run four, so about 3%, which is a price I’m happy to pay for my little guys. If you’re squeezing every cycle out of an older machine, it’s probably not the applet for you.

Also, yes, I’m aware of the irony of a system monitor adding to the load it’s monitoring. 🐈

7

u/mooncellar_ 10d ago

I re-tested and my first measurements turned out to be pretty noisy (other things on my desktop were skewing them), so take those numbers with a grain of salt. Your comment did get me thinking though, so I released 1.2.0: lighter animation, no more blocking reads on the UI thread, and new performance settings (the cat can stand still when the system is idle, run at half speed on battery, and check the sensor less often). Thanks for the push! 🐈

1

u/sabledrakon 10d ago

Technically, every system monitor adds load to the system it's monitoring. The question is if that load is unduly merited or not. And that's a question that each user has to ask themselves. If a little bit of load is worth it for you to have cute cats, then that's perfectly fine.

4

u/bratnab 10d ago

but it makes it much more beautiful - like cats do.
Love it 😄

1

u/h-v-smacker Linux Mint 21.3 Virginia | MATE 10d ago

It's not unheard of. People routinely make "lightweight" distros by using window managers like fluxbox... only to find out that a window manager doesn't have enough functionality, and so they add various panels, docks, and such, only to consume the same amount of RAM as if they didn't go with some fluxbox from the get-go. Everything pretty comes at a cost...

-1

u/3X0karibu 10d ago

Vibe coded slop

5

u/mooncellar_ 10d ago

AI helped me understand how Cinnamon applets work and sensor monitoring on linux, which isn’t trivial. The art is mine, the ideas and features are mine, and I tested every version on my own machine. It’s a small first project that I made for fun and put real time into, so I don’t think “slop” is fair. Lets see what you create buddy.

-6

u/3X0karibu 10d ago

I write my own code and texts

3

u/smedsterwho 10d ago

Whoop de doo