paradoxxxzero / gnome-shell-system-monitor-applet

Display system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…
GNU General Public License v3.0
1.75k stars 322 forks source link

OUTDATED is shown on Ubuntu 22.04 #737

Open scottstensland opened 2 years ago

scottstensland commented 2 years ago

Please update for use on Ubuntu 22.04 when I goto

https://extensions.gnome.org/extension/120/system-monitor/

it displays

OUTDATED

and grey's out screen ... here is my box


gnome version 41.3
windowing system  Wayland

eva@boroboro ~ $ neofetch
            .-/+oossssoo+/-.               eva@boroboro
        `:+ssssssssssssssssss+:`           ------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu Jammy Jellyfish (development branch) x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: 20HF0010US ThinkPad T470s
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.15.0-18-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 1 hour, 48 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 3031 (dpkg), 11 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3]
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i7-7600U (4) @ 3.900GHz
    .ossssssssssssssssssdMMMNysssso.       GPU: Intel HD Graphics 620
      -+sssssssssssssssssyyyssss+-         Memory: 14783MiB / 19529MiB
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.   
bcmedeiros commented 2 years ago

Same here on Arch

epifanio commented 2 years ago

same for me .. great extension, I am missing it <3

hadim commented 2 years ago

same here

flauschzelle commented 2 years ago

Same here...

I had to install it manually, because the gnome shell extensions browser plugins don't work any more with 22.04's snap browsers.

After a restart of the system, it looks like this in the gnome-extensions tool:

Screenshot from 2022-03-16 01-48-29

If I click on the "Settings" button, I get the following message. (The same message also appears if I run gnome-extensions prefs system-monitor@paradoxxx.zero.gmail.com from the command line.) I hope this contains helpful info for fixing the problem:

Screenshot from 2022-03-16 01-50-18

epifanio commented 2 years ago

just a side note .. I if I install and log-out then log-in .. the widget shows on the top bar and works as expected -- it then disappears at the next log-out -> log-in

leillo1975 commented 2 years ago

I have the same problem. Please give support for Gnome Shell 42

johnmee commented 2 years ago

I get Tried to construct an object without a GType on Gnome 42, Ubuntu 22.04.

philb61 commented 2 years ago

I if I install and log-out then log-in .. the widget shows on the top bar and works as expected -- it then disappears at the next log-out -> log-in

Yep, same here. Highly annoying. At first, I thought "No problem, the git repo is already on my machine, just need a quick pull and 'make install'".

Like you said, first log out/in gives you the extension you just installed, but if you bring up the Extensions app, you see that it'll be "updated" on the next login.

The good news is that the latest code does work on Gnome 42. So, most likely, just needs a proper release.

philb61 commented 2 years ago

I had to install it manually, because the gnome shell extensions browser plugins don't work any more with 22.04's snap browsers.

FYI, Chrome (.deb from their repo) still works. One of the few reasons to still have it around, along with if you know anyone using Google Meet.

e11bits commented 2 years ago

just a side note .. I if I install and log-out then log-in .. the widget shows on the top bar and works as expected -- it then disappears at the next log-out -> log-in

Not for me. Shows up every time after logout->login. Manual install of current master:

origin https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git
commit 02a590ee43187bf252cb21dbd278159d212e1f15 (HEAD -> master, origin/master, origin/HEAD)
Date:  Sun Apr 10 01:00:42 2022 -0400
GNOME Shell 42.0
Ubuntu 22.04 LTS
extension metadata "shell-version": ["3.26", "3.28", "3.30", "3.32", "3.34", "3.36", "40", "41", "42"],

PS: Sorry, by 'install' I thought you were referring to a manual install.

diegolagoglez commented 2 years ago

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/metadata.json and add a comma after "40" in line 14 and add a "42" after line 14.

Restart gnome-shell (Alt+F2, r) and the extension should work as expected.

e11bits commented 2 years ago

Or even easier without any editing:

git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git cd gnome-shell-system-monitor-applet ; make install

leinardi commented 2 years ago

Or even more easier, just install the "next" version of the extension: https://extensions.gnome.org/extension/3010/system-monitor-next/

This fork of paradoxxxzero/gnome-shell-system-monitor-applet is for packaging purposes only. This extension is built and updated continuously with the upstream master branch.

This is preferable for users on bleeding edge distributions that prefer not to wait for a stable release from the main repo. Of course, since we're releasing directly from master some instability is inevitable.

diegolagoglez commented 2 years ago

Or even more easier, just install the "next" version of the extension: https://extensions.gnome.org/extension/3010/system-monitor-next/

Sorry but that extension is not the official one, so I prefer either to install it from source, as stated by @e11bits, or edit the file until they release an official release.

Anyway, I appreciate your comment and effort :)

laurentpayot commented 2 years ago

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/metadata.json and add a comma after "40" in line 14 and add a "42" after line 14.

Restart gnome-shell (Alt+F2, r) and the extension should work as expected.

@diegolagoglez Thanks a lot, it worked for me! :grin:

DavidLKing commented 2 years ago

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/metadata.json and add a comma after "40" in line 14 and add a "42" after line 14.

Restart gnome-shell (Alt+F2, r) and the extension should work as expected.

Same worked for me. I didn't have a line 14, but here's my metadata.json:

