setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
246 stars 54 forks source link

Disable Mission Control to prevent users exiting SYM #18

Closed remcoverburgh closed 1 year ago

remcoverburgh commented 1 year ago

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe. A clear, concise description of the problem. (i.e., I'm frustrated when ...)

Disable Mission Control to prevent users exiting SYM

Describe the solution you'd like A clear, concise description of what you want to happen.

An option to toggle of or on the option for Mission Control.

Describe alternatives you've considered A clear, concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

simple commands like the following could do the trick.

"defaults write com.apple.dock mcx-expose-disabled -bool TRUE && killall Dock" "defaults delete com.apple.dock mcx-expose-disabled && killall Dock"

maybe like this part of the current script.

Temporarily disable jamf binary check-in (thanks, @mactroll and @cube!)

dan-snelson commented 1 year ago

Thanks, @remcoverburgh!

dan-snelson commented 1 year ago

Here's a link to the #setup-your-mac Channel Conversation.

dan-snelson commented 1 year ago

@remcoverburgh:

I looking at this today, my current understanding is that it's not possible to disable Mission Control in SYM; see Feature Request: Disable Mission Control when using blurscreen #198.

If you can find out how to pull it off, I'd be happy to add it to SYM.

Please advise. Thanks.

dan-snelson commented 1 year ago

@remcoverburgh:

Without additional information about the feasibility of this Feature Request, when 1.10.0 is "official," I'll mark this "Closed as not planned."

Thanks.

dan-snelson commented 1 year ago

Thanks for the link, @robjschroeder:

https://amsys.co.uk/how-to-disable-mission-control-and-spaces-in-os-x

dan-snelson commented 1 year ago

@robjschroeder:

Unfortunately, these are the same commands @remcoverburgh initially provided, which, in a single test on physical hardware with macOS 13.3.1, no longer appear to disable Mission Control.