Gnome: caffeine-indicator does not show up

Bug #1886530 reported by Luis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Caffeine
Invalid
Undecided
Unassigned

Bug Description

When ran from the UI nothing visually happens, but it indeed launched the processes:

```
% ps auxw | grep -i caffeine
user1 [..] /usr/bin/python3 /usr/bin/caffeine
user1 [..] /usr/bin/python3 /usr/bin/caffeine-indicator
```

However, the widget/applet does not show up on gnome's task bar as expected.

When the indicator is launched from the terminal, the only clue to a problem I can see is the failed assertion below:

```
% caffeine-indicator
/usr/bin/caffeine-indicator:184: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
/usr/bin/caffeine-indicator:106: DeprecationWarning: AyatanaAppIndicator3.Indicator.set_icon is deprecated
  self.AppInd.set_icon(icon_name)

(caffeine-indicator:74110): Gtk-CRITICAL **: 17:42:15.796: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
```

Hope that's enough to debug this problem. Happy to provide more info too.

Revision history for this message
Reuben Thomas (rrt) wrote :

What desktop environment are you using? In GNOME, you'll need an extension that displays appindicators.

Revision history for this message
Reuben Thomas (rrt) wrote :

(Note that the messages you posted, all fixed in 2.9.7, are only warnings, not errors, and are unlikely to have anything to do with your problem.)

Revision history for this message
Luis (lhon) wrote :

Indeed, this was fixed in Gnome Extensions. Sorry about the noise! I don't know why, my Gnome Extensions fail to launch intermittently!

Revision history for this message
Reuben Thomas (rrt) wrote :

No problem, and thanks for the deprecation reports!

Changed in caffeine:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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