System Monitor Dashboard

Plasma 5 Monitoring

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/plasma-applet-sysmonitordash

1
Score 50%
Description:

You must install lm-sensors to add temp/fan sensors in the config.

sudo apt install lm-sensors
sudo sensors-detect

* Panel "icon" is an animated version of the KSysGuard icon that shows your current CPU usage.
* Disk Drives are parsed from the command `lsblk --output-all --json`.
* Uses the fullscreen popup window from the Application Dashboard widget.
* Can quickly setup lm_sensors temp graphs and fan graphs in the right most column.

peerwal

25 days ago

Hi,
This is a very nicely designed plasmoid. Congratulations. However, after installing it on my Kubuntu 18.10 system it does not produce any time-related graphs. Is there anything I can do?

Report

C

Zren

25 days ago

Not even the CPU/RAM graphs? Does the fullscreen overlay appear? Do icons appear? Does it draw the black rectangles where the graphs should appear?

Can you show a screenshot?

* Launch Spectacle
* Set delay to 5 seconds
* Expand the widget
* Wait for screenshot to capture the screen
* Close the widget
* Expore > Share > Imgur
* Paste the link here

Report

peerwal

24 days ago

I uploaded the screenshot to Imgur. You find it at https://i.imgur.com/ThL8KWh.jpg
As xou can see, all the real-time numbers and icons are displayed but none of the graphs.

Report

C

Zren

24 days ago

Weird. Does the standard KDE CPU Monitor widgets show graphs?
It's possible that the way I generate PlotData instances may be the reason why it's not working. I'll try downloading kubuntu 18.10 live cd and testing it.

Report

peerwal

24 days ago

Thanks for you reply. Yes, I do see real time CPU graphs in other widgets.

Report

C

Zren

24 days ago

So I tried the Kubuntu 18.10 LiveCD in VirtualBox, and the CPU/RAM graphs draw fine (the others aren't active so that's fine). https://i.imgur.com/QzlWVUt.png

Do you see any errors when running:
QT_LOGGING_RULES="qml.debug=true" plasmawindowed com.github.zren.sysmonitordash

Report

peerwal

24 days ago

That's really strange.
If I enter the command exactly the way you typed it I get an error message:

peter@T3500: ~> QT_LOGGING_RULES="qml.debug=true" plasmawindowed com.github.zren.sysmonitordash
fish: Unsupported use of '='. To run 'plasmawindowed' with a modified environment, please use 'env QT_LOGGING_RULES=qml.debug=true plasmawindowed…'

So I entered

peter@T3500: ~> env QT_LOGGING_RULES=qml.debug=true plasmawindowed com.github.zren.sysmonitordash
org.kde.plasmaquick: Applet preload policy set to 1
org.kde.plasma: requesting config for "System Monitor Dashboard" without a containment!
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
qml: 0
trying to show an empty dialog
trying to show an empty dialog

This opened a dialog box. Clicking into that dialog box opens the widget but again without displaying any graphs.

Report

peerwal

22 days ago

The output I get is:

https://i.imgur.com/1THbQsa.png

Report

C

Zren

24 days ago

All that stuff is "standard". I get it too. https://i.imgur.com/NfypQXV.png

I'm stumped. To go forward, I'd have to upload a new version with a ton of log statements to try and debug what goes wrong. That'd involve a lot of back and forth though for all users though.

My last attempt here before I sorta give up is:
Open ~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui/SensorGraph.qml

Search for change the onSensorsChanged and add a few console.log() statements like in this gist.
https://gist.github.com/Zren/35ab84b6e12bd5421a1bc8376246761c

Should look like: https://i.imgur.com/bepi3UO.png

Report

peerwal

9 days ago

Found the reason for the graphs not being displayed on my system. It's the Nvidia 340.107 graphics driver I am using. as soon as I switch to the Nouveau driver all the graphs work just fine. Unfortuntely, I cant use the Nouveau driver as it does not work well with Plasma.

Report

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv2 or later
version
1
updated Nov 14 2018
added Nov 14 2018
downloads today
0
page views today 51
System Tags gplv2-later