Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Show random desktop picture immediately on login Desktop
You can select a folder or iPhoto album in the Desktop subpane of the Desktop & Screen Saver System Preferences panel and tick the Random Order checkbox. This works fine until you logout / login or restart -- then the image defaults back to the Lightning picture until the next 'change picture' interval occurs.

For example, if you have Change Picture set to Every Day, on restart you won't see a picture from your chosen folder until up to 24 hours later. Meanwhile you're stuck with the default (IMHO, ugly!).

Solution? Go into the preferences pane, untick and retick the Random Order box, and your desktop is refreshed with a new random image. You can automate with a short applescript and add it to Accounts » Login Items:
tell application "System Events"
  tell current desktop
    set random order to false
    set random order to true
  end tell
end tell
This bug has persisted on several of my machines through 10.5.7.

[robg adds: I don't see this issue on my laptop, which is presently booting between two OSes regularly -- when restarting in 10.5.7, one of my random images comes up. However, if it's happening to you, this is a pretty simple workaround.]
    •    
  • Currently 2.30 / 5
  You rated: 2 / 5 (10 votes cast)
 
[7,816 views]  

Show random desktop picture immediately on login | 8 comments | Create New Account
Click here to return to the 'Show random desktop picture immediately on login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Show random desktop picture immediately on login
Authored by: CHM on Jun 11, '09 08:03:41AM

I have noted this bug when switching between user accounts (via fast switching or logout/login) and was pretty annoyed for quite some time. I found a little different work-around. I unchecked the "random order" box, selected one of my pictures from the folder I wanted to use for the random pictures. Then , switched accounts, did the same thing there. Went back to the first account, re-checked "random order", switched accounts again, re-checked "random order".

The result is that when you switch accounts, you get that first picture you selected every time as the first in a series of otherwise random selections. It's not a fix, but it's better than dealing with the lightning photo every time.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: geoffliang on Jun 11, '09 09:05:56AM

Alternatively, you can "killAll Dock" in Terminal.

I have created an app for that using Automator. So now everytime I want to change my desktop background I just use Spotlight to open that app.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: dethbunny on Jun 11, '09 02:20:19PM

I haven't seen that issue at all - is there something else going on that prevents the picture fom being available at login? For example, do you have your iPhoto library on an external drive? If so, the volume may not be mounted at the time the background is first displayed, since OS X doesn't mount external drives until a user logs in.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: bmishkin on Jun 12, '09 06:53:35AM

My iphoto folder is on an external drive - that must be it. Good thinking.

I also sometimes put a folder of background images on my idisk so I can use desktop backgrounds across multiple machines. That probably suffers from the same problem.

So if you do either of those, this workaround can help.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: CHM on Jun 12, '09 11:12:15AM

My iPhoto library is not on an external drive, nor have I moved it to a location different from the default, etc. I only noticed the desktop picture bug when I added a second user and only see it happen when I switch user accounts. So if you're not doing that, then i wouldn't expect you to see it either.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: shoobe01 on Jun 19, '09 03:06:44PM

Still no idea what you guys are talking about. I don't use iPhoto, but the images for random are on an external drive. And they appear immediately at signon.

Sure, the change happens 24 hours to the second after you check the box (or a few moments after signon/wakeup to the system if it was sleeping during the change) but the picture shown before that is still the previous personalized one in my photo library.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: mmnw on Jul 02, '09 02:28:27PM

It's some days since this hint was posted. But I just stumbled across it.

About not everyone experiencing this bug: it seems to me this mainly appears in conjunction with fast-user-switching being enabled (at least I couldn't reproduce it with fast user switching deactivated).

The desktop image will not always default back to the "lighting" image. Depending on your configuration it will default back to the last image selected before random was activated. So most user won't even notice this bug ...

Btw: with fast user switching enabled it will also happen after a user switch, not only after login. This is most annoying.



[ Reply to This | # ]
Show random desktop picture immediately on login
Authored by: aaronl45 on Jul 23, '09 03:09:28PM
I am experiencing this bug but I can't seem to get it to stop. I tried your suggestion of
tell application "System Events" tell current desktop set random order to false set random order to true end tell end tell
but it's still defaulting back to the same image. Am I doing something wrong? Matt from sell gold

[ Reply to This | # ]