Live data from Hacker News

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

github.com

71–80 of 90 posts

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

#71
post #7

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

Is there a way to avoid creating .DS_Store files on specific local volumes? I used to have my Dropbox folder on my secondary (NTFS formatted) harddrive so I could use a symlink to share my Dropbox folder across OSX and my Windows 7 Bootcamp install instead of having duplicate Dropbox folders for each OS. It ended up spewing .DS_Store files all over my employer's company dropbox folders.

if i'm not mistaken, as long as you don't open the folder in Finder, they shouldn't be created. obviously not an ideal solution, so maybe periodic housekeeping is in order:

  find ~/Dropbox -name .DS_Store -exec rm {} \;

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

#72

I'm looking for the setting that stops OSX from asking me to retype my admin password 1000 times per hour. ME: Cmd+c Macbook Air: Seriously??? OK, if you really want to copy that text I'll let you, but first you'll need to prove that you're an administrator.

I've been developing on OSX for years and have never run into that scenario. What, pray tell, are you doing where CMD+C requires privilege elevation?

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

#73
post #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 :)

And there we go:

    defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
Commit: https://github.com/mathiasbynens/dotfiles/commit/7346f4c4592...

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

#74

I'm looking for the setting that stops OSX from asking me to retype my admin password 1000 times per hour. ME: Cmd+c Macbook Air: Seriously??? OK, if you really want to copy that text I'll let you, but first you'll need to prove that you're an administrator.

It's been a long time since I came up with this solution, and not necessary anymore for TextMate, but something along these lines may help you:

http://osdir.com/ml/editors.textmate.general/2005-05/msg0010...

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

#75
post #52

I'm sad that this is now necessary. Mac OS X 10.5 was the first version of OS X which I could start using for work immediately without installing any hacks (with the one exception of the Terminal Colors SIMBL plugin). My dad says, "I don't want to upgrade! Things work fine! They always dick around with everything!" He's talking about QuarkXPress and MS Office and whatnot, which is understandable. But, for the first t…

I'm really disappointed in Lion -- lots of gratuitous changes without much benefit. The Finder in particular is horrific. I do like the new Terminal.app.

I hadn't noticed anything different about the Terminal, so I see what you mean.

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

#76
post #72

I'm looking for the setting that stops OSX from asking me to retype my admin password 1000 times per hour. ME: Cmd+c Macbook Air: Seriously??? OK, if you really want to copy that text I'll let you, but first you'll need to prove that you're an administrator.

I've been developing on OSX for years and have never run into that scenario. What, pray tell, are you doing where CMD+C requires privilege elevation?

C'mon, that was a joke. It was meant to illustrate how trivial an operation you can run and still have OSX pull you up on it.

Basically, anything you do that alters the computer in any way causes it to complain at you. I'm looking for the setting where you can say "yes, seriously, I'm admining. leave me alone."

On the command line, you get sudo, which remembers your password for a while after you've entered it. As far as I can tell, there's no equivalent for OSX, so installing a single piece of software can involve half a dozen password prompts.

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

#77

What I want is something to reduce/eliminate the animation when switching spaces with the three finger swipe in Lion. It is so slow that I find it unusable.

The intensity of the swipe seems to affect the speed if that helps any. A fast swipe switches spaces almost instantly... I don't know how practical this is on a magic mouse but it works ok on a trackpad.

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

#78
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!

Have you ever once gotten a warning from disk image verification that saved you enough time to justify all the time you've spent waiting for it?

Once or twice it's tried to mount an image that didn't completely download.

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

#79
post #28

Earlier quoted context omitted.

Yes. Many times.

Really? What corrupted disk images are you opening? I've never had it report an error, and I download software in .dmg files all the time (and wait for verification all the time).

iOS SKDs are where it usually happens for me, but it has happened other times as well.

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

#80
post #52

Earlier quoted context omitted.

I'm really disappointed in Lion -- lots of gratuitous changes without much benefit. The Finder in particular is horrific. I do like the new Terminal.app.

I hadn't noticed anything different about the Terminal, so I see what you mean.

You can now set background image, you can redefine ANSI colors, there are a few new themes, and you can go full screen (useful on small screens).
Post reply on HN