On 21 Jan 2011, at 12:41, Niels Grewe wrote: >> We have system-wide user defaults settings. >> We don't have system-wide app/service caches because (as mentioned earlier >> in this thread), there's no point, apart from some potential performance >> gain. > > Yes. I got that now (my mail somehow was delayed for about a day). I > will start telling people about the GlobalDefaults.plist when somebody > asks me awkward questions again…
I can't remember if this has been asked before, but is this a single file, or can we scan a directory for plists providing global defaults? For packagers, the latter is a lot more useful - they can then add and remove defaults trivially. For example, when you install a theme bundle, you can set it as the global theme, when you uninstall the theme, you unset this default. This is nontrivial to implement though. A typical use-case would be installing a user appkit bundle - you'd want to add this to an array in defaults on install or remove it from that array on uninstall. Can plmerge or similar do this, and is this documented somewhere that's easy for packagers to find? David -- Sent from my brain _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
