Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable the screensaver? #39

Open
egandro opened this issue Jun 11, 2019 · 1 comment
Open

How to disable the screensaver? #39

egandro opened this issue Jun 11, 2019 · 1 comment

Comments

@egandro
Copy link
Contributor

egandro commented Jun 11, 2019

Any (working) solution on how to disable the screensaver?

I only have a (very very) crude hack by a userscript.sh:

# echo "Disable screensaver"

# mv "${CHROOT}/Library/Screen Savers" "${CHROOT}/Library/Screen Savers.disabled"
# mv "${CHROOT}/System/Library/Screen Savers" "${CHROOT}/System/Library/Screen Savers.disabled"
@egandro
Copy link
Contributor Author

egandro commented Jun 25, 2019

Ok I have a solution. We should consider adding this to macinbox (by running it in a chroot envirorment).

OSX has profiles support - so it allows us to tweak system settings.

For the screensaver i found out so far:

  1. Download this file: https://github.com/rodchristiansen/Profiles/blob/master/Kiosk/DisableScreenSaver.mobileconfig

  2. Download this file: https://github.com/vmiller/profiles/blob/master/DisableScreenSaverPassword.mobileconfig

Run: sudo /usr/bin/profiles -I -F ./DisableScreenSaver.mobileconfig

Run: sudo /usr/bin/profiles -I -F ./DisableScreenSaverPassword.mobileconfig

It might be a very cool Idea to have a bunch of this Profiles in macinbox.

For example there are also solutions to whitelist Kexts without the db hack we currently use:

https://github.com/opragel/profiles/blob/master/macOS%20UAMDM%20-%20Kext%20Policy%20Example%20(Santa).mobileconfig

You can find a lot of profiles here:

https://github.com/clburlison/profiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant