- System preferences
- App handling
- Misc
- Ressources
- License
- open Users & Groups
- create a new user (not a guest) with standard privileges and no password
- open Users & Groups
- Login Options > Automatic Login
- open Users & Groups
- go to the desired user
- open the Login Items tab
- a the desired app by clicking the + button
for more advanced startup options, see Autostart below
- open Energy Saver
- set Turn display off after to
never
- open Energy Saver
- set Put hard disks to sleep when possible to
false
- open Energy Saver
- open Schedule...
- set Start up or wake to
Every day
at desired time - set Sleep to
Every day
at desired time
- open Energy Saver
- enable Start up automatically after a power failure
- open Desktop & Screen Saver
- go to the Screen Saver tab
- set Start after to
Never
- open Notifications
- set Turn on Do Not Disturb to
from
to00:00
from23:59
- open Bluetooth
- go to Advanced...
- set Open Bluetooth Setup Assistant at startup if no keyboard is detected to
false
- set Open Bluetooth Setup Assistant at startup if no mouse or trackpad is detected to
false
- open App Store preferences pane
- set Automatically check for updates to
false
- open General
- set Automatically hide and show the menu bar to
true
- open Dock
- set Automatically hide and show the Dock to
true
- open Terminal.app
- enter
defaults write com.apple.finder CreateDesktop -bool false && killall Finder
to revert it : defaults write com.apple.finder CreateDesktop -bool true && killall Finder
- open Desktop & Screen Saver
- select a neutral solid color
~/Library/LaunchAgents/APPNAME.restart.plist
<?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>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>APPNAME.restart</string>
<key>ProgramArguments</key>
<array>
<string>/path/to/APPNAME.app/Contents/MacOS/APPNAME</string>
</array>
</dict>
</plist>
launchctl load ~/Library/LaunchAgents/APPNAME.restart.plist && sudo shutdown -r now
RunAtLoad
will launch the application the first time launchctl runs thisKeepAlive
will restart it if the application quits (CMD+Q or crash)
App Nap automatically reduces system resources to certain applications that are not currently in use. In some cases, it will prevent your app from running continuously.
- right click you app and click Get Info
- in General, set Prevent App Nap to
true
echo 'my message' | mail -s 'test' 'your@email.com'
- http://paulbourke.net/exhibition/automation/
- http://vormplus.be/blog/article/configuring-mac-os-x-for-interactive-installations
- http://apple.stackexchange.com/questions/837/automatically-relaunch-a-closed-application
- https://github.com/laserpilot/Installation_Up_4evr
- https://www.tekrevue.com/tip/disable-app-nap-os-x-mavericks/
- https://sfpc.hackpad.com/rPi-run-4-ever-qFgafqYPM54
MIT.