AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Totalfinder big sur12/2/2023 ![]() ![]() That’s because the application isn’t actually using that file - it’s a leftover preference file from some earlier version of macOS. Notice how this isn’t the same information as what we got from or -app TextEdit. NSNavLastUserSetHideExtensionButtonState = 0 NSNavLastRootDirectory = "~/Documents/Word Processing docs" ![]() ![]() I suspect the human-visible application names aren’t always the names used internally by the OS.įinally, you can specify the path to the plist file holding the preferences (must be an absolute path - beginning with either a / or a ~ character) instead of a domain or app name: $ defaults read ~/Library/Preferences/ For instance, -app finder gives me an error, even though the domain works. NSNavLastUserSetHideExtensionButtonState = 1 Ī domain can also be specified by application name with the -app argument: $ defaults read -app TextEditīut this doesn’t seem to work for all applications. For instance, to see TextEdit preferences ( domain): $ defaults read ĪVPlayerViewShowsDurationInsteadOfTimeRemainingDefaultsKey = 1 To dump all of the preferences in a single domain, use defaults read followed by the name of the domain. To dump all of the preferences system-wide (massive amounts of data), use defaults read: $ defaults readĪKLastEmailListRequestDateKey = " 03:14:11 +0000" It looks like the command-line defaults tool can do this. I can’t say it’s immediately obvious to me right now how to do that. … you’d need to somehow grab all prefs and dump them to a file by hand. Or, on a related note, is there a straightforward way to lookup the mapping between an AppleScript property (as in: set the column width of the front Finder window to 206) and what it is actually modifying in terms of Finder pref? What is the key for the column width in Finder? I can see a gazillion keys in my Finder prefs, and just going through the list I’ve spotted several that could be it, but I’m not certain. In the past I wrote an Apple Script that just sets these attributes and I run that script (as a self-contained app) whenever Finder restarts.īut since we just had this discussion about changes in the way app preferences are handled since Mojave, it occurred to me that I should just edit the Finder’s preferences (using cfprefs of course) to adjust its defaults for window position, size, and column width to whatever I want. So since forever I’ve suffered from this issue that Finder across reboots does not preserve my desired window position, size and column width (my default Finder window is column view). ![]()
0 Comments
Read More
Leave a Reply. |