Most active commenters

    ←back to thread

    2039 points Gadiguibou | 12 comments | | HN request time: 1.85s | source | bottom
    1. maxfurman ◴[] No.36492219[source]
    I remember Caffeine used to be a third-party program that would prevent your Mac from sleeping, same behavior as the `caffeinate` here. Were they acquired and incorporated into the OS?
    replies(4): >>36492349 #>>36492366 #>>36492395 #>>36492806 #
    2. LanceH ◴[] No.36492349[source]
    Anyone know of a Ubuntu on WSL equivalent?
    replies(3): >>36492834 #>>36494143 #>>36517413 #
    3. alexdbird ◴[] No.36492366[source]
    I believe that Caffeine was a fairly simple GUI wrapper for the existing caffeinate command
    replies(2): >>36492609 #>>36500149 #
    4. meepmorp ◴[] No.36492395[source]
    It's been cli util on macos for 10+ years. I remember a gui util called caffeinated, though.
    5. emodendroket ◴[] No.36492609[source]
    Yes. There is a similar product called Amphetamine now.
    6. coldtea ◴[] No.36492806[source]
    Caffeine was a front-end by a third party company. Used it back in the day, the command existed already though.

    Since then I've moved to Amphetamine (same purpose menu-bar app, even stronger chemicals, has timed keep-awake etc).

    7. ◴[] No.36492834[source]
    8. redacted ◴[] No.36494143[source]
    https://learn.microsoft.com/en-us/windows/powertoys/awake to keep Windows itself awake?
    replies(1): >>36506215 #
    9. krackers ◴[] No.36500149[source]
    From what I recall, caffeine app predated the caffeinate command (which was only introduced in lion). Caffeine.app also disables sleep via a completely different method than caffeinate. The latter uses a IOPMAssertion which is the recommended way to do it because it is visible in `pmset -g assertions` whereas the former doesn't use that approach (I forgot how exactly it did it, there's like 4 different methods on osx to prevent sleep).
    10. LanceH ◴[] No.36506215{3}[source]
    Hoping for something in WSL land.
    replies(1): >>36549947 #
    11. input_sh ◴[] No.36517413[source]
    apt install caffeine
    12. redacted ◴[] No.36549947{4}[source]
    `vmIdleTimeout` in .wslconfig might be an option? Win 11 only though