Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilmartin83/3131b19f2602aa5c00af to your computer and use it in GitHub Desktop.
Save neilmartin83/3131b19f2602aa5c00af to your computer and use it in GitHub Desktop.
Casper Self Service script - Set Colour Profile for all users
#!/bin/bash
cp /Users/$3/Library/ColorSync/Profiles/EIZO.icc /Library/UEL/Config/
/Library/UEL/Tools/customdisplayprofiles set -d 1 --user-scope any /Library/UEL/Config/EIZO.icc
exit 0
@neilmartin83
Copy link
Author

This uses Tim Sutton's customdisplayprofiles tool to set a default ICC profile for all users of a machine. Called from a Self Service policy by the technician managing the photography lab after they've calibrated the display and generated the named ICC profile.

Their workflow is:

Calibrate display and generate ICC profile with the name EIZO.icc
Launch Self Service, log in and run the policy which calls this script.

They do this on a weekly basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment