Package Details: caffeine-ng 4.2.0-2

Git Clone URL: https://aur.archlinux.org/caffeine-ng.git (read-only, click to copy)
Package Base: caffeine-ng
Description: Status bar application able to temporarily inhibit the screensaver and sleep mode.
Upstream URL: https://codeberg.org/WhyNotHugo/caffeine-ng
Keywords: caffeine powersaving screensaver
Licenses: GPL-3.0-or-later
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 (darose)
Last Packager: darose
Votes: 123
Popularity: 0.83
First Submitted: 2014-10-19 05:26 (UTC)
Last Updated: 2024-09-24 00:34 (UTC)

Pinned Comments

whynothugo commented on 2023-05-05 09:34 (UTC)

After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 25 Next › Last »

brown25 commented on 2019-11-25 14:55 (UTC)

@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 (UTC)

It always used to work. I had this lately

whynothugo commented on 2019-05-20 07:43 (UTC)

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

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

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/main.py:59: 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/main.py", line 437, in main
main = GUI(arguments["--preferences"])
File "/usr/lib/python3.7/site-packages/caffeine/main.py", line 155, in init
self.core = Caffeine(self.__process_manager)
File "/usr/lib/python3.7/site-packages/caffeine/core.py", line 73, in __init

self._ewmh = EWMH()
File "/usr/lib/python3.7/site-packages/ewmh/ewmh.py", line 70, in init
self.display = _display or display.Display()
File "/usr/lib/python3.7/site-packages/Xlib/display.py", line 89, in init
self.display = _BaseDisplay(display)
File "/usr/lib/python3.7/site-packages/Xlib/display.py", line 71, in init
protocol_display.Display.init(self, args, *keys)
File "/usr/lib/python3.7/site-packages/Xlib/protocol/display.py", 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 (UTC)

@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 (UTC) (edited on 2018-09-22 10:32 (UTC) by Demeter)

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 (UTC)

Yup, will update the pkgrel in a bit.

macxcool commented on 2018-08-06 18:02 (UTC)

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

Batou commented on 2018-02-16 09:05 (UTC)

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.

tpaniaki commented on 2017-12-19 00:36 (UTC)

@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.