Open galen1423 opened 2 years ago
I was able to make it work by adding 43
to shell-version
array in metadata.json
and also commenting out this line from extension.js
:
Main.__sm.elts.push(new Battery());
It means you won't be able to display Battery status :cry:
Hi @porjo,
Thank you for your workaround. I don't have any battery on my computer so, no problem. :-)
I hope this project will continue to be maintained.
Yes, the following workaround works:
diff --git a/system-monitor@paradoxxx.zero.gmail.com/extension.js b/system-monitor@paradoxxx.zero.gmail.com/extension.js
index 1c56f0d..d75b77f 100644
--- a/system-monitor@paradoxxx.zero.gmail.com/extension.js
+++ b/system-monitor@paradoxxx.zero.gmail.com/extension.js
@@ -2448,7 +2448,7 @@ function enable() {
Main.__sm.elts.push(new Gpu());
Main.__sm.elts.push(new Thermal());
Main.__sm.elts.push(new Fan());
- Main.__sm.elts.push(new Battery());
+// Main.__sm.elts.push(new Battery());
let tray = Main.__sm.tray;
let elts = Main.__sm.elts;
diff --git a/system-monitor@paradoxxx.zero.gmail.com/metadata.json b/system-monitor@paradoxxx.zero.gmail.com/metadata.json
index 1851c46..37e481e 100644
--- a/system-monitor@paradoxxx.zero.gmail.com/metadata.json
+++ b/system-monitor@paradoxxx.zero.gmail.com/metadata.json
@@ -1,5 +1,5 @@
{
- "shell-version": ["3.26", "3.28", "3.30", "3.32", "3.34", "3.36", "40", "41", "42"],
+ "shell-version": ["3.26", "3.28", "3.30", "3.32", "3.34", "3.36", "40", "41", "42", "43"],
"uuid": "system-monitor@paradoxxx.zero.gmail.com",
"name": "system-monitor",
"url": "https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet",
I have applied this workaround for Debian, so in case any Debian user is reading this; you can install a working extension with sudo apt install gnome-shell-extension-system-monitor
Sadly, i'm still seeing this: "Tried to construct an object without a GType".
This pull request #754 close this issue.
I have the same problem in Fedora 38, Gnome 44, installed the extension from the repos.
Hi,
Is possible to update this extension to G.S 43? Currently, it produce this error:
TypeError: StatusArea.aggregateMenu is undefined
Thanks for your work :+1: