-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #832 from rcalixte/ssm_config
simple-system-monitor@ariel: Add configurable options for user customization
- Loading branch information
Showing
22 changed files
with
3,062 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
### 1.2.0 | ||
* Add options to minimize the need for manual file updates: | ||
* Title/value alignment | ||
* Temperature units | ||
* Font size | ||
* Font color | ||
* Font family | ||
* Desklet fixed width | ||
* Background transparency/color | ||
* Custom path(s) to CPU/GPU sensor files | ||
* Display GPU | ||
|
||
### 1.1.0 | ||
* Add GPU Temperature | ||
* Adjust layout | ||
* Titles: from right to left | ||
* Values: from left to right | ||
* Adjust value format to avoid wobbling | ||
* "CPU" and "Memory" are now fixed to 2 decimal point digits | ||
* "Download" and "Upload" are now fixed to 1 decimal point 1 digit if the unit is "MB" | ||
|
||
### 1.0.0 | ||
* Initial release | ||
* Institute changelog - currently only in desklet.js | ||
* Changes for Cinnamon 4.0 and higher to avoid segfaults when old Network Manager Library is no longer available by using multiversion with folder 4.0 | ||
* Comment out or delete all references to NetworkManager | ||
* Replace calls to NetworkManager with equivalent calls to NM | ||
* Change logError messages to not reference NetworkManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,23 @@ | ||
## Simple system monitor | ||
# Simple System Monitor | ||
Shows some system status values. | ||
- CPU usage | ||
- Memory usage | ||
- Network speed(Download, Upload) | ||
- Temperature(CPU, GPU) see Tips | ||
|
||
## Update history | ||
1.1.0 | ||
- Add GPU Temperature. | ||
- Adjust layout. (Labels: right to left, Values: left to right) | ||
- Adjust value format to avoid wobbling. ("CPU" "Memory" fixed decimal point to 2 digits) | ||
- Adjust value format to avoid wobbling. ("Download" "Upload" fixed decimal point to 1 digits in unit is "MB") | ||
|
||
1.0.0 | ||
- Initial Release. | ||
|
||
## Tips | ||
**"Temperature" shows incorrect value** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/metadata.json` | ||
Specify a appropriate file path to `"thermal-file":` | ||
|
||
Example: Ryzen CPU is `"/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input"` | ||
|
||
**"GPU" shows incorrect value** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/metadata.json` | ||
Specify a appropriate file path to `"thermal-file-gpu":` | ||
|
||
Example: Radeon GPU is `"/sys/devices/pci0000:00/0000:00:03.1/0000:06:00.0/hwmon/hwmon1/temp1_input"` | ||
|
||
**Change font color** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/4.0/stylesheet.css` | ||
Add `"color:"` to `".mainContainer"` | ||
|
||
Example: `color: rgba(255, 144, 0, 1.0);` | ||
|
||
**Change font size** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/4.0/stylesheet.css` | ||
Add `"font-size:"` to `".mainContainer"` | ||
|
||
Example: `font-size: 1.2em;` | ||
|
||
**Change background color** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/4.0/stylesheet.css` | ||
Add `"background-color:"` to `".mainContainer"` | ||
|
||
Example: `background-color: rgba(90, 90, 90, 1.0);` | ||
|
||
**Change background color to transparent** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/metadata.json` | ||
Set `"prevent-decorations"` to `true` | ||
|
||
Example: `"prevent-decorations": true,` | ||
|
||
**Back to previous layout** | ||
|
||
Edit `.local/share/cinnamon/desklets/simple-system-monitor@ariel/4.0/stylesheet.css` | ||
Set `"text-align: right"` to `".title"` | ||
Set `"text-align: left"` to `".value"` | ||
* CPU usage | ||
* Memory usage | ||
* Network utilization (Download, Upload) | ||
* Temperature (CPU, GPU) | ||
|
||
## Dependencies | ||
This extension requires [libgtop](https://developer.gnome.org/libgtop/stable) in order to function. | ||
|
||
## Instructions | ||
To install dependencies: | ||
* Debian GNU/Linux, Ubuntu, and derivatives: | ||
`sudo apt install gir1.2-gtop-2.0 libgtop2-dev` | ||
* Fedora and derivatives: | ||
`sudo dnf install libgtop2 libgtop2-devel` | ||
* Arch and derivatives: | ||
`sudo pacman -S libgtop` | ||
|
||
You will have to **restart the shell** (`Alt + F2` → `r`) **after installing** the dependencies. | ||
|
||
### For customizing the font, if the new font selection is invalid, the field will be reset to empty once closed. | ||
### Valid fonts will update the desklet immediately. |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.