Posted on 12-13-2021 07:06 AM
I have a request from our IT Director to find a configuration option (or a deployable app) that allows a set of images to be rotated/shuffled through as the desktop background image for our machines. We do this for our Windows computers and he wants the Macs to match. He'd love it if the images could be pulled down from our Azure cloud storage blob, so that as the images are updated there, they'd get added to the shuffle. I think that might be a bit too much of an ask, so mainly I'm here to see if anyone has done anything like the first part: Sending images to the Mac and then setting them as a rotating/shuffling desktop background. Thanks for any help!
Posted on 12-13-2021 07:17 AM
The most stable way to do this would probably be to use multiple configuration profiles to define your wallpaper and cycle them out daily. Push multiple images to your Macs, and set up smart groups to cause the configuration profiles to rotate out changing the image set as the wallpaper.
You could use an app like wallpaperer to rotate out wall papers. You would not necessarily be able to "force" the wallpaper as you would be giving up control to that app.
As far as Azure integration. Maybe your IT director should be reminded Macs don't run Windows and are not made by Microsoft.
Posted on 12-13-2021 07:33 AM
Yeah, I'm aware, but I'm also aware that I run a very small (by comaprison) pool of Macs in a very extensive PC shop. The default ask is to use the tools we already have for our PC stuff instead of making (and likely re-paying for) a duplicate solution for our Macs. I knew this wasn't likely or (if possible) super easy, but I do know that there are provisions to build access to Azure's blob storage into iOS and MacOS apps. That was more for that half of the question. If there was an app that anyone knew could do this.
12-13-2021 07:50 AM - edited 12-13-2021 07:52 AM
Same here. About 400 Macs and 50,000 PC's. Its a constant "conversation" explaining why we cannot use GPO, or SCCM/Intune to manage our Macs or why Azure cannot integrate with macOS the same way it can with Windows with people who have no idea what they are talking about. Microsoft Tools are designed to work with Windows is something I say way too much. Its always someone trying to maximize the tools they spend millions on or trying to justify those tools expenses.
I think it’s deeper than the Azure question. You can mount the Azure Blob with terminal simply enough, and can script all of that with a service account to authenticate. Not something I would do as there are a lot of permissions to consider. I dont think you can tell macOS to use an SMB drive as its wallpaper host via MDM. It would have to be a manual process your users do, and if not set with a configuration profile its not managed so they could just change it back.
However this loops back to you can only set a static wallpaper with JAMF. You have to pick one image per configuration profile. If you try to hand this off to any app to handle, you lose any management over the wallpaper. The user could just change the wallpaper. Unfortunately I don’t think you can set a gallery as a wallpaper via MDM, though that may be a good feature request for both Apple and JAMF.
12-13-2021 08:13 AM - edited 12-13-2021 08:16 AM
*edit* replied to the thread, not the user. @AJPinto Yeah, definitely a good feature request. And we don't really mind if they change it after the fact. It's not on our "to enforce" list. We don't enforce it in Windows either. We mainly just want it as the default, neat and shiny, out of the box. If it changes later, meh. We may be able to settle on just using a static image instead of rotating them. If not though, any details you have on what logic you'd use for the smart groups.
12-13-2021 08:32 AM - edited 12-13-2021 08:34 AM
If you were to try to manage it with JAMF, which would force it also. You would need
In practice.
Policy 1 to run on Monday and Wednesday to set drop a log file we will call Flag1.log. Your EA will pick up Flag1 is on the device, and add it to smart groups accordingly. The Configuration Profile that is looking for Flag1.log will install.
Policy 2 to run on Tuesday and Thursday to drop a log file we will call Flag2.log. Your EA will pick up Flag2 is on the device, and add it to smart groups accordingly. The Configuration Profile that is looking for Flag1.log will uninstall as the device is no longer in that smart group. And your configuration profile that is looking for Flag2.log will install.
At as many rotations of this as needed. You can user server side restrictions to have the policies only run on certain days.
However, since management is not a concern at all for you. You could try to place several wallpapers in a directory, and have a script run from JAMF to use CLI to set the wallpaper. You may even be able to create a launch daemon that will randomly set or advance to next the wallpaper at login. That is a bit beyond my scripting wizardry though it sounds like a good challenge I may take up when I get time :).
Posted on 12-13-2021 08:21 AM
I suppose you could download new images on a regular schedule and package them? How often do they get updated/changed? Deliver them to the Macs and have the setting to "Change picture every xx minutes"?
So if you have a folder and it's got them all in there, it would just rotate through them all...
Odd ask, but I get that it's "from above"...
Posted on 12-13-2021 10:58 AM
Yeah, they don't change that often, so repacking or pushing another package with the new stuff wouldn't be too onerous. Is there a way to set the preference for "change picture ever xx minutes" through Jamf?
Posted on 12-13-2021 11:07 AM
Good question. The "find a way to make a Profile" routine...ugh.
Saw this, maybe it can help?
Posted on 12-13-2021 11:10 AM
See this page (linked at the bottom of Desktoppr page...