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

2
Score 63.3%
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.
Last changelog:

v3 - August 17 2019 3 days ago

* Add a new config tab for tweaking the update interval (Issue #6)
* Ignore tun0 and tap0 network interfaces (Issue #9)
* Add ScrollView so we can show extra sensors. Each column scrolls independantly, but alway show cpu/ram/swap. (Issue #10)
* If a disk has a label, show it in brackets (Issue #11)
* If sensor units is in Volts, round to 2 decimal places (Issue #12)
* Add ability to toggle pausing sensor updates using middle click.
* Change the current default color for custom sensors from #000 to #888
* Show sensor name by default for custom sensors.
* Show a graph for each cpu core when more than 4 cores.
* Disconnect sensors in PartitionUsageBar when they're removed.
* Add a cpu based QML Canvas implementation instead of using KDE's hardware accelerated graphs which don't always work in a dashboard window for some reason.
* Make sure the hovered line is aligned to a data point.
* Show applet version in sensors page.
* Implement a network toggle config page (Issue #8)
* Add a text blurb and config button for new users (Issue #16)

DanielRios549

3 days ago

Man, this can be the best system monitor ever, but it has some bugs, in my system, it show 3 network adapter when only one is the one I am using in fact, and it does not fit well in my 1366x768 monitor, it needs a scroll on the columns for this

Report

ankular

5 months ago

9 +Definitely of interest!

Report

ankular

5 months ago

I've installed and use System Monitor Dashboard for a few days. I've been testing it's functionality and usefulness on several of my systems. While I like and think well of it, I've been assembling a list of nits, suggestions and wants. How would you like me to push these to you? I'm reluctant to enter a single large long post with multiple subjects.

Report

C

Zren

5 months ago

If you're willing to create a GitHub account, you can report each suggestion as a new issue.

https://github.com/Zren/plasma-applet-sysmonitordash
https://github.com/Zren/plasma-applet-sysmonitordash/issues/new

If not, just make the long comment here, and I'll create the individual issues on GitHub for you like I did for the peerwal's bug report.

https://github.com/Zren/plasma-applet-sysmonitordash/issues/1

Report

ankular

5 months ago

I couldn't find a way either here or in github to PM you. I'm reluctant to expose my own or other people's email address in a public forum. Is there a way to contact you privately?

Report

C

Zren

5 months ago

You could also send me a PM via the OpenDesktop forum which you're already registered for.

https://forum.opendesktop.org/u/Zren/summary

Report

C

Zren

5 months ago

My email can be found at the top of any git patch.

https://github.com/Zren/plasma-applet-sysmonitordash/commit/e9064ab3d76c6152a6fd77cdd1a90cec06d8afba.patch

Report

ankular

5 months ago

No problems. I'll post them on github for you. Look for posts from 'DefueBugs'.

Report

elderking1986

7 months ago

9 +

Report

elderking1986

7 months ago

Hi, for some reason I can't get this to work in Debian 9.6. This is what I get when I try to add the widget: https://i.imgur.com/lV8Y3b0.png

I checked for QtQuick Controls and I do have it installed. It's version is: 5.7.1~20161021-2

Thanks

Report

C

Zren

7 months ago

I'm using QtQuickControls2 in order to draw the tooltips. The other "text field" etc controls use the **QtQuickControls1** which is probably what you looked at.

https://doc.qt.io/qt-5.11/qml-qtquick-controls2-tooltip.html

Debian Stable does have Qt 5.7.1, so I assume it should work with the package installed. Search for "quickcontrols2" (not sure what the package name is).

After you install, either test with:
plasmawindowed com.github.zren.sysmonitordash

If it worked, then restart plasmashell by restarting or running:
killall plasmashell; kstart5 plasmashell

Interestingly enough, I just installed Qt 5.12 in Manjaro and notice a bug. Oops. I'll look into uploading a new version tomorrowish for people with Qt 5.12.

Report

elderking1986

7 months ago

I found the Qt Quick Controls 2 QML module and installed it but it still doesn't work. This is what I get when I try to add the wiget to the desktop: https://i.imgur.com/rguaSf6.png

I installed the Qt Quick Templates 2 QML module as well to no avail. I'm completly lost.

When I type in that command you gave me this is what I get: https://i.imgur.com/oHLGEwP.png

Only thing I can guess is that it's a bug in something in Debian Stable or Debian Stable doesn't have a program that this widget requires.

I'd love to get this working though if possible. This widget looks awesome and it actually shows the fan speeds.

Report

C

Zren

7 months ago

You definitely are. I forgot about "Kicker.DashboardWindow.backgroundColor". That used to be a hardcoded black color before it was added to the API. Just delete that backgroundColor line from the top of DashView.qml (that should be the only DashboardWindow).

Report

elderking1986

7 months ago

That got it working. Thank you.

Report

C

Zren

7 months ago

Okay, now we're getting somewhere. Now we just need to make the widget compatible with an older version of Plasma.

It seems that Debian Stable uses Plasma Frameworks 5.28, which is apparently before Plasma added the "IconItem.overlays" feature to the API so that you could draw another icon in the bottom right corner of the icon. I'll need you to modify the widget's code to remove all the lines of code where we assign the "overlays" or "iconOverlays".

First open the location of the widget's code:
~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui

Then search for all instances of "overlays" in that folder.
grep -inr overlays ~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui/*

Now that you know which text files it sets that property, so find and delete each line with "overlays" in it.

Run the command to test. If you see another error besides "overlays" appear, mention it here.
plasmawindowed com.github.zren.sysmonitordash

If this is a little too much for you, I could see about downloading a Debian Stable ISO... but that'd only work if it's a LiveCD.

Report

elderking1986

7 months ago

I did as you asked and deletled all lines with the word "overlays" in them.
Here's what I get now: https://i.imgur.com/Z55ViXC.png

I think I'm getting closer.

Report

elderking1986

7 months ago

It's not my sensors I dont think. I installed the Simple Monitor widget and that is working fine. I'd rather use this one though since it shows more information.

Report

peerwal

9 months 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

9 months 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

9 months 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

9 months 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

9 months ago

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

Report

C

Zren

9 months 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

8 months 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

C

Zren

9 months 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

v3 - August 17 2019 3 days ago

* Add a new config tab for tweaking the update interval (Issue #6)
* Ignore tun0 and tap0 network interfaces (Issue #9)
* Add ScrollView so we can show extra sensors. Each column scrolls independantly, but alway show cpu/ram/swap. (Issue #10)
* If a disk has a label, show it in brackets (Issue #11)
* If sensor units is in Volts, round to 2 decimal places (Issue #12)
* Add ability to toggle pausing sensor updates using middle click.
* Change the current default color for custom sensors from #000 to #888
* Show sensor name by default for custom sensors.
* Show a graph for each cpu core when more than 4 cores.
* Disconnect sensors in PartitionUsageBar when they're removed.
* Add a cpu based QML Canvas implementation instead of using KDE's hardware accelerated graphs which don't always work in a dashboard window for some reason.
* Make sure the hovered line is aligned to a data point.
* Show applet version in sensors page.
* Implement a network toggle config page (Issue #8)
* Add a text blurb and config button for new users (Issue #16)

v2 - January 28 2019 6 months ago

* Use multiple columns in the CPU legend to properly support >= 7 cpus. Displaying a max of 4 CPUs per column in the legend.
* Remove tooltip delay before appearing.
* Support opening the dashboard using a keyboard shortcut.
* Add Dutch translations by @Vistaus (Pull Request #2)
* Cleanup excess logging.

v1 - November 15 2018 6 months ago

* Display CPU/RAM usage over time.
* Display Ethernet/Wifi/Disk I/O over time.
* Display used storage for each Disk/Partition.
* Panel "icon" is an animated version of the KSysGuard icon that shows your current CPU usage.
* 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.

12345678910
2
product-maker ankular Mar 01 2019 9 excellent
+Definitely of interest!
product-maker elderking1986 Jan 03 2019 9 excellent
+
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv2 or later
version
3
updated Aug 17 2019
added Nov 14 2018
downloads 24h
46
page views 24h 66