Skip to main content
Answer

Wallpaper change via Configuration Profile not working (sort of)

  • March 7, 2017
  • 5 replies
  • 58 views

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

5 replies

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

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


Forum|alt.badge.img+7
  • Valued Contributor
  • 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
  • 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
  • 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
  • March 10, 2017

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

A simple space will do
:-)