README
System monitor graph Desklet
Desklet to show graphs for the level of activity in various system variables including: CPU, memory, and disks. The desklet supports multiple instances with different system variables with the idea of presenting them in a uniform way.
Four instances of the Desklet in action.
This project has been inspired from other Desklets such as Disk Space, CPU Load, Simple system monitor, Network usage monitor, Top, and the Rainmeter Win10 Widgets.
Features
Variables to monitor (v1.3 - April 2022)
System variable | Description |
---|---|
CPU | CPU usage in % |
RAM | Used RAM as % of total, and in GB |
Swap | Used Swap space as % of total, and in GB |
HDD | % of I/O activity, and free and total space in the filesystem (partition) indicated by the user |
GPU Usage | GPU usage in % |
GPU Memory | GPU memory usage in % |
Each variable is calculated every Refresh interval
seconds (Min. 1 s, Max. 60 s.), and the graph shows the last Duration of the graph
period (Min. 30 s, Max. 60 min).
Customizable visual elements
Settings for one instance of the system monitor graph Desklet.
Screenshots
The Desklet is fully customizable.
A simple screenshot.
TODO
- [ ] Add other variables such as network, CPU and GPU temperatures, battery levels for PC and peripherals.
Resources
This is my first Desklet and the first time using JavaScript. Below, some resources that I used for the development of this Desklet.
- cinnamon-spices-desklets
- JavaScript Tutorial
- CJS: JavaScript bindings for Cinnamon
- CJS the importer
- Applet, desklet and extension settings reference and here
- GJS: JavaScript Bindings for GNOME and here
- GJS examples
- Clutter API
- Computing CPU usage
- Launching sequential processes from desklet
- On Cinnamon.get_file_contents_utf8_sync()
- Default
desklet.js
in Cinnamon - Manual alpha blending
- Cairo documentation
Log In To Comment!
35 Comments