Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Bad solution / other hints address this properly' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bad solution / other hints address this properly
Authored by: rorya on Oct 03, '06 12:52:47AM

At the risk of sounding pedantic; this has been covered at least once before, with a hint I submitted years ago, which uses the "correct" solution. pmset(1) is the recommended tool to use. You should be using it, if you want to have fine grained control over the timeout of the various energy saver settings. This tool actually manages the plist mentioned in this hint. I really think it's always a good idea to refrain from editing the plists by hand, as it's a much more error prone process. On top of that as of 10.4 we're starting to see much more common use of the binary1 style plist for increased performance; and these don't work with a text editor.

For all of us hint contributors, we should always encourage the use of a supported tool to manage these plist files. There are many, many hints on this site that erroneously direct one to do these direct edits, rather than using the supported tools, like defaults(1). Probably as a result of experience on other unices, but this is a more rigid, layered system, so sticking to the management tools makes life much easier.

---
"Any sufficiently advanced technology is indistinguishable from magic" - Arthur C. Clarke



[ Reply to This | # ]
Bad solution / other hints address this properly
Authored by: magir on Oct 05, '06 02:49:20AM

The main reason I submitted the hint was to make sure that searching for relevant keywords reveal the correct hint. Just a few seconds after submitting the hint I sent another mail to Rob asking him to add information about pmset but sadly he ignored that. So basically I agree with what you write - sometimes it simply should be possible to change hints after submitting them ;-).



[ Reply to This | # ]