Have you considered using a Screen Saver instead of changing the
Desktop/Lock screen background? Screensavers in macOS Sonoma are tricky,
but we have a commercial product that will do the trick. You can
download a free demo at https://iscreensaver.co...
There's also some evidence that not only do you need to set the new
Sonoma plist located at ~/Library/Application
Support/com.apple.wallpaper/Store/Index.plist You must also set up the
old (pre-Sonoma) plist like thisdefaults -currentHost write
com.a...
Several thoughts:As described Here the base64-encoded binary plist
stores the absolute path name to the screensaver file; this means that
if the .saver file is stored in /Users/[username]/Library/Screen Savers/
you would have to recreate the plist fi...
If you are willing to go the paid route and need a screensaver now,
iScreensaver 6.8.6 has full support for macOS Sonoma, and lets you
sequence images, movies, 3D models (GLB format) etc.
https://iscreensaver.com/