Re: Prevent screen saver from starting, but don't prevent computer sleep
Re: Prevent screen saver from starting, but don't prevent computer sleep
- Subject: Re: Prevent screen saver from starting, but don't prevent computer sleep
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Sun, 28 Jun 2020 21:31:04 +0200
>> Does anyone know how to programmatically disable macOS from launching the
>> screen saver on macOS?
>> I would like to do that in one of my apps.
>
> Not sure in general, but in a managed host situation this type of system
> modification could be disallowed by policy. Even admin users of a managed
> system can be barred from changing settings like these as they can affect
> security, eg when passwords must be prompted. You wouldn’t want any person
> to be able to walk by and quit your app and have access to the user’s files.
Yes, agreed. That is why I would like to disable ONLY the screensaver,
NOT System Preferences / Security / Require password ...
Ideally, my app could bring up the password prompt itself before quitting.
Is that possible?
Best regards, Gabriel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden