This is an enhanced version of the Xfce4 system load plugin for Xfce4 panel, created from scratch.
Clone this repository:
git clone https://github.com/ttomf/xfce4-systemload-plugin-enhanced.gitInstall the following dependencies:
sudo apt install build-essential pkg-config libgtk-3-dev libxfce4panel-2.0-dev libnvidia-ml-devsudo pacman -S base-devel pkgconf gtk3 xfce4-panel cudasudo dnf install gcc make pkgconfig gtk3-devel xfce4-panel-devel nvidia-ml-devel(Note: nvidia-ml-devel is available in RPM Fusion.)
Also, the plugin attempts to open the resources application (a system monitor) when clicked. You may want to install it as well.
To build the plugin, run:
make buildTo install the plugin for the current user:
make installAfter installation, you may need to restart the Xfce panel or log out and log back in for the plugin to appear in the "Add New Items" dialog. You can restart the panel with:
xfce4-panel -r