Package Details: caffeine-ng 3.4.2-2

Git Clone URL: https://aur.archlinux.org/caffeine-ng.git (read-only)
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: 100
Popularity: 0.424441
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 »

jfk commented on 2017-12-13 20:52

KDE Plasma 5.40.0 lts 4-9.68 nothing happens when I run the app or preferences. Moreover, no process is loaded (which is not the case with "caffeine").

libappindicator-gtk3 is installed.

WhyNotHugo commented on 2017-09-07 15:52

caffeine-ng depends on python-ewmh depends on python-xlib depends on python-six.

From your previous comment, it looks like you're doing a partial update. Partial upgrades are unsupported on ArchLinux (https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported), and that's probably what left your system on the broken state it's in.

You should run a full update to fix it, try running caffeine again.

archerie commented on 2017-09-07 10:32

Here's how installation looks. Any idea why python-six isn't getting installed as a dependency of python-xlib?

$ pacaur -y caffeine-ng
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages (2) caffeine-ng-3.4.0-2 python-ewmh-0.1.6-1
Repo Packages (5) python-dbus-1.2.4-2 python-setproctitle-1.1.10-2 python-wheel-0.29.0-2 python-xdg-0.25-4 python-xlib-0.19-1

WhyNotHugo commented on 2017-09-06 16:12

It IS included in the dependencies of that package:

$ pacman -Si python-xlib | grep Depends
Depends On : python python-six

That's what I was referring to by "your setup is broken"; you've somehow installed python-xlib without having its dependencies installed.

archerie commented on 2017-09-06 16:09

hobarrera: Shouldn't this be included in the dependencies on the package? Why do I need to install it separately?

WhyNotHugo commented on 2017-09-06 15:31

archerie: Looks like your setup is broken.

You need to install python-six, which is required by python-xlib. Make sure you install them both through pacman, not pip, otherwise one may lag out of date or alike.

archerie commented on 2017-09-06 14:30

I'm getting an error when trying to run caffeine, how do I fix this?

pkg_resources.ContextualVersionConflict: (six 1.9.0 (/usr/lib/python3.6/site-packages), Requirement.parse('six>=1.10.0'), {'python-xlib'})
...
pkg_resources.DistributionNotFound: The 'six>=1.10.0' distribution was not found and is required by python-xlib

WhyNotHugo commented on 2017-08-02 00:30

Thanks for pointing it out. Updated!

ainola commented on 2017-08-02 00:19

Thanks for maintaining this! The .install file isn't necessary any more as Pacman will automatically run those commands as hooks (https://wiki.archlinux.org/index.php/Pacman#Hooks)

varikonniemi commented on 2017-07-29 14:31

installing libappindicator-gtk3 breaks the timer functionality in the tray icon (it just goes missing) for me on both kde plasma and gnome (different computers). Works fine without it.