Package Details: caffeine-ng 4.2.0-1

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: whynothugo
Votes: 120
Popularity: 0.87
First Submitted: 2014-10-19 05:26 (UTC)
Last Updated: 2023-05-08 10:23 (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 2 3 4 5 6 7 8 .. 24 Next › Last »

Anarconda commented on 2023-05-05 09:47 (UTC) (edited on 2023-05-05 11:15 (UTC) by Anarconda)

@whynothugo, I did that, and now the following errors are shown:

Traceback (most recent call last): File "/usr/bin/caffeine", line 33, in <module> sys.exit(load_entry_point('caffeine-ng==4.0.2', 'gui_scripts', 'caffeine')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/caffeine", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_load File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3.11/site-packages/caffeine/cli.py", line 9, in <module> from caffeine.main import GUI File "/usr/lib/python3.11/site-packages/caffeine/main.py", line 44, in <module> from caffeine.core import Caffeine # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/caffeine/core.py", line 41, in <module> from caffeine.triggers import DesiredState File "/usr/lib/python3.11/site-packages/caffeine/triggers.py", line 11, in <module> from pulsectl import Pulse ModuleNotFoundError: No module named 'pulsectl'

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

m31aur commented on 2023-05-05 08:51 (UTC)

Not working after python 3.11 upgrades.

gavincc commented on 2023-05-05 07:42 (UTC)

Hi there, as of this weeks large chunk of updates, caffeine-ng no longer wants to appear/function, I take it this is down to the large python upgrade that occurred .

XenHat commented on 2022-12-29 00:11 (UTC)

Installing libappindicator-gtk3 is still required as of today.

whynothugo commented on 2022-07-15 10:33 (UTC)

xfconf-query is only required on XFCE. I'll make it an optional dependency and tweak the error output.

Updating the libnotify thing.

Hamra commented on 2022-07-15 10:17 (UTC)

Hi man, thanks for the update! Couple of issues. While running from command line, I noticed it constantly tries to run "xfconf-query" which I didn't have. So maybe add xfconf as dependency? The program also fails to work on libnotify 0.8, which was released recently. It works fine if I downgrade to 0.7. Maybe you can update gi.require_version("Notify", "0.7")?

lucasouza commented on 2022-07-13 14:29 (UTC) (edited on 2022-07-13 14:34 (UTC) by lucasouza)

Thanks whynothugo for the update it's working fine, on plasma i had to install the optional libappindicator-gtk3 to work.

Rhinoceros commented on 2022-07-13 02:59 (UTC)

Thanks for the update whynothugo! Much appreciated. Looks like you've changed the upstream repository though? Could you please change url in the PKGBUILD as well?

whynothugo commented on 2022-07-12 19:07 (UTC)

My bad, I had click installed. Can you retry?