gnome-shell-system-monitor-applet icon indicating copy to clipboard operation
gnome-shell-system-monitor-applet copied to clipboard

OUTDATED is shown on Ubuntu 22.04

Open scottstensland opened this issue 3 years ago • 32 comments

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+/-.   

scottstensland avatar Feb 16 '22 19:02 scottstensland

Same here on Arch

bcmedeiros avatar Feb 24 '22 13:02 bcmedeiros

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

epifanio avatar Mar 02 '22 08:03 epifanio

same here

hadim avatar Mar 09 '22 23:03 hadim

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 [email protected] from the command line.) I hope this contains helpful info for fixing the problem:

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

flauschzelle avatar Mar 16 '22 01:03 flauschzelle

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

epifanio avatar Mar 16 '22 18:03 epifanio

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

leillo1975 avatar Apr 18 '22 07:04 leillo1975

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

johnmee avatar Apr 24 '22 04:04 johnmee

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 avatar Apr 25 '22 01:04 philb61

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.

philb61 avatar Apr 25 '22 01:04 philb61

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.

e11bits avatar Apr 25 '22 06:04 e11bits

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/[email protected]/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.

diegolgz avatar Apr 25 '22 09:04 diegolgz

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

e11bits avatar Apr 25 '22 12:04 e11bits

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.

leinardi avatar Apr 25 '22 12:04 leinardi

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 :)

diegolgz avatar Apr 26 '22 06:04 diegolgz

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/[email protected]/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:

laurentpayot avatar Apr 26 '22 07:04 laurentpayot

Simple fix until it's patched:

Edit file ~/.local/share/gnome-shell/extensions/[email protected]/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": "[email protected]",
    "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"
}

DavidLKing avatar Apr 26 '22 13:04 DavidLKing

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

hexdecimal16 avatar Apr 27 '22 02:04 hexdecimal16

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 avatar May 04 '22 15:05 flauschzelle

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/[email protected] 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.

flauschzelle avatar May 05 '22 17:05 flauschzelle

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 [email protected]/metadata.json to change "version": -1 to "version": 42
  • make install, log out and back in
  • Open Extensions app, turn "Manually Installed" plugin on.

phs avatar May 24 '22 04:05 phs

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 

ShrirajHegde avatar Jun 25 '22 06:06 ShrirajHegde

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.

jmcvetta avatar Aug 11 '22 19:08 jmcvetta

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

quanhieu avatar Aug 22 '22 04:08 quanhieu

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 [email protected]/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!

MaxLap avatar Aug 29 '22 17:08 MaxLap

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

quanhieu avatar Sep 01 '22 04:09 quanhieu

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

ejgutierrez74 avatar Sep 05 '22 15:09 ejgutierrez74

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

  • Based on this, the only prerequisite package seems to be gir1.2-gtop-2.0
  • ⚠ Adjust the last line as needed, otherwise it may disable your other extensions. Or just use gnome-shell-extension-manager to enable it manually
# 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/' [email protected]/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 "['[email protected]']"

bmaupin avatar Sep 07 '22 17:09 bmaupin

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

igorpupkinable avatar Sep 15 '22 11:09 igorpupkinable

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

johnmee avatar Sep 15 '22 22:09 johnmee

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

lotyi avatar Oct 14 '22 12:10 lotyi