ubuntu / gnome-shell-extension-appindicator

Adds KStatusNotifierItem support to the Shell
https://extensions.gnome.org/extension/615/appindicator-support/
GNU General Public License v2.0
1.17k stars 157 forks source link

Error: Pop!OS 20.10 with Gnome 3.38 #255

Open Velofil opened 3 years ago

Velofil commented 3 years ago

I can not install after upgrading to Pop!OS 20.10 with Gnome 3.38 It does not load the extension and says "error"

lucasvbeek commented 3 years ago

I found this error in the Extensions app: image

Cubevoid commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

kpuljek commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

Came here to report this. Works on my laptop, not on my desktop. Both updated to 20.10

Cubevoid commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

Came here to report this. Works on my laptop, not on my desktop. Both updated to 20.10

Are there any differences in setup between your laptop and desktop? I tried disabling every other extension and I still have this problem, so I'm not sure what's causing the issue.

kpuljek commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

Came here to report this. Works on my laptop, not on my desktop. Both updated to 20.10

Are there any differences in setup between your laptop and desktop? I tried disabling every other extension and I still have this problem, so I'm not sure what's causing the issue.

There probably are, one is my work computer, the other (where it doesn't work) is my gaming/everything else computer. But I have roughly the same extensions installed, and I tried using dconf to reset everything to defaults. The only thing that helps is disabling/enabling the extension or presing alt+f2 and typing "r" to reset the entire shell. Then it updates to the current state, but it still doesn't track changes in real time.

mokshchaudhary commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

Can confirm, this is happening with me too , disabling and enabling the 'ubuntu appindicator' extension also seems to update the icons.

jaquelinesw commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

I have the same problem, sometimes the clock freeze too

andremahfouz commented 3 years ago

I have a slightly different issue on Pop!_OS 20.10 and GNOME 3.38. If I restart gnome-shell, the extension sort of works, except the icons don't update. For example, if I launch a new application with a tray icon, it doesn't show up until I restart the extension.

Same here.

kpuljek commented 3 years ago

So, after I got sick of indicators not updating in real time, I went through my installed packages and found I had a lot of leftovers from when I tested Unity, MATE, Xfce and some other desktops. Purged anything I didn't need, and especially things with "indicator" in their name that didn't break the ubuntu-desktop and pop-desktop metapackages, and after restarting the shell, it now works properly. I can dump a list of what I removed, but it is rather huge (over 300 pkgs).

mokshchaudhary commented 3 years ago

OK, So I somehow managed to fix the problem (still have no idea what was causing it tho). Things I did :

  1. uninstalled the extension by sudo rm -R /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/ and then reinstalled it.
  2. disabled all the extensions and then just enabled the appindicator slowly turning on all the extensions again.
  3. uninstalled all the indicator- packages with apt remove indicator-*
  4. ran gnome-shell --replace this crashed gnome and had to log in but now indicators work

The results persisted even after the reboot and I am not sure which step really fixed it but I think it had something to do with enabling all the extensions after appindicator for some reasons.

Also earlier journalctl /usr/bin/gnome-shell -b0 -r showed the error appindicatorsupport@rgcjonas.gmail.com[2642]: Failed to acquire org.kde.StatusNotifierWatcher on shell restart which is now gone. So yayy I guess , pretty much threw a hail mary and somehow it worked.

Cubevoid commented 3 years ago

OK, So I somehow managed to fix the problem (still have no idea what was causing it tho). Things I did :

1. uninstalled the extension by `sudo rm -R /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/` and then reinstalled it.

2. disabled all the extensions and then just enabled the appindicator slowly turning on all the extensions again.

3. uninstalled all the `indicator-` packages with  `apt remove indicator-*`

4. ran `gnome-shell --replace` this crashed gnome and had to log in but now indicators work

The results persisted even after the reboot and I am not sure which step really fixed it but I think it had something to do with enabling all the extensions after appindicator for some reasons.

Also earlier journalctl /usr/bin/gnome-shell -b0 -r showed the error appindicatorsupport@rgcjonas.gmail.com[2642]: Failed to acquire org.kde.StatusNotifierWatcher on shell restart which is now gone. So yayy I guess , pretty much threw a hail mary and somehow it worked.

I followed what you did and it works for me too! I kept the extension from extensions.gnome.org uninstalled, and only kept the Ubuntu Appindicators.

jaquelinesw commented 3 years ago

OK, So I somehow managed to fix the problem (still have no idea what was causing it tho). Things I did :

  1. uninstalled the extension by sudo rm -R /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/ and then reinstalled it.
  2. disabled all the extensions and then just enabled the appindicator slowly turning on all the extensions again.
  3. uninstalled all the indicator- packages with apt remove indicator-*
  4. ran gnome-shell --replace this crashed gnome and had to log in but now indicators work

The results persisted even after the reboot and I am not sure which step really fixed it but I think it had something to do with enabling all the extensions after appindicator for some reasons.

Also earlier journalctl /usr/bin/gnome-shell -b0 -r showed the error appindicatorsupport@rgcjonas.gmail.com[2642]: Failed to acquire org.kde.StatusNotifierWatcher on shell restart which is now gone. So yayy I guess , pretty much threw a hail mary and somehow it worked.

Thank you! i did first without unninstalling all the indicator packages and the problem remained but after i unninstalled the packages everything worked perfectly. I think @kpuljek was right, removing all the indicator packages is the key step.

echosa commented 3 years ago

I was having the same issue of icons not updating automatically, having to disable and re-enable the Ubuntu AppIndicators extension (shipped as a built-in extension with Pop!_OS 20.10) whenever I opened programs that use system tray icons/appindicators. I ignored/skipped steps 1 and 2 of @mokshchaudhary's instructions. Instead, all I did was:

After running gnome-shell --replace, GNOME crashed and logged me out. When I logged back in, the icons are working properly and updating in real time again. :+1:

cesaric commented 3 years ago

I was having the same issue of icons not updating automatically, having to disable and re-enable the Ubuntu AppIndicators extension (shipped as a built-in extension with Pop!_OS 20.10) whenever I opened programs that use system tray icons/appindicators. I ignored/skipped steps 1 and 2 of @mokshchaudhary's instructions. Instead, all I did was:

* `sudo apt purge --autoremove indicator-*` which removed three packages: `indicator-application`, `indicator-common`, and `libindicator3-7`

* `gnome-shell --replace`

After running gnome-shell --replace, GNOME crashed and logged me out. When I logged back in, the icons are working properly and updating in real time again. +1

I had quite a few indicator-* packages installed so I decided to uninstall one at a time to find the culprit. From the 3 above, uninstalling indicator-application got everything working again. Btw, that was the first and only package I removed.

This isn't a complete fix. I was mainly trying to get my Skype app indicator working which it is again (there's an issue w/ Electron apps on here too). Though I noticed now my OwnCloud indicator is no longer working which probably depended on the indicator-application package but I'll take the trade-off as disabling/enabling the app indicator extension as a fix was getting old.

mmBesar commented 3 years ago

I was having the same issue of icons not updating automatically, having to disable and re-enable the Ubuntu AppIndicators extension (shipped as a built-in extension with Pop!_OS 20.10) whenever I opened programs that use system tray icons/appindicators. I ignored/skipped steps 1 and 2 of @mokshchaudhary's instructions. Instead, all I did was:

* `sudo apt purge --autoremove indicator-*` which removed three packages: `indicator-application`, `indicator-common`, and `libindicator3-7`

* `gnome-shell --replace`

After running gnome-shell --replace, GNOME crashed and logged me out. When I logged back in, the icons are working properly and updating in real time again. +1

I can confirm, it works for me! Thanks