Re: Re: How to adjust sleep time via the command line
It can be interesting just to look though /usr/bin, and run man on each one of the files there. That can tell you quite a bit.
I mentioned the terminal because I think it's an avenue to a better solution for TigerPRO's trouble. He wants to be able to easily walk away from his computer with the screen turned off. Changing the system pref isn't exactly easy. I counted 5 clicks to change the mode. It doesn't appear to be scriptable with Applescript either (although I'm no expert at that, so maybe there is a way...)
However, the command line way of changing the same setting could be put in a shell script, and turned into a 1-click pair of dock icon that toggles the display sleep mode. If one's actually serious about sticking with a repetitive process like this, it needs to be easy... otherwise it's easier just stick with a 5-minute display sleep time like I do.
Originally posted by TigerPRO
How do you learn about these UNIX control utilities? Is there a comprehensive list or manual somewhere? It would be interesting to know how to use them.
It can be interesting just to look though /usr/bin, and run man on each one of the files there. That can tell you quite a bit.
Originally posted by Counterfit
Also, if you want to change the display sleep time, it's in System Preferences, under the Display pane. I don't know why you went to the Terminal.
I mentioned the terminal because I think it's an avenue to a better solution for TigerPRO's trouble. He wants to be able to easily walk away from his computer with the screen turned off. Changing the system pref isn't exactly easy. I counted 5 clicks to change the mode. It doesn't appear to be scriptable with Applescript either (although I'm no expert at that, so maybe there is a way...)
However, the command line way of changing the same setting could be put in a shell script, and turned into a 1-click pair of dock icon that toggles the display sleep mode. If one's actually serious about sticking with a repetitive process like this, it needs to be easy... otherwise it's easier just stick with a 5-minute display sleep time like I do.