Gnome-shell-system-monitor-applet: Cpu freq and thermal showin NaN instead of values (please solve it !)

Created on 22 May 2019  路  6Comments  路  Source: paradoxxxzero/gnome-shell-system-monitor-applet

Since last update i'm getting NaNs instead of values. I know there is alread an issue, but i really rely on this extension, since my laptop have 12 cores and gets hot very quickly. Please, solve it !

Most helpful comment

As said by @ryant18, just edit ~/.local/share/gnome-shell/extensions/[email protected]/extension.js removing those ByteArray.toString() functions, restart with Alt+F2,r et voil脿.

All 6 comments

I've patched this in master. If you install from github, does that fix the problem?

@chrisspen have the same problem, installed from github and still not working :disappointed:

I didn't install from github, but I locally made the changes in c1af5103e86d4a0d03421c58f32efab689818b9c and it fixed the issue on ubuntu 18.04

As said by @ryant18, just edit ~/.local/share/gnome-shell/extensions/[email protected]/extension.js removing those ByteArray.toString() functions, restart with Alt+F2,r et voil脿.

The same problem with cpu frequency and this fixed it for me:

        file.load_contents_async(null, function cb (source, result) {
            let as_r = source.load_contents_finish(result);
-            total_frequency += parseInt(ByteArray.toString(as_r[1]));
+            total_frequency += parseInt(as_r[1]);

            if (++i >= num_cpus) {

Maybe this helps somebody: for me, the number wouldn't show up at all (not "NaN"), I had to change/touch Refresh Time to make it appear.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tryfon picture tryfon  路  5Comments

rubensa picture rubensa  路  3Comments

Alexander-Serov picture Alexander-Serov  路  9Comments

bendavis78 picture bendavis78  路  13Comments

ceyhunn picture ceyhunn  路  9Comments