Package Details: caffeine-ng 3.5.1-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://github.com/caffeine-ng/caffeine-ng
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: 1.09
First Submitted: 2014-10-19 05:26
Last Updated: 2021-01-19 08:39

Latest Comments

1 2 3 4 5 6 ... Next › Last »

sleedy commented on 2021-02-16 23:35

@yochananmarqos

I do have hicolor-icon-theme installed, though, and it still doesn't work

yochananmarqos commented on 2021-02-15 17:07

@sleedy: Apparently hicolor-icon-theme is a missing dependency.

sleedy commented on 2021-02-15 16:29

3.5.1 doesn't work on KDE Manjaro; running in the terminal gives this:

/usr/lib/python3.9/site-packages/caffeine/main.py:61: 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

INFO:caffeine.core:Caffeine is starting up...

(caffeine:10901): Gtk-WARNING **: 15:28:52.979: Could not find the icon 'caffeine'. The 'hicolor' theme

was not found either, perhaps you need to install it.

You can get a copy from:

http://icon-theme.freedesktop.org/releases

Traceback (most recent call last):

File "/usr/bin/caffeine", line 33, in <module>

sys.exit(load_entry_point('caffeine-ng==3.5.1', 'gui_scripts', 'caffeine')())

File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 454, in main

main = GUI(arguments["--preferences"])

File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 251, in __init__

get_icon_pixbuf(16),

File "/usr/lib/python3.9/site-packages/caffeine/icons.py", line 48, in get_icon_pixbuf

pixbuf = icon_theme.load_icon(icon_name, size, Gtk.IconLookupFlags.NO_SVG)

gi.repository.GLib.Error: gtk-icon-theme-error-quark: Icon 'caffeine' not present in theme (null) (0)

Downgrading to 3.4.2 works, and it seems that the way icons are imported was changed in 3.5.1.

earlybird commented on 2021-01-19 05:57

Does not launch - this is what you get if launched in the terminal

caffeine /usr/lib/python3.9/site-packages/caffeine/main.py:61: 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 33, in <module> sys.exit(load_entry_point('caffeine-ng==3.5.0', 'gui_scripts', 'caffeine')()) File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 454, in main main = GUI(arguments["--preferences"]) File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 155, in init self.core = Caffeine(self.__process_manager) File "/usr/lib/python3.9/site-packages/caffeine/core.py", line 53, in __init GnomeInhibitor(), File "/usr/lib/python3.9/site-packages/caffeine/inhibitors.py", line 57, in init super().init(self) TypeError: init() takes 1 positional argument but 2 were given

darose commented on 2021-01-19 02:40

New 3.5.0 version seems buggy. Caffeine seems to activate constantly, even when I'm not in full-screen mode.

yochananmarqos commented on 2021-01-18 15:13

@pkr: This commit fixes the issue.

Use this PKGBUILD for now

@WhyNotHugo: python-pulsectl is missing from dependencies.

pkr commented on 2021-01-18 12:42

Getting error when starting from console after update today:

Traceback (most recent call last): File "/usr/bin/caffeine", line 33, in <module> sys.exit(load_entry_point('caffeine-ng==3.5.0', 'gui_scripts', 'caffeine')()) File "/usr/bin/caffeine", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 54, in <module> from .core import Caffeine # noqa: E402 File "/usr/lib/python3.9/site-packages/caffeine/core.py", line 26, in <module> from pulsectl import Pulse ModuleNotFoundError: No module named 'pulsectl'

Looks like the dependencies are not completely listed or am I doing something wrong?

yochananmarqos commented on 2021-01-17 02:35

python-setuptools-scm is missing from makedepends().

The options() array is not necessary, neither apply here.

Rhinoceros commented on 2020-08-25 00:16

With the bundled desktop file, the caffeine icon looks blurry for me in KDE Plasma [a]. However, if I quit and relaunch caffeine, it looks crisp. On my system, adding a delay to the desktop file also results in a crisp icon [b]. I'm not sure if the caffeine launch should wait until some other process is complete, but the sleep hack works fine, i.e. change the line to Exec=/usr/bin/sleep 20 && /usr/bin/caffeine.

[a] https://i.imgur.com/ntaIcst.png [b] https://i.imgur.com/nc9YRfR.png

PhotonX commented on 2020-08-11 19:08

Would be great if possible!