2013-02-06 21:08:06 +05:45
|
|
|
*gnome-shell-extension-cpu-temperature* is an extension for displaying
|
|
|
|
|
system temperature data 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)
|
|
|
|
|
to read temperature for different CPU cores and adapters.
|
|
|
|
|
If lm_sensors is not installed, temperature is read from [system files].
|
2013-02-06 12:03:24 +01:00
|
|
|
|
2013-02-15 02:07:37 +05:45
|
|
|
Optionally, this extension uses [hddtemp] to read hard drive temperature data.
|
2013-02-14 10:51:29 +05:45
|
|
|
The data is updated every 15 seconds.
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
|
|
Fedora has packaged this extension. You can install it by running:
|
|
|
|
|
|
|
|
|
|
`yum -y install gnome-shell-extension-cpu-temperature`
|
|
|
|
|
|
|
|
|
|
Manual installation
|
|
|
|
|
-------------------
|
|
|
|
|
|
2013-02-14 10:51:29 +05:45
|
|
|
This is the **recommended method** for installation as you always get the latest version.
|
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
|
|
|
|
|
|
|
|
cd ~/.local/share/gnome-shell/extensions
|
|
|
|
|
git clone https://github.com/xtranophilist/gnome-shell-extension-cpu-temperature.git temperature@xtranophilist
|
2013-02-15 02:07:37 +05:45
|
|
|
glib-compile-schemas temperature@xtranophilist/schemas/
|
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
|
|
|
|
|
|
|
|
cd /usr/share/gnome-shell/extensions/
|
|
|
|
|
git clone https://github.com/xtranophilist/gnome-shell-extension-cpu-temperature.git temperature@xtranophilist
|
2013-02-15 02:07:37 +05:45
|
|
|
glib-compile-schemas temperature@xtranophilist/schemas/
|
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:
|
|
|
|
|
Open `gnome-tweak-tool` -> `Shell Extensions` -> `CPU temperature indicator` -> On
|
|
|
|
|
|
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-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-02-06 21:08:06 +05:45
|
|
|
[system files]: https://github.com/xtranophilist/gnome-shell-extension-cpu-temperature/blob/master/extension.js#L174
|
2013-02-06 21:34:03 +05:45
|
|
|
[authors]: https://github.com/xtranophilist/gnome-shell-extension-cpu-temperature/graphs/contributors
|