Reading values with defaults(1) is somewhat complicated as the value may or may not be present. The former provides access to settings of current user, the latter to system defaults, should one exist. You can read the value with a command line utility called defaults(1): defaults read idleTimeĭefaults -currentHost read idleTime It is possible that there is no value, in case the user has decided to disable automatic screen blanking/saving. The value for screensaver settings for current user in (at least from 10.6.x upwards) stored in a property list file in ~/Library/Preferences/.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |