Author Topic: com.Boot.plist format  (Read 5028 times)

0 Members and 1 Guest are viewing this topic.

CyberGreg

  • Entrant
  • Posts: 7
com.Boot.plist format
« on: April 09, 2009, 09:35:00 PM »
I wrote an Automator script to update the com.Boot.plist file and it uses the "defaults write" command and works great! However when it updates the file it looks like it converts it to a standard XML plist file. I would think this would be okay but Chameleon won't read the file on the next reboot and complains it has an error parsing. The file opens just fine using plist editor.

What other options do I have to automate the "Theme" key in this file?

Thanks

zhell

  • Member
  • Posts: 46
Re: com.Boot.plist format
« Reply #1 on: April 09, 2009, 09:57:54 PM »
"defaults" writes a binary file. You can either use "/usr/libexec/PlistBuddy" or convert the binary back to plain text using "plutil".

CyberGreg

  • Entrant
  • Posts: 7
Re: com.Boot.plist format
« Reply #2 on: April 09, 2009, 09:59:40 PM »
SWEET! Thanks

is PlistBuddy installed on Leopard by default, i.e. it's not from XCode or anything is it?
« Last Edit: April 09, 2009, 10:01:29 PM by CyberGreg »