Package Details: caffeine-ng 3.4.2-2

Git Clone URL: (read-only, click to copy)
Package Base: caffeine-ng
Description: Status bar application able to temporarily inhibit the screensaver and sleep mode.
Upstream URL:
Keywords: caffeine powersaving screensaver
Licenses: GPL3
Conflicts: caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray
Provides: caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray
Replaces: caffeine-oneclick, caffeine-systray
Submitter: WhyNotHugo
Maintainer: WhyNotHugo
Last Packager: WhyNotHugo
Votes: 106
Popularity: 2.13
First Submitted: 2014-10-19 05:26
Last Updated: 2018-08-06 20:34

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

brown25 commented on 2019-11-25 14:55

@alfredo.ardito re-installing caffeine and these python packages worked for me: python-docopt, python-ewmh, python-setproctitle, python-wheel, python-xlib

I believe its something about last python update

alfredo.ardito commented on 2019-05-20 19:13

It always used to work. I had this lately

WhyNotHugo commented on 2019-05-20 07:43

@alfredo.ardito That's odd. Was this a one-time thing, or is it consistent?

alfredo.ardito commented on 2019-05-17 12:21

Caffeine not executing anymore.
I uninstalled and reinstalled it again without errors. When I run it it halts displaying the following error:

~ $ caffeine
/usr/lib/python3.7/site-packages/caffeine/ PyGIWarning:
AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3
Traceback (most recent call last):
File "/usr/bin/caffeine", line 11, in <module>
load_entry_point('caffeine-ng==3.4.2', 'gui_scripts', 'caffeine')()
File "/usr/lib/python3.7/site-packages/caffeine/", line 437, in main
main = GUI(arguments["--preferences"])
File "/usr/lib/python3.7/site-packages/caffeine/", line 155, in init
self.core = Caffeine(self.__process_manager)
File "/usr/lib/python3.7/site-packages/caffeine/", line 73, in __init

self._ewmh = EWMH()
File "/usr/lib/python3.7/site-packages/ewmh/", line 70, in init
self.display = _display or display.Display()
File "/usr/lib/python3.7/site-packages/Xlib/", line 89, in init
self.display = _BaseDisplay(display)
File "/usr/lib/python3.7/site-packages/Xlib/", line 71, in init
protocol_display.Display.init(self, args, *keys)
File "/usr/lib/python3.7/site-packages/Xlib/protocol/", line 167, in init
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": b'Invalid MIT-MAGIC-COOKIE-1 key'

WhyNotHugo commented on 2018-10-23 05:03

@Demeter That behaviour is triggered if you have app indicators in your system (rather than a classic systray).

It's only active if libappindicator-gtk3 is installed.

Demeter commented on 2018-09-22 10:28

Is it possible to switch caffeine just with left click on icon? Now works just popup menu via right click, then Enable - Disable... (MATE)

WhyNotHugo commented on 2018-08-06 20:33

Yup, will update the pkgrel in a bit.

macxcool commented on 2018-08-06 18:02

@WhyNotHugo Is a version bump appropriate because of the python upgrade?

Batou commented on 2018-02-16 09:05

Is there a way to disable INFO messages? My .xsession-errors is littered with messages of the type:

INFO:caffeine.core:XorgInhibitor is applicable, running it.

jfk commented on 2017-12-19 00:36

@WhyNotHugo: apparently, it was related to a conflict in my locale settings. In short, I had a script that set fr_CH instead of fr_FR as my default language. Fr_CH is not well handled in Plasma. Since I've deleted it, caffeine-ng opens normally.