Deploy Hot Corners

fuddus
New Contributor

Is there as easy way to deploy single hot corner config , i need disable screensaver when cursor is moved to bottom right corner.

Regards

 

4 REPLIES 4

PaulHazelden
Valued Contributor

If I recall right, it is a defaults command in bash.

When I get in to work later today I will look and find it for you. I have it in my saved scripts somewhere.

PaulHazelden
Valued Contributor

Yep a defaults write command. Its a User individual preference, so will need to be pushed to each User account...

/usr/bin/defaults write /Users/<USERNAME>/Library/Preferences/com.apple.dock wvous-tr-corner -int 6

/usr/bin/defaults write /Users/<USERNAME>/Library/Preferences/com.apple.dock wvous-tr-modifier -int 0

The last bit is an Integer -int 6 Which will disable the screensaver. You can work these out by setting one and then doing..

defaults read com.apple.dock | grep wvous

It will show you the setting that you have just made.

MacJunior
Contributor III

@PaulHazelden I need to disable hot corners for screen saver but the method above is not working on Monterey ! 

any updated method?

I am using this with Monterey, and it is working.

This article gives more info on the codes required. 

https://community.jamf.com/t5/jamf-pro/systematically-configure-hot-corners/m-p/86516#M75633

Make sure if you run the script as root that you are changing the settings for the User, and that the setting change is given the correct permissions for the User to access them.