The Caffeine app for preventing sleep/screen lock is not working on macOS Mojave.
Did I miss a setting to FAQ on making it work with macOS 10.14?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
TLDR: Access to the permissions in Mac OSX Mojave have changed. You have two options:
While this question wasn't entirely clear on whether the issue was with the
caffeinate command built in to macOS or the Caffeine utility written by Tomas Franzén of Lighthead Software, the comments and other answers seem to imply the latter.
After encountering the issue myself, I reached out to Tomas and inquired about taking over the development of Caffeine. He graciously has provided the source code under an MIT license, and I've made a quick updated version available here that will prompt for the needed accessibility permissions when running on Mojave.
I will be bringing additional support for Mojave as well as some improvements in the near future, but wanted to put this here for others who come across this question like I did and would like to continue using Caffeine.
Caffeine is still working! However, Apple has upped its security and privacy model a bit and caffeine fell prey to that. What you have to do to get it working properly again is the following:
caffeinate remains in Mojave, and it is certainly in High Sierra.
caffeinate is a command line utility; i.e. you invoke it from the terminal. If this is what you mean by "manual entry" then I'll guess you're not keen on doing things from the command line.
caffeinate is quite easy to use. It also has the advantage of being supported by Apple, doesn't require cluttering your system with additional apps that will require your time to maintain/upgrade. I could go on, but...
So that's my answer. I mostly just wanted to make it clear that the
caffeinate utility has not been deprecated by Apple.
Hey there—I’m the creator of an alternative called Theine. Back in 2015 I’ve decided to create my own caffeine-like app because of the lack of support for retina displays.
It’s available on the Mac App Store and doesn’t require Accessibility (== admin) privileges at all.