News for hackers. Stuff that matters.
Re:The Odd Appeal Of Absurdly Long YouTube Videos by karamanolev on Monday May 29, 2023 @06:46AM (#36112649)
I do seriously occasionally play videos to keep my device awake - local mkvs on repeat though, not the consuming internet bandwidth type. Usually when leaving some janky update apps (hi Garmin) that really need to keep working for hours and don't care about keeping the PC awake. When twiddling with sleep settings I sometimes don't set them up right and playing a video in VLC always works.
Re:The Odd Appeal Of Absurdly Long YouTube Videos by laserdancepony on Monday May 29, 2023 @07:46AM (#36113017)
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

Re:The Odd Appeal Of Absurdly Long YouTube Videos by ethbr0 on Tuesday May 30, 2023 @02:05AM (#36121605)
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.

Re:The Odd Appeal Of Absurdly Long YouTube Videos by snowe2010 on Tuesday May 30, 2023 @04:00AM (#36122264)
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.
Re:The Odd Appeal Of Absurdly Long YouTube Videos by abwizz on Tuesday May 30, 2023 @03:31PM (#36129446)
so there is a separate management frontend for the hack that prevents the computer from shutting itself off?