Ask Your Question

caffeine (screensaver inhibitor) for Fedora installs unrelated software

asked 2018-07-14 13:20:46 -0500

fasulia gravatar image

caffeine is a screensaver inhibitor, and available for many distros, but the caffeine package for Fedora is a totally unrelated but identically named package!

"High performance, near optimal caching library based on Java 8"

Where is the screensaver inhibitor caffeine for Fedora?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2019-03-12 21:59:48 -0500

edit flag offensive delete link more


Thanks! I see caffeine-indicator is now included in the rpmsphere repo. I installed it but it fails to run with the error: File "/usr/bin/caffeine", line 3 SyntaxError: Non-ASCII character '\xc2' in file /usr/bin/caffeine on line 3, but no encoding declared; see for details

fasulia gravatar imagefasulia ( 2019-03-12 22:24:45 -0500 )edit

Sorry, please try again: dnf reinstall caffeine-indicator

bluebat gravatar imagebluebat ( 2019-03-13 00:40:39 -0500 )edit

Thank you @bluebat now caffeine-indicator is working! Aside, I'm seeing this proposed change from rpmsphere: Installing group/module packages: glibc-chinese-langpacks noarch 2.28-99 rpmsphere-noarch 875 k replacing glibc-all-langpacks.x86_64 2.28-26.fc29. Is this expected? glibc-all-langpacks is from the System updates repo, so I'm not sure this change is a good idea for me... Also, is there a preferred place (maybe github?) for issues or questions about rpmsphere?

fasulia gravatar imagefasulia ( 2019-03-13 13:48:51 -0500 )edit

Oh! My bad. The bug should be fixed. Reporting issues through github is OK, but don't expect too much :)

bluebat gravatar imagebluebat ( 2019-03-13 20:25:23 -0500 )edit

answered 2018-07-14 15:06:53 -0500

genodeftest gravatar image

As the description is correct on the fedora package, it looks like nothing is wrong here.

Sometimes two different pieces of software have the same name. This time, the Java package was faster.

It doesn't look like the screensaver inhibitor is bundled for Fedora anywhere. You may want to get the source code from upstream and compile it yourself.

Anyway, I don't see this software being very useful. If a media player fails to use inhibitors correctly, the media player should get fixed (which is trivial). Adding more software just adds unnecessary complexity.

edit flag offensive delete link more


So the disappointing answer is screensaver inhibitor caffeine is nowhere for Fedora. While there's nothing wrong with the Java package that installs, I do see something wrong with 1) having a package naming clash that goes against every other distro in the list, 2) not providing the expected software at least with a different name.

fasulia gravatar imagefasulia ( 2018-07-14 18:30:14 -0500 )edit

There is no global software name registry to prevent these name clashes, so they will happen.

1) is probably there for historical reasons. If you'd change it, might break something. I've reported a bug.

2) Fedora packages are maintained by volunteers. If you want to step up packaging the screensaver-inhibiting caffeine, have a look at the Packaging Guidelines.

genodeftest gravatar imagegenodeftest ( 2018-07-15 03:06:38 -0500 )edit

The setup script in the source code has options to build packages, but building the rpm fails for me. Thanks for reporting the naming bug. Not only would renaming the java-caffeine make it clearer, but it would open the possibility of adding the screensaver inhibitor caffeine package and be consistent with just about every other distro.

fasulia gravatar imagefasulia ( 2018-07-15 14:28:42 -0500 )edit

answered 2018-07-15 09:36:49 -0500

Period22 gravatar image

The Caffeine screensaver inhibitor extension is here:

In order to install Gnome extensions with Firefox, you need to install this package first:

sudo dnf install chrome-gnome-shell

Alternatively, you can also use Web (Epiphany).

edit flag offensive delete link more


I don't use gnome shell. Also, I would rather software not depend on the desktop environment. Plus, according to their github page, that extension is no longer maintained and has a known bug. :/

fasulia gravatar imagefasulia ( 2018-07-15 14:24:05 -0500 )edit

Ah, ok, I didn't know you don't use Gnome. It works fine for me on Gnome with Fedora 28, and there even was an update recently.

Period22 gravatar imagePeriod22 ( 2018-07-15 22:40:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-07-14 13:20:46 -0500

Seen: 287 times

Last updated: Mar 12