Hello,
First of all my setup:
Jamf Pro cloud 10.37.2
MacOS Monterey 12.3.1 on i9 2019 MBP
I received from the Marketing team a screensaver. I need to deploy this .saver to macOS devices. So:
1. I'm deploying it as DMG to ~/Library/Screen Savers/MovieSaver.saver - which is working great. I have no issues with setting it manually.
2. I'm trying to enforce macOS to use this screen saver with idle 300s. Which I cannot do via:
A) pre-configured Configuration profile
B) manual Configuration profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>idleTime</key>
<integer>10</integer>
<key>moduleDict</key>
<dict>
<key>moduleName</key>
<string>MovieSaver</string>
<key>path</key>
<string>~/Library/Screen Savers/MovieSaver.saver</string>
<key>type</key>
<integer>0</integer>
</dict>
</dict>
C) Bash script in very various configuration
user=$(`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'`)
huuid=$(system_profiler SPHardwareDataType | awk '/Hardware UUID/ {print $3}')
screenSaverModuleName="MovieSaver"
screenSaverFileName="MovieSaver.saver"
screenSaverPath="/Users/shared"
defaults -currentHost write com.apple.screensaver moduleDict -dict moduleName $screenSaverModuleName path $screenSaverPath/$screenSaverFileName/ type 0
killall cfprefsd
As you can see I've tried to deploy and enforce that from /Users/Shared, and from /Library instead of ~/ Library
nothing worked... :(
What I'm doing wrong?
The closest solution was the mobileconfig, but it won't choose the screensaver, only set the idle.
Thanks in advance
Alex
P.S. I'm fighting with it since 16 man-hour