Skip to main content
Question

Forcing screen saver with script


Show first post

33 replies

Forum|alt.badge.img+4
  • Contributor
  • 14 replies
  • February 14, 2019

@jlang_remedy It seems after the 10.14.3 supplemental update (18D109) it no longer works again. Anyone know if these locations changed again?

/System/Library/Frameworks/ScreenSaver.framework/Resources/iLifeSlideshows.saver
/System/Library/Frameworks/ScreenSaver.framework/PlugIns/iLifeSlideshows.appex


Forum|alt.badge.img+9
  • New Contributor
  • 42 replies
  • February 14, 2019

@DakotaS96 The iLifeSlideshows.saver appears to be gone after 10.14.3. the .appex file remains in the same location though.


Forum|alt.badge.img+3
  • New Contributor
  • 2 replies
  • February 22, 2019

Yup. The screensaver doesn't work for me as well. I was using @jlang_remedy 's script. It's not working any more. Let me know if you guys find anything. We're testing Mojave atm. and I want it to be the latest for now whatever for our work. So, that when we deploy in future, people don't come ask for updating it.

Thanks!


Forum|alt.badge.img+8

Those of you who have used Mojave and the script. Is it correct you then have disabled SIP to get this working ? (I know the script work now on latest mojave release)


Forum|alt.badge.img+3

@jlang_remedy did you manage to resolve this on 10.14.3?

Seems like "Classic" isn't selected for us when we run the script.

Thank You!


Forum|alt.badge.img+3
  • New Contributor
  • 2 replies
  • September 12, 2019

this is what we use now. Works on all version of macOS.

#!/bin/bash
# grab the system's uuid

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

export osMajor=$(sw_vers -productVersion | awk -F"." '{print $2}')
export osMinor=$(sw_vers -productVersion | awk -F"." '{print $3}')

if [[ $osMajor -eq 14 ]] && [[ $osMinor -ge 2 ]]; then
  defaults -currentHost write com.apple.screensaver CleanExit -string "YES"
  defaults -currentHost write com.apple.screensaver PrefsVersion -int 100
  defaults -currentHost write com.apple.screensaver idleTime -int 600
  defaults -currentHost write com.apple.screensaver moduleDict -dict moduleName -string "iLifeSlideshows" path -string "/System/Library/Frameworks/ScreenSaver.framework/PlugIns/iLifeSlideshows.appex" type -int 0
  defaults -currentHost write com.apple.ScreenSaverPhotoChooser identifier -string "/System/Library/Images"
  defaults -currentHost write com.apple.ScreenSaverPhotoChooser LastViewedPhotoPath -string "/System/Library/Images"
  defaults -currentHost write com.apple.ScreenSaverPhotoChooser SelectedFolderPath -string "/System/Library/Images"
  defaults -currentHost write com.apple.ScreenSaverPhotoChooser SelectedSource -int 4
  defaults -currentHost write com.apple.ScreenSaverPhotoChooser ShufflesPhotos -int 1
  defaults -currentHost write com.apple.ScreenSaver.iLifeSlideShows styleKey -string "ShiftingTiles"
else
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.screensaver.$macUUID.plist CleanExit "YES"
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.screensaver.$macUUID.plist PrefsVersion -int 100
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.screensaver.$macUUID.plist idleTime -int 600
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.screensaver.$macUUID.plist moduleDict -dict moduleName "iLifeSlideshows" path "/System/Library/Frameworks/ScreenSaver.framework/Resources/iLifeSlideshows.saver" type -int 0
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.$macUUID.plist identifier "/System/Library/Images"
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.$macUUID.plist LastViewedPhotoPath "/System/Library/Images"
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.$macUUID.plist SelectedFolderPath "/System/Library/Images"
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.$macUUID.plist SelectedSource -int 4
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.$macUUID.plist ShufflesPhotos -int 1
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaver.iLifeSlideShows.$macUUID styleKey "ShiftingTiles"
  defaults write /Users/$USER/Library/Preferences/ByHost/com.apple.ScreenSaver.iLifeSlideShows styleKey "ShiftingTiles"
fi

defaults -currentHost write com.apple.screensaver askForPasswordDelay -int 0

cbruce
Forum|alt.badge.img+6
  • Contributor
  • 23 replies
  • December 4, 2019

Hi,
Great info here, but has anyone had to work with SaveHollywood utilizing a mp4 file? I am having 0 luck getting to work.


Forum|alt.badge.img+14
  • Valued Contributor
  • 107 replies
  • April 29, 2020

@sskamesh For the top part of the script, relating to Mojave and above, do you run this once per Mac and it applies to all current and future users of the Mac, or do you have to run it once per user?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings