indicator-sysmonitor icon indicating copy to clipboard operation
indicator-sysmonitor copied to clipboard

Ubuntu application indicator to show various system parameters

Quick setup, suited to the desktop interfaces of at least GNOME, MATE and Budgie


if using ayatana based appindicators:

sudo apt install python3-psutil gir1.2-ayatanaappindicator3-0.1

if using ubuntu based appindicators:
sudo apt install python3-psutil gir1.2-appindicator3-0.1

Then:

git clone https://github.com/fossfreedom/indicator-sysmonitor.git
cd indicator-sysmonitor
sudo make install
cd ..
rm -rf indicator-sysmonitor
nohup indicator-sysmonitor &

Output configurations can be accessed by clicking on the Indicator-Sysmonitor applet, selecting Preferences, then Advanced and then entering text into the "Customize output:" text entry field. Some suggested output configurations are as follows:

standard setup

║{net}	║{publiccountryiso}║cpu:{cpu}/{cputemp}║m/fs:{mem}/{fs///}║

setup with Nvidia GPU

║{net}	║country:{publiccountryiso}║cpu:{cpu}/{cputemp}║gpu:{nvgpu}/{nvgputemp}║m/fs:{mem}/{fs///}║

indicator-sysmonitor image

* Use following string to use custom preview that is shown above. (Proprietary Nvidia driver needed, must be running):

CPU {cpu}  {cputemp}   |  GPU {nvgpu}  {nvgputemp}  |  MEM {mem}  |  SWAP {swap}  |  Net Speed Compact {netcomp}  |  Total Net Speed {totalnet}

Indicator-SysMonitor - v0.9.0

An Application Indicator showing cpu temperature, memory, network speed, cpu usage, public IP address and internet connection status .

Works with Unity, Xubuntu, Gnome-Shell + app-indicator extension together with any other desktop environments that support AppIndicators.

Also works with the Budgie-Desktop

Offers the possibility to run your own command and display its output.


Custom scripts

Create your own scripts (for example in bash). Give the script execute permission (chmod +x scriptname)

A script must output one line of text - e.g. using "echo" in bash

The indicator can change the icon being displayed by recognising the output of a sensor "USE_ICON:full_path_to_.svg"

Set the display order of the indicator

To force the indicator to appear on the left-side of all indicators you must use a override file as described here:

  • http://askubuntu.com/questions/26114/is-it-possible-to-change-the-order-of-icons-in-the-indicator-applet

Installation - Budgie-Desktop:

On budgie-desktop based installation - manual installation

sudo apt-get install python3-psutil curl git
git clone https://github.com/fossfreedom/indicator-sysmonitor.git
cd indicator-sysmonitor
sudo make installbudgie
budgie-panel --replace &

Then use Raven to add the "Panel Sys Monitor" applet

Installation - App Indicator based desktops:

On Ubuntu and derivatives - manual installation

sudo apt-get install python3-psutil curl git gir1.2-appindicator3-0.1
git clone https://github.com/fossfreedom/indicator-sysmonitor.git
cd indicator-sysmonitor
sudo make install
nohup indicator-sysmonitor &

To remove:

cd indicator-sysmonitor
sudo make uninstall
    

To install the AppIndicator via PPA:

sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
sudo apt-get install indicator-sysmonitor

Search in the dash for "indicator-sysmonitor" to run

To install the Budgie Applet via PPA:

open budgie-welcome - Install Software - Budgie Applets

Changelog:

  • v0.9.0 - NetSpeed Compact and Total NetSpeed, NVidia GPU sensors
  • v0.8.3 - Rework fetch thread, README updates
  • v0.8.2 - fix budgie-desktop crash and release debian package
  • v0.8.1 - development - support budgie-desktop
  • v0.8.0 - development - new sensor - cputemp, ability to use and change icons via a custom script
  • v0.7.1 - bug fix to allow non-ubuntu kernels to be used
  • v0.7.0 - new sensors - publicip and upordown.
  • v0.6.3 - fixed the bug when display multiple CPU cores it always display the later ones as 0%
  • v0.6.2 - bug fix to stop crash for custom sensors
  • v0.6.1 - fix the debian packaging
  • v0.6 - stable release - reworked to be easier to maintain
  • v0.5 - GTK3 & Python3 based including bug-fix to display errors on using Test button together with fixing crash reports when incorrect sensor values used
  • v0.4.6 - bug fixes for battery indicator and for spurious overwrite when adding new sensor
  • v0.4.5 - removed indicator icon since not needed
  • v0.4.4 - fix dependencies and corrected shown indicator icon
  • v0.4.3 - fork from original author

Credits:

  • 100 prateekmedia
  • 87 cosmicog
  • 24 & 25 SteveGuo [email protected] https://github.com/SteveGuo
  • 19 & 37 CPU & meminfo bug fixes Jesse Johnson https://github.com/holocronweaver

Original Author: Alex Eftimie [email protected] https://launchpad.net/indicator-sysmonitor

Current fork maintainer: fossfreedom [email protected]