Missing indicator icon in GNOME 3 with Wayland

Bug #1634752 reported by Werner Badenhorst
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Variety
Confirmed
High
Unassigned

Bug Description

1. Variety Version 0.6.2

2. Gnome 3 - /usr/share/gnome/gnome-version.xml
<gnome-version>
 <platform>3</platform>
 <minor>22</minor>
 <micro>1</micro>
 <distributor>Arch Linux</distributor>
 <date>2016-10-10</date>
</gnome-version>

3. Linux 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux

I don't know if this is related but I get this in the terminal

/usr/lib/python2.7/site-packages/variety/__init__.py:105: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/VarietyWindow.py:25: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, Gio, Notify # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/AddPanoramioDialog.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, WebKit, GObject # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/QuoteWriter.py:19: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk, Pango, PangoCairo, GdkPixbuf, GObject
Variety is already running. Sending the command to the running instance.

Revision history for this message
Cory M. (shadowwalker23901-5) wrote :

I am having the same Issue.

1) Variety Version 0.6.2

2) Gnome Version
<?xml version="1.0" encoding="UTF-8"?>
<gnome-version>
 <platform>3</platform>
 <minor>22</minor>
 <micro>1</micro>
 <distributor>Arch Linux</distributor>
 <date>2016-10-10</date>

3) uname -a
Linux laptop 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux

4)
/usr/lib/python2.7/site-packages/variety/__init__.py:105: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/VarietyWindow.py:25: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, Gio, Notify # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/AddPanoramioDialog.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, WebKit, GObject # pylint: disable=E0611
/usr/lib/python2.7/site-packages/variety/QuoteWriter.py:19: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk, Pango, PangoCairo, GdkPixbuf, GObject
INFO: 2016-10-23 07:38:31,816: perform_upgrade() 'Last run version was 0.6.2 or earlier, current version is 0.6.2'

Revision history for this message
Cory M. (shadowwalker23901-5) wrote :

I patched __init__.py, AddPanoramioDialog.py, and QuoteWriter.py to satisfy the error messages (I.E. put in the gi.required_version and in some the missing import gi). So the error messages go away but still no icon or menu in GNOME 3 tray.

Revision history for this message
Werner Badenhorst (s26394465) wrote : Re: Missing icon in GNOME 3's Indicators tray

Thank you Cory. I'm very new to launchpad and bazaar, but I'm going to try and see if I can fix this issue!

But Please don't assign this to me I have very limited time.

summary: - Mission icon in GNOME 3's Indicators tray
+ Missing icon in GNOME 3's Indicators tray
Revision history for this message
Peter Levi (peterlevi) wrote :

Do you have AppIndicator support extension installed (https://extensions.gnome.org/extension/615/appindicator-support/) as per the instructions in "How to install" for GNOME (http://peterlevi.com/variety/how-to-install/) ?

Revision history for this message
Dirk Möbius (dmoebius) wrote :

I have the same problem as Werner. I installed the AppIndicator extension -- no change; no tray icon visible. I even tried with the TopIcons or TopIcons Plus extension, still no difference.

I'm using Variety 0.6.4, Gnome 3.24, Arch.

Revision history for this message
Palijn (palijn) wrote :

I might chime in :
I had the same issue and simply adding the KStatusNotifierItem to GnomeShell _and_ activating it magically put the icon in my Gnome3 bar.
Go to https://extensions.gnome.org/extension/615/appindicator-support/
Install the gnome-shell-extension if it asks you to (it has with my stock Firefox); activate it and reload the page. Click on the link/button to add support to the shell. Finally click on the OFF/ON button and... icons should appear.

For the record:
uname : Linux P273-deb 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
i.e. vanilla debian 9

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

I installed this extension https://github.com/ubuntu/gnome-shell-extension-appindicator and still no variety icon :(
config: ubuntu 17.10

Revision history for this message
Robert (antinsa) wrote :

Im in 17.10 and this is a big problem. I am a teacher, and need quick access to delete and mark NSFW pictures when I am teaching. Without this it is impossible, making my job unpredicatably dangerous

James Lu (jlu5)
Changed in variety:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Hotteterre (luca-rossetto) wrote :

I can confirm the bug on Manjaro too.

Revision history for this message
Robert (antinsa) wrote :

Hey everyone I found a fix :
killall indicator-application-service

Then enable topicons plus only....

It works. I added to autostart...

BTW wayland suckks wish they would not do that and stick to xorg......

Revision history for this message
Hotteterre (luca-rossetto) wrote :

Hello everyone! I eventually managed to load the indicator with the AppIndicator Support extension, but only installing it from AUR - while I obtained no success installing it from the site. I don't know why, but now it works.

Revision history for this message
Hotteterre (luca-rossetto) wrote :

Hello, I found another workaround to obtain a fully working indicator with Top Icon Plus (and without AppIndicator Support, with which I cannot open the submenus).

I created a simple script:

%%%

#!/bin/bash
export GDK_BACKEND=x11
variety

%%%

and I've added it in autostart. It's not very refined, but it seems to work!

Revision history for this message
Arman (arman-yazdani-10) wrote :

OS:
Linux 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux

With Gnome:
<?xml version="1.0" encoding="UTF-8"?>
<gnome-version>
 <platform>3</platform>
 <minor>26</minor>
 <micro>2</micro>
 <distributor>Arch Linux</distributor>
 <date>2017-10-31</date>
</gnome-version>

I installed libappindicator-gtk3 with "pacman -S libappindicator-gtk3" command and installed https://extensions.gnome.org/extension/615/appindicator-support/ extention.

Problem fixed.

Revision history for this message
Robert (antinsa) wrote :

Has anyone found a fix to this in 15.10 yet? no matter what can do, I can get it to show.This is important because I need to block random NSFW images when teaching. Is there any nightly build ppa?

James Lu (jlu5)
summary: - Missing icon in GNOME 3's Indicators tray
+ Missing indicator icon in GNOME 3 with Wayland
Revision history for this message
pedro almeida (peu) wrote :

Hello, 18.04 LTS.

Icon disappeared along with a failed startup of variety:
Had to clear away the folder in .config and then reinstall. That worked fine except the icon did not return, so I got https://github.com/ubuntu/gnome-shell-extension-appindicator through the native software manager. The icon did not return until I did alt+f2 'r'.
Now everything seems fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.