isDipesh / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
https://motorscript.com/gnome-shell-extension-sensors/
161 stars 153 forks source link

Sensors will not install on Debian Unstable #95

Open russel opened 10 years ago

russel commented 10 years ago

I have tried to install Sensors from the GNOME Shell Extension page but with no success. The switch goes from Off to On and then back to Off with no further feedback as to what is going on. A restart of GNOME Shell and use of Tweak Tool shows no new extension. I have no idea how to get any useful information as to what is going wrong.

The extension used to work fine on Debian Unstable until a few weeks ago, and then it stopped working, and will not now install.

I tried it on Fedora 19 and it appears to work fine.

If you can tell me what data to collect and how to collect it I can do the needful and provide the data.

Thanks.

adrianbroher commented 10 years ago

Hello Russel,

I have tried to install Sensors from the GNOME Shell Extension page but with no success. The switch goes from Off to On and then back to Off with no further feedback as to what is going on.

Currently the version distributed via extensions.gnome.org is old in relation to what is available in the repository. I suggest instead to use the repository version instead.

I have no idea how to get any useful information as to what is going wrong.

according to the debian package page gnome-shell 3.8.4 is used. If I remember correctly the error messages of gnome-shell are logged in ~/.cache/gdm/session.log if there is no systemd-journal available. Maybe you can also find in /var/log/messages. Search for 'xtranophilist' to find messages related to this extension.

russel commented 10 years ago

3.8.4 is indeed what I have on Debian Unstable, but isn't that the version in Fedora 19 as well?

I just tried installing from GNOME Shell Extension website again and there is nothing in systemd-journal, nor /var/log/syslog, nor /var/log/message. In ~/.cache/gdm/session.log I got:

Archive:  /tmp/OX7P7W.shell-extension.zip
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/schemas/gschemas.compiled  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/utilities.js  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/convenience.js  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/schemas/org.gnome.shell.extensions.sensors.gschema.xml  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/README.md  
 extracting: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/.gitignore  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/prefs.js  
  inflating: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/extension.js  
 extracting: /home/users/russel/.local/share/gnome-shell/extensions/temperature@xtranophilist/metadata.json  

but there is nothing in /home/users/russel/.local/share/gnome-shell/extensions so it must all have been deleted or moved somewhere else.

I guess I'll have to try the manual way :-(

adrianbroher commented 10 years ago

3.8.4 is indeed what I have on Debian Unstable, but isn't that the version in Fedora 19 as well?

Yes it is:

$ sudo yum info gnome-shell Geladene Plugins: auto-update-debuginfo, changelog Installierte Pakete Name : gnome-shell Architektur : x86_64 Version : 3.8.4

In ~/.cache/gdm/session.log I got: snip but there is nothing in /home/users/russel/.local/share/gnome-shell/extensions so it must all have been deleted or moved somewhere else.

Is there any error message after the part you posted that could indicate an issue?

farsx commented 10 years ago

@russel the extension works for me on Debian Jessie (testing) that uses the same gnome-shell package. You just have to manual install but you must use gnome-3.8 branch on git. You can use the commands below:

cd ~ && git clone https://github.com/xtranophilist/gnome-shell-extension-sensors.git cd ~/gnome-shell-extension-sensors git checkout gnome-3.8 ./autogen.sh make local-install

@adrianbroher You could update the homepage with installation instructions for gnome-shell versions <= 3.8, as many distros still use them.

adrianbroher commented 10 years ago

You could update the homepage with installation instructions for gnome-shell versions <= 3.8, as many distros still use them.

Yeah, I forgot to update the documentation. My bad. Fixed in HEAD.

warmsun0220 commented 10 years ago

I meet the same problem. I use debian jessie(gnome-shell3.8.4).

adrianbroher commented 10 years ago

@warmsun0220 Do the installation steps described by @farsx fix this issue for you?