Dear Jamf Community,
I've created a custom desktop wallpaper and have there components:
1.) Desktoppr
2.) A LaunchAgent plist
3.) A shell script that the launch agent calls
Owner and permissions are correctly set: root:wheel 644 for launch agent and script.
Locations:
Launch Agent is is: "/Library/LaunchAgents"
Script in is in "/Library/Scripts"
Desktoppr is installed in default location
Location of wallpaper: "Library/Desktop Pictures/"
Here is the plist and the script:
PLIST
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.BoltonCSD.set-wallpaper</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/set_wallpaper.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardOutPath</key>
<string>/var/log/set-wallpaper.log</string>
<key>StandardErrorPath</key>
<string>/var/log/set-wallpaper-error.log</string>
</dict>
</plist>
Script:
#!/bin/bash
# Wait for 10 seconds
sleep 10
# Set the desktop wallpaper using desktoppr
desktoppr "/Library/Desktop Pictures/Mascot_Logo_new.tif"
# Set the scale of the wallpaper using desktoppr
desktoppr scale center
# Set the background color using desktoppr
desktoppr color 294826
What would be the best way to push this out so that users have this set when they login? Please be specific about settings :-)
Thanks!
Phil