Remix.run Logo
chopete3 4 hours ago

This is great. Will check it.

Recently I bought a usb-c empty external monitor card to prevent mac from going to sleep. There are many of these external monitor simulators on Amazon.

I still see the laptop go to sleep many times with the external monitor simulator.

This is the one I bought.

4K 60Hz USB-C Type-C Virtual Display Adapter DDC EDID Dummy Plug Headless Ghost Display Emulator 2K 60hz1080P@120Hz

kageroumado 4 hours ago | parent | next [-]

The dummy display enables “clamshell mode,” which lets your MacBook stay awake even with the lid closed, provided that it’s also on AC power. If the MacBook is not connected to power, the clamshell mode isn’t activated and it will sleep normally.

Adrafinil simply disables the global sleep without spoofing hardware, and re-enables it once the agent is done working, the temperature is too high, or the battery is low.

chopete3 3 hours ago | parent [-]

My requirement was to keep the laptop on with the lid closed. Sleep normally when idle but wake up when a nomachine request comes in.

I will see how this app fits into my specific need.

I have to check this on Mac Sequoia 15.7

kageroumado 3 hours ago | parent [-]

The app is built for 26+, as I never tested it on earlier versions. It won’t solve your specific case, though, as it only prevents sleep. It won’t wake it once it’s already sleeping.

bluedino 4 hours ago | parent | prev [-]

Can't you just use a hot corner configured as "prevent sleep"?

fragmede 4 hours ago | parent [-]

How does it sleep when the agent is done working with the hot corner?

doubled112 4 hours ago | parent [-]

Have the agent write an app that moves the cursor our of the hot corner and trigger it when done.

darig 4 hours ago | parent [-]

[dead]