Bug 906090 - gnome-shell-extension-cpu-temperature enablement is not possible in gnome 3.6
Summary: gnome-shell-extension-cpu-temperature enablement is not possible in gnome 3.6
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell-extension-cpu-temperature
Version: 18
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-01-30 19:58 UTC by Tomasz Chilinski
Modified: 2014-05-01 09:19 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 957384 (view as bug list)
Last Closed: 2013-11-22 07:41:39 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomasz Chilinski 2013-01-30 19:58:21 UTC
Description of problem:
It's not possible to enable this extension in gnome 3.6.

Version-Release number of selected component (if applicable):

How reproducible:
Install and try to enable in gnome tweak tool.

Actual results:
unable to use it gnome 3.6

Expected results:
should work in gnome 3.6

Additional info:
Change the following fragment in metadata.json file from:
"shell-version": ["3.2", "3.3", "3.4"]
"shell-version": ["3.2", "3.3", "3.4", "3.5", "3.6"]
and it starts working.

Comment 1 collura 2013-01-31 07:37:23 UTC
thank you.

path to file is:


then after you modify the line <alt><f2> for window manager command window popup and type 'restart' and press <enter> to restart the window manager and temperature popped up in toolbar :')

Comment 2 Fedora Update System 2013-02-26 11:35:04 UTC
gnome-shell-extension-cpu-temperature-1.1-1.fc18 has been submitted as an update for Fedora 18.

Comment 3 Steve 2013-02-26 11:48:08 UTC
gnome-shell-extension-cpu-temperature is now capable of being activated but not visible

Comment 4 Fedora Update System 2013-02-27 02:42:17 UTC
Package gnome-shell-extension-cpu-temperature-1.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-shell-extension-cpu-temperature-1.1-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Oli Wade 2013-03-04 19:44:12 UTC
1.1-1 version can be enabled but does not show ("Error loading extension").

Comment 6 collura 2013-04-19 07:12:59 UTC
on a previous version after i added the gnome version 3.6 part (which made things work) i had then tried to pretify the metadata.json file with linebreaks and spacing but that broke it so i removed the pretification and it worked again.

however, the current version 


didnt work for me but it had a pretified metadata.json file 
so i tried to unpretify it but that didnt fix it. :'(

Comment 7 collura 2013-07-02 07:50:05 UTC
not working for me with:



snippet of .xsession-errors:

 'assignment to undeclared variable type'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/temperature@xtranophilist/extension.js' line 213 exception 
0 number 156
    JS ERROR: !!!   WARNING: 'assignment to undeclared variable r'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/temperature@xtranophilist/extension.js' line 325 exception 
0 number 156

Comment 8 Gianluca Cecchi 2013-07-04 18:16:03 UTC
I see that right now trying to install gnome-shell-extension-cpu-temperature in F18 I get

Dependencies Resolved

 Package                                         Arch             Version                           Repository        Size
 gnome-shell-extension-cpu-temperature           noarch           0-0.8.gite1777e6.fc18             fedora           8.4 k

Transaction Summary
Install  1 Package

Total download size: 8.4 k
Installed size: 16 k

SO probably the update package was removed?

And then I can successfully use the workaround as detailed in the main bug submission section:

"shell-version": ["3.2", "3.3", "3.4", "3.5", "3.6"]
My packages are now

and the plugin is correctly enabled and values seems to match "sensors" output from console.

Wouldn't be better so to patch 0-0.8.gite1777e6.fc18 committing the change to 

otherwise a normal user without coming to this specific bugzilla would get an awful experience.. ?


Comment 9 Steve 2013-07-04 19:15:07 UTC
In F19, the /usr/share/gnome-shell/extensions/temperature@xtranophilist/metadata.json is also missing the entry '"shell-version": ["3.8"]'.

However, the extension is not working.


Comment 10 Tomasz Chilinski 2013-07-04 19:25:37 UTC
AFAIK upstream project has changed its name to gnome-shell-extensions-sensors.
More hardware sensor values are also displayed.

Comment 12 John L Magee 2013-09-15 22:45:59 UTC
These three lines fix Fedora 19 

sed s/3.6\"/3.6\",\\n\"3.8\"/  /usr/share/gnome-
shell/extensions/temperature@xtranophilist/metadata.json -i

curl -L -s  "https://raw.github.com/lmacken/gnome-shell-extension-cpu-temperature/master/schemas/org.gnome.shell.extensions.cpu-temperature.gschema.xml" -o  /usr/share/glib-2.0/schemas/org.gnome.shell.extensions.cpu-temperature.gschema.xml

/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null

It is not clear why it is taking so long for this to be resolved in the packages

Comment 13 Steve 2013-09-16 05:23:03 UTC
(In reply to John L Magee from comment #12)
> These three lines fix Fedora 19 
> sed s/3.6\"/3.6\",\\n\"3.8\"/  /usr/share/gnome-
> shell/extensions/temperature@xtranophilist/metadata.json -i
> curl -L -s 
> "https://raw.github.com/lmacken/gnome-shell-extension-cpu-temperature/master/
> schemas/org.gnome.shell.extensions.cpu-temperature.gschema.xml" -o 
> /usr/share/glib-2.0/schemas/org.gnome.shell.extensions.cpu-temperature.
> gschema.xml
> /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null
> It is not clear why it is taking so long for this to be resolved in the
> packages

I can confirm that this is working. Thank you!

Comment 14 Gianluca Cecchi 2013-09-19 10:46:44 UTC
I confirm it works for me too in Fedora 19 with

Comment 15 Fabian Affolter 2013-11-22 07:41:39 UTC
Package is retired.

Comment 16 Hin-Tak Leung 2014-05-01 09:19:09 UTC
Hmm, "Package is retired" - any replacements? In fact it was still working for me in Fedora 20, until yesterday, when I decided to get the gnome 3.12 copr.

gnome 3.12 needs a bit of tweaking not currently upstream:

With the tweak, it is working with gnome 3.12 too.

Note You need to log in before you can comment on or make changes to this bug.