Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to update my It works but the "ChangeTime" needs to be a Number/Integer in order to work. I tried to place a -int into the code but it gives an error.

defaults write Background '{default = {Change = TimeInterval; ChangePath = "/Users/Username/Pictures/Wallpapers"; ChangeTime = 60; ImageFileAlias = <data>; ImageFilePath = "/Users/Username/Pictures/Wallpapers/05.jpg"; LastName = "Mandy Moore011.jpg"; NewChangePath = "~/Pictures/Wallpapers"; ; Random = YES; Placement =Crop;};}'>

Is there a other way or does somebody know how to insert a Number/integer?

share|improve this question

Here are a few errors I found when trying to run your snippet:

  • There is an extra semi colon after NewChangePath = "~/Pictures/Wallpapers"; ;
  • I'm not sure if ImageFileAlias = <data>; is abbreviated, but that caused the script to choke as well.
  • There is a > at the end of your command without a location to redirect the output of the command.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.