Search Criteria
Package Details: caffeine-ng 4.2.0-2
Package Actions
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: | 127 |
Popularity: | 0.56 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2024-09-24 00:34 (UTC) |
Dependencies (16)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libayatana-appindicator
- libindicator-gtk3
- libnotify (libnotify-gitAUR)
- python-click
- python-dbus
- python-ewmhAUR
- python-gobject (python-gobject350AUR)
- python-pulsectlAUR
- python-setproctitle
- python-wheel
- python-xdg (python-pyxdg)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- scdoc (scdoc-gitAUR) (make)
- xfconf (xfconf-gitAUR, xfconf-develAUR) (optional) – Support for Xfce presentation mode.
Required by (1)
- pyload-ng (optional)
Sources (2)
yochananmarqos commented on 2021-01-18 15:13 (UTC)
pkr commented on 2021-01-18 12:42 (UTC) (edited on 2021-01-18 12:43 (UTC) by pkr)
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 (UTC)
python-setuptools-scm
is missing from makedepends().
The options() array is not necessary, neither apply here.
Rhinoceros commented on 2020-08-25 00:16 (UTC)
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 (UTC)
Would be great if possible!
whynothugo commented on 2020-08-11 06:56 (UTC)
Hmm.. make make sense to make changes upstream and add a flag to determine if appdindicators are used or not.
PhotonX commented on 2020-08-10 20:27 (UTC)
I tried to figure out what is happening and looks like network-manager-applet pulled libappindicator-gtk3 as new dependency in a recent update (June 22): https://github.com/archlinux/svntogit-packages/commit/7640a2bd557fe84813207ef4d5e35bb5aece6c54#diff-8d0411b338c83cd8cd8ad9d9db127101
Is it possible to build caffeine without appindicator usage? Maybe make a different package with corresponding build options?
darose commented on 2020-08-10 14:24 (UTC)
I think I remember the left-click toggle on/off working a while back. Not sure when/why that changed. Kind of a nuisance though.
whynothugo commented on 2020-08-10 13:33 (UTC)
@emontenegro Sounds like something produced by using appindicators, not something that can be controlled on the caffeine side.
emontenegro commented on 2020-08-01 01:15 (UTC)
Is it possible to switch caffeine just with left click on icon? Now works just popup menu via right click, then Enable - Disable... (Manjaro i3)
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).