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

Suppress new "Accessing Your Screen" notices from Control Center (in macOS 15.2) #6

Open
g0t4 opened this issue Jan 9, 2025 · 5 comments

Comments

@g0t4
Copy link

g0t4 commented Jan 9, 2025

FYI there appear to be new settings for kScreenCapturePrivacyHintDate and kScreenCapturePrivacyHintPolicy that seem to control the new Control Center notices (i.e. "Is Accessing Your Screen") that add another annoyance.

And there's a bug right now if your kScreenCapturePrivacyHintDate is in the past, it doesn't update it and instead just shows the new notice EVERY TIME you take a screenshot and start recording.

I was able to successfully set kScreenCapturePrivacyHintDate to a date a year in the future and that is working so far.

Just a heads up if you think it's worth updating this script to avoid this annoyance too... if I can get some time I will see if I can mod the script...

The kScreenCapturePrivacyHintPolicy appears to be the interval of the notices, might be able to set that to more than 30 days (2592000) ... I just can't confirm because of the bug where it won't update the kScreenCapturePrivacyHintDate when it shows an alert (thus the privacy hint spams you).

Here is the plist for CleanShot:

CleanShot 2025-01-08 at 17 45 10@2x

	<key>com.getcleanshot.app-setapp</key>
	<dict>
		<key>kScreenCaptureAlertableUsageCount</key>
		<integer>1</integer>
		<key>kScreenCaptureApprovalLastAlerted</key>
		<date>2025-01-09T19:47:18Z</date>
		<key>kScreenCaptureApprovalLastUsed</key>
		<date>2025-01-09T19:49:04Z</date>
		<key>kScreenCapturePrivacyHintDate</key>
		<date>2026-01-09T19:47:18Z</date>
		<key>kScreenCapturePrivacyHintPolicy</key>
		<integer>2592000</integer>
	</dict>
@CutzuDev
Copy link

Hey, did you manage to fix this?

@g0t4
Copy link
Author

g0t4 commented Feb 5, 2025

Yeah and now I forgot :) ... I modified that file above and pushed the dates way into the future

@macOS-Mavericks
Copy link

luckman212
Any chance you can update this for macOS Sequoia 15.3.1 please?

@lcx-0504
Copy link

Could you please update the script to support macOS 15.3.1 to avoid the notification in control center? That would be very helpful! Thanks.

@luckman212
Copy link
Owner

Sorry for the cobwebs that have collected here over the past few weeks. I'll be updating this repo shortly!

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

5 participants