My Mac Mini M1 with Monterey 12.7.4 has a problem
After a while the screen turns off no matter what I do in the settings
Så I want to launch caffeinate automatically when the computer boots
I've put the following .plist file into the folder: ~/Library/LaunchAgents
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>Caffeinate</string>
<key>ProgramArguments</key>
<array><string>>/usr/bin/caffeinate -d -t 20000</string></array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
But when it has booted up, caffeinate is not running according to Activity Monitor
Could anyone tell me what to do to run caffeinate so I don't have to launch it in Terminal?
After a while the screen turns off no matter what I do in the settings
Så I want to launch caffeinate automatically when the computer boots
I've put the following .plist file into the folder: ~/Library/LaunchAgents
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>Caffeinate</string>
<key>ProgramArguments</key>
<array><string>>/usr/bin/caffeinate -d -t 20000</string></array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
But when it has booted up, caffeinate is not running according to Activity Monitor
Could anyone tell me what to do to run caffeinate so I don't have to launch it in Terminal?
Last edited: