Skip to main content
Solved

Wallpaper change via Configuration Profile not working (sort of)


Forum|alt.badge.img+5

I'm trying to change the wallpaper via the Configuration Profile. I set the Level to Computer Level, and the Restriction Payload is configured so that the Functionality tab has the "Desktop picture path" set to "/Library/Desktop Pictures/beach.jpg".

Although the Configuration Profile runs, the wallpaper is not applied (tried logging off, restarting etc).

However, if I place the wallpaper somewhere else (ie. if the wallpaper is set to /Users/Shared/beach.jpg), it applies the wallpaper as expected immediately the profile is executed.

Any ideas?

Cheers
Paul

Best answer by pwinfield

OK, I decided to go back to basics and surprisingly I found what works. Ready for this........

YOU DON'T NEED TO CATER FOR A SPACE IN THE PATH !

I changed the path to read : /Library/Desktop Pictures/Beach.jpg - no quotes, no backslashes and it works! Go figure!

It seems that this Desktop Picture path field takes the quotes literally as part of the path name (unlike everything else where you have to cater for the space).

Thanks everyone.

ps. i'm using v9.93

View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+3
  • New Contributor
  • 37 replies
  • March 7, 2017

The space might be throwing things off. Try "Library/Desktop Pictures/beach.jpg"


Forum|alt.badge.img+7
  • Valued Contributor
  • 69 replies
  • March 8, 2017

more of the permission of the file. please check if everyone has read access to /Library/Desktop Pictures/beach.jpg


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • 4 replies
  • March 9, 2017

Thanks for replies. Just to update this thread. I checked the permissions and all was ok from that end (as expected).

I have narrowed it down to the "space" contained in the folder "Desktop Pictures". To confirm this, I renamed "Desktop Pictures" to "DesktopPictures" (ie. removed the space). Editted & resent the config Profile and it applied OK.

So far I have tried inputting the path as :

"/Library/Desktop Pictures/Beach.jpg"
"/Library/Desktop Pictures/Beach.jpg"
/Library/Desktop Pictures/Beach.jpg

None of which work.


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • 4 replies
  • Answer
  • March 9, 2017

OK, I decided to go back to basics and surprisingly I found what works. Ready for this........

YOU DON'T NEED TO CATER FOR A SPACE IN THE PATH !

I changed the path to read : /Library/Desktop Pictures/Beach.jpg - no quotes, no backslashes and it works! Go figure!

It seems that this Desktop Picture path field takes the quotes literally as part of the path name (unlike everything else where you have to cater for the space).

Thanks everyone.

ps. i'm using v9.93


Forum|alt.badge.img+13
  • Valued Contributor
  • 389 replies
  • March 10, 2017

Methinks your judgement was being clouded by the "inferior operating system" rules....

A simple space will do
:-)


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