Live data from Hacker News

~/.osx — a collection of sensible defaults for OS X Lion

github.com

11–20 of 90 posts

Re: ~/.osx — a collection of sensible defaults for OS X Lion

#11
post #6

so this disables resumes for Preview: defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false Is there a way to disable resume for every app? Maybe it's just this? defaults write com.apple.* NSQuitAlwaysKeepsWindows -bool false

I believe you can do that via Settings > General.

well now i feel dumb

Re: ~/.osx — a collection of sensible defaults for OS X Lion

#14
post #6

so this disables resumes for Preview: defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false Is there a way to disable resume for every app? Maybe it's just this? defaults write com.apple.* NSQuitAlwaysKeepsWindows -bool false

I believe you can do that via Settings > General.

I’d love to get a command-line version though :)

Re: ~/.osx — a collection of sensible defaults for OS X Lion

#15
post #7

another useful one to avoid creating .DS_Store files on network volumes: defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Ah, forgot about that one. Thanks! Added: https://github.com/mathiasbynens/dotfiles/commit/18044c4c882...

Re: ~/.osx — a collection of sensible defaults for OS X Lion

#17

does defaults write com.apple.TextEdit NSQuitAlwaysKeepsWindows -bool false work as well? This feature is infuriating and buggy.

Yes, that works.

If — like me — you hate the Resume feature so much, you can disable it system-wide in System Preferences. I’m still looking for a command that does this :)

Re: ~/.osx — a collection of sensible defaults for OS X Lion

#19
post #3
post #2

Cool. I don't know that I'd call them sensible in general, though, even if they are sensible for you. Disabling disk image verification permanently, for instance, is probably a bad idea. Expanded save/load panel by default is awesome, though. So thanks!

I agree, the defaults that Apple set will probably be preferred by most people. This is more of a hacker optimized set of defaults.

I agree, but some of the new defaults Apple introduced are really weird.

For example, why does mounting a new volume no longer bring that window to the foreground? It used to be trivial to install an App by downloading a Disk Image from a web page: Safari would automatically open it when ready and it would pop into the foreground so you could install. Now, there is no feedback at all (apart from a quick "verifying image" dialog) that the volume was ever mounted. You have to remember to switch to Finder to locate the DMG. I'm sure Apple prefers you to use the App store to install apps, but this is still a big slap in the face for the usability of removable media like USB pen drives etc.

Other things, such as the press-and-hold special characters and especially the $%#@$@ autocorrect drive me mad personally, but I can at least see how they can be beneficial to people.

The rest, disabling animations, caches and everything are things I really would not call "sensible". I like optimising a lot of those little things for myself, but to say that is sensible for others is pushing it. Having said that, I do appreciate little gems like not having to expand the save dialog every damn time (why does it not remember that I prefer it that way?) :)

Post reply on HN