# Installation setup ## Mac OSX ### Autolaunch Chrome Kiosk with local server port 5500 1. Create shell script (here job.sh or job.command) 2. Write this code : `#!/bin/sh` `# change to the directory where the script is located` `cd "$(dirname "$0")"` `# Run an http server and launch chrome in kiosk mode` `python3 -m http.server 5500 & ` `/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --chrome-frame --autoplay-policy=no-user-gesture-required --kiosk "http://localhost:5500" ` `echo done ` 3. Go to System settings > general > login items and add into open at login the job.sh file. ![Screenshot 2024-05-14 at 14.35.36](https://hackmd.io/_uploads/HyYSr1Z7A.png) 4. Make sure that the sh file is always opened with terminal app. ![Screenshot 2024-05-14 at 11.08.00](https://hackmd.io/_uploads/rkQdH1-m0.png) ### Remove Nomad Permit to autologin on mac mini from : https://gist.github.com/prossel/58f8f3ec064c6c42552504cb3efa85ce `# /bin/bash` `# To execute, open a terminal and source the file:` `# $ source removeNomad.command` `loggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'` `pkill "NoMAD"` `sudo rm -rf /Applications/NoMAD.app` `sudo rm -rf "/Library/Managed Preferences/com.trusourcelabs.NoMAD.plist"` `sudo rm -rf "/Library/Managed Preferences/$loggedInUser/com.trusourcelabs.NoMAD.plist"` `sudo rm -rf "/Users/$loggedInUser/Library/LaunchAgents/com.trusourcelabs.NoMAD.plist"` `sudo authchanger -reset` `exit 0`