Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On Windows I've been using "Don't Sleep" [1] and have now switched to "PowerToys Awake" [2] for one-click sleep prevention. On macOS I've used Caffeine [3] for that purpose. KDE on the other hand already has a built-in check box to prohibit sleeping in the power/battery control applet.

There seems to be quite a market for this teeny tiny tools.

[1] https://www.softwareok.com/?seite=Microsoft/DontSleep [2] https://learn.microsoft.com/en-us/windows/powertoys/awake [3] https://www.caffeine-app.net



On Windows, a VB script (so runnable with the default script runner) that toggles NumLock every so often is the classic.

Looks like PowerShell is the updated version: https://stackoverflow.com/a/9795442

Point being that it's runnable on any Windows machine, without additional binaries.


Caffeine is actually built into macs. You can just run ` caffeine` on the command line. I like to use hammerspoon to control it though, which adds the exact same icon to the taskbar, but I have one less thing to install.


so there is a separate management frontend for the hack that prevents the computer from shutting itself off?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: