Posted on 08-19-2015 07:31 AM
I have been tasked to get our SWF file screensaver that is being used currently in our windows computers to be replicated over to the Macs. Does anyone know if this is possible? I know there are programs out there that can make them into a screensaver file for the Mac, but what is the easiest way to force the screensaver with JAMF?
Posted on 08-19-2015 09:08 AM
I was using this back when I was still setting screensavers:
# set /System/Library/Screen Savers/Flurry.saver
# tested OK on 10.9.5 - no need killall cprefsd etc
if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
macUUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
fi
defaults write ~/Library/Preferences/ByHost/com.apple.screensaver.$macUUID.plist moduleDict -dict path -string "/System/Library/Screen Savers/Flurry.saver" moduleName -string "Flurry"
Obviously you can also use Casper's fixByHost function.
You can also check the current saver:
defaults -currentHost read com.apple.screensaver.plist
Posted on 08-19-2015 01:13 PM