Giter Site home page Giter Site logo

hardware-monitor-xfce's Introduction

Hardware Monitor - shell scripts - XFCE4

"Plugins" to monitor the hardware in your system.

widget_toolbar.png

There are 4 widgets in total and each has a panel that appears after hovering:

  • CPU
  • GPU
  • Memory
  • Fans

1. Widgets

Panel view:

ย widget_toolbar.png

On hover:

widget_toolbar.png widget_toolbar.png widget_toolbar.png widget_toolbar.png

2. How to use

To get started you need the XFCE panel xfce4-panel and the Generic Monitor plugin xfce4-genmon-plugin. Additionally, you will need lm-sensors for the CPU temperature and the fans. To make use of the GPU monitor you need nvidia-smi which is installed with the CUDA driver for NVIDIA graphics card. Unfortunately, this script won't work on AMD GPUs, however by taking a look at how I have the NVIDIA tracker set up should be pretty easy to configure of AMD as well.

To install, clone this repository git clone https://github.com/kvidelov/hardware-monitor-xfce.git. Next, for each plugin you want to use, you need to copy the absolute path of that shell script (hardware-monitor-xfce\widgets\) and add to a horizontal Generic Monitor bash /absolute/path/to/widget.sh. Then you can adjust font size, font and the period of how often you want the widget to get refreshed, personally I use 1-2 seconds for all widgets with Waree Bold 10.

3. Adjustments

Check lm-sensors and see how your components are labeled, it is possible that you have different chipset and thus different labels. Usually, the fans are just labeled as fan x and fan 2 is the CPU Cooler, if you have more fans than me feel free to add those. For the CPU temperature, I use the SMBUSMASTER temperature because it provides the most reliable values directly from the processor.

Lastly, as long as you have nvidia-smi the GPU tracker should work properly without the need for any adjustments.

I decided to make the "plugins" after getting inspired by seeing this repository xfce4-genmon-scripts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.