News for hackers. Stuff that matters.
Re:Update on Linux hibernation support when lockdown is enabled by yokoprime on Saturday January 01, 2022 @02:09PM (#29761531)
Serious question: i'm back at daily driving macOS at work after using other platforms for a while. Caffeine vs Amphetamine (app), whats the preferred one these days?
Re:Update on Linux hibernation support when lockdown is enabled by arminiusreturns on Saturday January 01, 2022 @03:00PM (#29762057)
May I suggest https://keepingyouawake.app/

As a gnu/linux person forced on Mac for work, this was what I settled on that worked reliably for me. (I found I would often crash iterm2 or alacritty and lose my terminal based caffiene commands)

Re:Update on Linux hibernation support when lockdown is enabled by masklinn on Saturday January 01, 2022 @02:12PM (#29761578)
Couldn't say, I'm using caffeinate because it's builtin, and more or less every time I need the feature it's because of a dev / shell thing, so the ability to run `caffeinate <command>` or `caffeinate -w <pid-of-program-I-forgot-to-run-through-caffeinate >` is what I need.

I'm pretty sure they both work through the standard power assertions API[0], so nothing precludes having both (in fact if you have amphetamine you necessarily have both) and using whichever's more convenient for your needs at any time.

Unlike AlDente (versus native) there should not be any conflict between caffeinate and amphetamine, because both simply signal to the system that some forms of sleep / power saving should not be used. If caffeinate says the disks can't idle-sleep and amphetamine says the system can't idle sleep, then neither will happen and that's that.

[0] https://developer.apple.com/documentation/iokit/iopmlib_h