Wallpaper not cycling through photos randomly

I am trying to have Wallpaper (through System Settings) rotate through pictures in my photos album as my desktop background.

I have selected and added an album from the Wallpaper setting of system settings via "Add Photo Album" from the pulldown menu at the bottom.

It will display 1 picture on the desktop but when I click on Random (to cycle pictures) it reverts to the generic Mac background.

I have tried running through 'All Pictures', different Albums, individual (smaller albums), and nothing seems to work.

I have it selected to rotate every day but even changing it to all of the different options (5 seconds, when waking from sleep, etc) it doesn't work.


In addition, if I have it rotate through pictures not randomly (without checking the box) it only cycles through 2 pictures.


The photos file is located on an External drive with 3.5 TB available. It is loaded as the default photos album in Photos and doesn't show any delay when observing photos from the app.

The Photos file is too large to put on the main HD which is why it goes through the external HD.

I have run disk first aid on both volumes, checked the "Profiles" (there are none), tried restarting, and probably a few other things.


Mac Studio, Ventura 13.5.1, Apple M2 Ultra, 128GB Memory, 1TB HD space (with 511 GB available)

Apple Studio Display and a single monitor, connected via the thunderbolt cord (that was supplied with the monitor).

Thanks for your help,

Mark

Mac Studio, macOS 13.5

Posted on Sep 6, 2023 9:57 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 14, 2024 12:59 AM

I found my way to solve this.


  1. There is a perfect open source software "osxphotos": https://rhettbull.github.io/osxphotos/index.html
  2. I use this to export all of my photos tagged with "bg" from the Photos app to a file system folder "bg.osxphotos"
  3. This happens automatically via crontab on a daily basis
  4. In system preferences I use "bg.osxphotos" as the source of my random wallpaper photos
  5. Since there's no caching issue with file system folders (instead of Photos app) this works perfectly


crontab entry


50 9 * * * /usr/local/bin/photos-to-bg 


script /usr/local/bin/photos-to-bg


#!/bin/sh
rm -rf /Users/xxx/Pictures/bg.osxphotos/*
/Users/xxx/.local/bin/osxphotos export /Users/xxx/Pictures/bg.osxphotos --skip-original-if-edited --update --keyword "bg" 2>&1


Similar questions

51 replies

May 16, 2024 5:59 AM in response to braininpa

Thanks BRAININPA your fix worked for me on my 16" MBP running 13.6.6

Well to br more accurate your routine did some changes. Now I have pics out of my South Africa tour showing up randomly. I have over 6,000 photos in my photo app library. S Africa is only a small part of that.


If anyone knows how to increase the range of wallpaper, or how to fix the broken show all button when selecting all photos in the wall paper selection, please let us all know.


We all have purchased overly expensive apple products based on the Original Apple consumer satisfactions, but somehow Apple has lost their focus on satisfying their loyal consumers, and is into monetarizing their previously free user apps by breaking the originals and selling fixed product lines, broken operating systems. Makes one want to stop using our self controlled personal computers (haw! we have no such control) and pick up a book.


Amazing how a leader in progress has lots its vision and now is just a huckster. Dump Cook and this gang of swindlers. Where is Jobs when you need him?

May 28, 2024 5:30 AM in response to Mark_the_great

Still having this issue. I've also noticed it switches photos way too fast more like at 2 second intervals even though I have it set to 5 seconds. what a joke. and it still only goes through the same few photos none of these "fixes" do anything and should not be necessary.

You'd think this is the most basic thing one can expect from such an expensive state of the art laptop. What it tells us is that apple is not paying attention and does not care. Cutting corners everywhere like most companies now.

Apple support was clueless.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Wallpaper not cycling through photos randomly

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.