sgaraud / gnome-extension-show-ip

gnome shell extension showing ip in status bar
GNU General Public License v3.0
42 stars 17 forks source link

Does not work on GNOME 3.36 #35

Open joshlangley opened 4 years ago

joshlangley commented 4 years ago

I'm running Ubuntu 20.04 development branch (with GNOME 3.36.1), and this extension isn't working. I suspect it might be the new GNOME update, but it might also be something else. Error in gnome lg: Error: Requiring NMClient, version none: Typelib file for namespace 'NMClient' (any version) not found

Here is another GitHub issue from another extension that is suffering from a similar error: https://github.com/hedayaty/NetSpeed/pull/67 I don't know if libnm is the cause, but it might help.

mariansam commented 4 years ago

Hi! The extension on the GNOME extensions site is not up-to-date. Here is a temporary fix - https://github.com/sgaraud/gnome-extension-show-ip/issues/34. Let me know if it works for you.

joshlangley commented 4 years ago

This did indeed work for me, thanks @mariansam, but the preferences option in the dropdown menu still doesn't work. (Which I don't mind, but not-so-tech-savvy users might.)

Also @sgaraud, why isn't the most updated version on the https://extensions.gnome.org/ site? This seems like it would be a given. Also, I did install it from apt (apt install gnome-shell-extension-show-ip), but that shouldn't matter since it tries to pull the version from https://extensions.gnome.org/.

paddatrapper commented 4 years ago

@ElSenor64 I maintain the gnome-shell-extension-show-ip Debian/Ubuntu package. From version 8-3, the patch in #34 is already included. I will test the preferences menu as part of fixing #956170.

Also, I did install it from apt (apt install gnome-shell-extension-show-ip), but that shouldn't matter since it tries to pull the version from https://extensions.gnome.org/.

I don't understand what you mean here? The package doesn't download anything during install. It tracks the releases from GitHub, with additional patches included as needed.

joshlangley commented 4 years ago

I don't know since when, (maybe Ubuntu 20?), but my understanding is that the gnome-shell's auto-update system for extensions sees an installed extension, and tries to pull the latest version from extensions.gnome.org to keep it updated. When I was installing the gnome-shell-3.36 branch of the system-monitor extension, the only good way to prevent this 'update' that pulled the old version was to run make install VERSION=39.

Does this extension work differently somehow?

a6avind commented 4 years ago

image

I can't even enable the option. Is the project still supported.