Git Product home page Git Product logo

harlemsquirrel / gnome-shell-extension-sensory-perception Goto Github PK

View Code? Open in Web Editor NEW

This project forked from isdipesh/gnome-shell-extension-sensors

27.0 4.0 11.0 383 KB

Displays CPU/GPU/mobo/disk temperatures, voltages and fan speeds

Home Page: https://extensions.gnome.org/extension/1145/sensory-perception/

License: GNU General Public License v3.0

JavaScript 98.85% Shell 0.99% CSS 0.15%
hacktoberfest gnome-shell-extension

gnome-shell-extension-sensory-perception's Introduction

Sensory Perception

A GNOME Shell Extension

Warning

This extension is not longer maintained. Consider alternatives like https://github.com/corecoding/Vitals

Forked from https://github.com/xtranophilist/gnome-shell-extension-sensors

Requirements

This GNOME shell extension uses lm-sensors which must be installed.

# ArchLinux
sudo pacman -S lm_sensors

# Fedora
sudo dnf install lm_sensors

# Ubuntu
sudo apt install lm-sensors

Compatibility

GNOME version Earliest extension version
42 v18
41 v15
40 v14
3.36 v12
3.34 v11
3.32 v12

GNOME Shell < 3.32 require v7.

Installation

GNOME Extensions Website

  1. Visit https://extensions.gnome.org/extension/1145/sensory-perception/
  2. Click the switch to install and enable the extension
  3. Accept the prompt to install if not already installed

Manual

This is useful for developing and/or debugging.

As of GNOME 40, the extension system seems to reset the extension on it's own so symlinking can cause local repo to be clobbered.

Build and install on GNOME 40+

bin/build-dist.sh && gnome-extensions install --force dist/[email protected]

Then reload the shell (only works on XOrg) or reboot.

Symlinking (not recommended on GNOME 40+)

# Clone the repository
git clone https://github.com/HarlemSquirrel/gnome-shell-extension-sensory-perception.git
# Or download and unzip a release from https://github.com/HarlemSquirrel/gnome-shell-extension-sensory-perception/tags

# OPTIONAL: check out a specific tag or branch
git checkout v7

# Create a symlink to the local user's extensions directory
ln -s ~/gnome-shell-extension-sensory-perception ~/.local/share/gnome-shell/extensions/[email protected]

# Enable the extension
gnome-shell-extension-tool --enable [email protected]

Customizing labels

You may want to set the labels of your sensors to something like 'CPU' instead of 'temp1'. Every motherboard is different so you will need to set these labels manually. I created lm-sensors-chip-labels where I am adding the files I need for my machines. Feel free to open a PR and contribute!

The sensors.conf manual describes the full array of customizations.

Troubleshooting

Reloading

# This does not always work
gnome-shell-extension-tool -r [email protected]

One of the best ways to troubleshoot is to watch the logs with journalctl and restart the extension. You can reload this extension with the handy Gnome Shell Extension Reloader extension.

journalctl --since="`date '+%Y-%m-%d %H:%M'`" -f | grep sensory-perception

Launch preferences from a terminal

GNOME 40+

gnome-extensions prefs [email protected]

Earlier versions

gnome-shell-extension-prefs [email protected]

Build a zip file for distribution

bin/build-dist.sh

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.