2013-03-12 18:11:53 +01:00
|
|
|
gnome-shell-extension-sensors
|
|
|
|
|
=============================
|
2013-03-12 21:10:16 +05:45
|
|
|
*gnome-shell-extension-sensors* (previously known as gnome-shell-extension-cpu-temperature)
|
|
|
|
|
is an extension for displaying CPU temperature, hard disk temperature, voltage and
|
|
|
|
|
CPU fan RPM in GNOME Shell.
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-06 21:08:06 +05:45
|
|
|
The extension uses [sensors] from lm_sensors package (lm-sensors for Debian systems)
|
2013-03-12 21:10:16 +05:45
|
|
|
to read temperature for different CPU cores and adapters, voltage data and fan speed.
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-12-10 09:00:58 +01:00
|
|
|
Optionally, this extension uses the [UDisks2] dbus interface or [hddtemp] as fallback to
|
|
|
|
|
read hard drive temperature data.
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-03-12 18:11:53 +01:00
|
|
|
![Screenshot][screenshot]
|
2013-02-06 12:03:24 +01:00
|
|
|
|
|
|
|
|
Installation
|
2013-02-14 10:51:29 +05:45
|
|
|
=============
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-05-25 16:49:48 +02:00
|
|
|
This is the **recommended method** for installation, as it doesn't require the build
|
|
|
|
|
dependencies for installation.
|
2013-02-06 12:03:24 +01:00
|
|
|
You can install this extension by visiting the [GNOME extensions]
|
2013-02-15 02:07:37 +05:45
|
|
|
page for this extension.
|
2013-02-06 12:03:24 +01:00
|
|
|
|
|
|
|
|
Installation by package manager
|
|
|
|
|
-------------------------------
|
|
|
|
|
|
2013-03-12 18:11:53 +01:00
|
|
|
Fedora has packaged an older version of this extension. You can install it by running:
|
2013-02-06 12:03:24 +01:00
|
|
|
|
|
|
|
|
`yum -y install gnome-shell-extension-cpu-temperature`
|
|
|
|
|
|
|
|
|
|
Manual installation
|
|
|
|
|
-------------------
|
|
|
|
|
|
2013-05-25 16:49:48 +02:00
|
|
|
To install this extension you need to clone the source and build the extension.
|
|
|
|
|
The build dependenciesare:
|
|
|
|
|
|
|
|
|
|
* *gettext*,
|
|
|
|
|
* *pkg-config*,
|
|
|
|
|
* *git*,
|
|
|
|
|
* *glib2*,
|
|
|
|
|
* *glib2-devel* or *libglib2.0-dev*,
|
|
|
|
|
* *zip*,
|
|
|
|
|
* *gnome-common*,
|
|
|
|
|
* *autoconf*,
|
|
|
|
|
* *automake*,
|
|
|
|
|
* *intltool*.
|
|
|
|
|
|
|
|
|
|
To build the extension please run the following commands:
|
|
|
|
|
|
|
|
|
|
cd ~ && git clone https://github.com/xtranophilist/gnome-shell-extension-sensors.git
|
|
|
|
|
cd ~/gnome-shell-extension-sensors
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
2013-02-06 21:08:06 +05:45
|
|
|
You can install this extension for your user by executing:
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-05-25 16:49:48 +02:00
|
|
|
make local-install
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-06 21:08:06 +05:45
|
|
|
or system wide by executing (this requires root permissions):
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-05-25 16:49:48 +02:00
|
|
|
make install
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-15 02:07:37 +05:45
|
|
|
After installation you need to restart the GNOME shell:
|
2013-02-06 12:03:24 +01:00
|
|
|
|
|
|
|
|
* `ALT`+`F2` to open the command prompt
|
|
|
|
|
* Enter `r` to restart the GNOME shell
|
|
|
|
|
|
2013-02-14 10:51:29 +05:45
|
|
|
Then enable the extension:
|
2013-03-12 21:10:16 +05:45
|
|
|
Open `gnome-tweak-tool` -> `Shell Extensions` -> `Sensors` -> On
|
2013-02-14 10:51:29 +05:45
|
|
|
|
2013-02-06 21:17:55 +05:45
|
|
|
|
|
|
|
|
Installing dependencies
|
|
|
|
|
-------------
|
|
|
|
|
Installing lm-sensors for Fedora, CentOS and other distros with yum:
|
|
|
|
|
|
|
|
|
|
`yum install -y lm_sensors`
|
|
|
|
|
|
|
|
|
|
Ubuntu, Debian and other distros with apt-get:
|
|
|
|
|
|
|
|
|
|
`apt-get install lm-sensors`
|
|
|
|
|
|
|
|
|
|
Then run `sensors-detect` as root as one time detection process.
|
|
|
|
|
|
|
|
|
|
Installing `hdd-temp`:
|
|
|
|
|
|
|
|
|
|
`yum -y install hddtemp`
|
|
|
|
|
|
|
|
|
|
|
2013-02-06 12:03:24 +01:00
|
|
|
Configuration
|
2013-02-14 10:51:29 +05:45
|
|
|
---------------------
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-06 21:19:48 +05:45
|
|
|
This extensions uses the output of `sensors`(1) command to obtain the
|
2013-02-06 12:03:24 +01:00
|
|
|
temperature data and sensor labeling. To relabel, hide or correct the
|
|
|
|
|
output consult the `sensors.conf`(5) manual.
|
|
|
|
|
|
2013-02-06 21:34:03 +05:45
|
|
|
Authors : [authors]
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-06 21:08:06 +05:45
|
|
|
[sensors]: http://www.lm-sensors.org/
|
2013-12-10 09:00:58 +01:00
|
|
|
[UDisks2]: http://www.freedesktop.org/wiki/Software/udisks/
|
2013-02-06 12:03:24 +01:00
|
|
|
[hddtemp]: https://savannah.nongnu.org/projects/hddtemp/
|
|
|
|
|
[GNOME extensions]: https://extensions.gnome.org/extension/82/cpu-temperature-indicator/
|
2013-03-12 21:10:16 +05:45
|
|
|
[authors]: https://github.com/xtranophilist/gnome-shell-extension-sensors/graphs/contributors
|
2013-03-12 18:11:53 +01:00
|
|
|
[screenshot]: https://raw.github.com/wiki/xtranophilist/gnome-shell-extension-sensors/gnome-shell-extension-sensors.png
|