{
    "shell-version": ["3.26", "3.28", "3.30", "3.32", "3.34", "3.36", "40", "41", "42"],
    "uuid": "system-monitor@paradoxxx.zero.gmail.com",
    "name": "system-monitor",
    "url": "https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet",
    "description": "Display system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…",
    "settings-schema":  "org.gnome.shell.extensions.system-monitor",
    "gettext-domain": "system-monitor",
    "version": "42"
}
hexdecimal16 commented 2 years ago

I get Tried to construct an object without a GType on Gnome 42, Ubuntu 22.04.

make sure you have required dependencies $ sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor

flauschzelle commented 2 years ago

I get Tried to construct an object without a GType on Gnome 42, Ubuntu 22.04.

make sure you have required dependencies $ sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor

I get the same message and I have all those dependencies already installed :(

flauschzelle commented 2 years ago

I (kind of) found a solution:

I cloned this git repo and copied all the contents of this folder into my .local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com folder to replace the previous versions, and now it works as intended :)

Even though I had first installed the extension on this computer only a few weeks ago, it appears to have been a more outdated version than I thought.

phs commented 2 years ago

Popping in to report my steps to get this working. This is on a fresh Pop!_OS 22 instance.

ShrirajHegde commented 2 years ago

You can also disable extension version validation temporarily (instead of doing this for several extensions)

gsettings set org.gnome.shell "disable-extension-version-validation" true 
jmcvetta commented 2 years ago

Or even easier without any editing:

git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git cd gnome-shell-system-monitor-applet ; make install

This worked for me on Ubuntu 22.04. Requires a logout/login before the extension is available.

quanhieu commented 2 years ago

Or even easier without any editing: git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git cd gnome-shell-system-monitor-applet ; make install

This worked for me on Ubuntu 22.04. Requires a logout/login before the extension is available.

The same with me

MaxLap commented 2 years ago

Popping in to report my steps to get this working. This is on a fresh Pop!_OS 22 instance.

  • sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor per @hexdecimal16
  • git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git; cd gnome-shell-system-monitor-applet per @e11bits . I'm on commit b359d88
  • NEW Edit system-monitor@paradoxxx.zero.gmail.com/metadata.json to change "version": -1 to "version": 42
  • make install, log out and back in

I'm on Ubuntu 22.04 and this worked for me.

Note that many of the set of steps provided do not set the metadata.json file. As a result, for me, the extension would work after the logout/login. However, after a reboot, it seems Ubuntu updated the extension to the one from the "store", and as a result made the extension deprecated again. I had to uninstall the extension, set the version to 42 as mentionned in the quoted steps, and make install again. Now the extension survives rebooting!

quanhieu commented 2 years ago

Uninstall old gnome-system-monitor and install next version here https://extensions.gnome.org/extension/3010/system-monitor-next/

ejgutierrez74 commented 2 years ago

Is there any easy way to delete this extension ? It appears as Outdated, and ive installed the system-monitor-next...so no reason to maintein this outdated....im on ubuntu 22.04.1

bmaupin commented 2 years ago

Here are the full steps I used on Ubuntu 22.04; a few notes:

# Install prerequisites (https://packages.ubuntu.com/impish/gnome-shell-extension-system-monitor)
sudo apt install gir1.2-gtop-2.0 git

cd /tmp
git clone https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git
cd gnome-shell-system-monitor-applet

# The packaged extension always has a version; set one manually
sed -i 's/"version": -1/"version": 42/' system-monitor@paradoxxx.zero.gmail.com/metadata.json
make install

# Cleanup
cd ..
rm -rf gnome-shell-system-monitor-applet

# Reload Gnome Shell; this is required for Gnome Shell to see the new extension
killall -3 gnome-shell

# Enable the extension
gsettings set org.gnome.shell enabled-extensions "['system-monitor@paradoxxx.zero.gmail.com']"
igorpupkinable commented 2 years ago

This is the most popular system monitor extension. I hope it becomes compatible with GNOME 42 out-of-the-box some day.

Screenshot of Ubuntu 22.04 Extension Manager. image

johnmee commented 2 years ago

@igorpupkinable You want the bottom one in your list "system-monitor-next"... https://extensions.gnome.org/extension/3010/system-monitor-next/

lotyi commented 1 year ago

You can also disable extension version validation temporarily (instead of doing this for several extensions)

gsettings set org.gnome.shell "disable-extension-version-validation" true 

thanks. it works for me. Manjaro 22.0 with GNOME 42.5

ropieur commented 1 year ago

I get Tried to construct an object without a GType on Gnome 42, Ubuntu 22.04.

make sure you have required dependencies $ sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor

Thanx a million ... It solved my issue on ubuntu 22.04. I needed to logout and re-login to make it appear.

e11bits commented 1 year ago

And again it does not work after the update to ubuntu 22.10

There is a pull request open that fixes this -> #754 Currently, tests fail for this PR on travis, but it seems to have nothing to do with the changes according to this PR #755

I guess now one can either wait for the pull request to get approved or be impatient and use the PR right away:

# Without any guaranties
git clone https://github.com/glerroo/gnome-shell-system-monitor-applet.git
cd gnome-shell-system-monitor-applet
export VERSION=40.1 # So the manually installed version will not be replaced by an update after the next login
make install