Live data from Hacker News

~/.osx updated — sensible hacker defaults for OS X Mountain Lion

github.com

11–20 of 91 posts

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#11

     defaults write com.apple.LaunchServices LSQuarantine -bool false
This is a terrible idea. If your browser, or anything else, is ever conned into downloading and opening a file, the quarantine is the difference between "what the fuck, why is an executable I've never launched before trying to launch?" and silently getting owned.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#12
post #7

This isn't "sensible hacker defaults", it's more like "some guy's view of what Mac OS X should be like".

Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another. Clearly, you shouldn't be applying the whole file all at once before deciding what it is in there that you need or prefer. Have a look at it - there really is some good stuff in there. This file, and then all the cool tweaks to the Cocoa text engine that you can make, make OS X a tough…

fredsted's point is that it is not that. It's largely one person's personal preferences. I agree there's some good stuff in there, but there's also a lot I wouldn't like. I don't think it's a superset, just a set.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#13

This is the most important one, that's not been mentioned in OP: defaults write -g NSScrollAnimationEnabled -bool NO It disables the stupid "smooth scrolling". on Lion (and everything before that) you could disable it from the 'General' tab of SysPrefs, but now it's gone. What does it do? When you press spacebar in a web browser, or fn-downarrow in a text editor, it "smoothly" bring new content up from the bottom of…

Is there a way to change or disable the animation time when switching between spaces (or "desktops" as they are now called)?

To my knowledge, no. But the suggestions at http://apple.stackexchange.com/questions/17929/how-can-i-dis... help a little bit.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#14
post #7

This isn't "sensible hacker defaults", it's more like "some guy's view of what Mac OS X should be like".

Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another. Clearly, you shouldn't be applying the whole file all at once before deciding what it is in there that you need or prefer. Have a look at it - there really is some good stuff in there. This file, and then all the cool tweaks to the Cocoa text engine that you can make, make OS X a tough…

> Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another.

Eh, a lot of it is just some guy's arbitrary preferences, with little or nothing to do with "experienced or demanding users". Stuff like hiding the bookmarks bar in Safari or showing track notifications in the Dock is experience neutral.

Other than that, there's a few nice tweaks (like unhiding ~/Library), and the occasional disastrous idea (killing the executable quarantine).

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#15

defaults write com.apple.LaunchServices LSQuarantine -bool false This is a terrible idea. If your browser, or anything else, is ever conned into downloading and opening a file, the quarantine is the difference between "what the fuck, why is an executable I've never launched before trying to launch?" and silently getting owned.

I agree. It takes a second to read what you're opening and another second or less to click "Open". It should at least be commented out and if someone really needs it, they are doing it on their own accord.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#16
post #10

Is it really beneficial to disable disk image verification? What does OS X actually verify when it opens a disk image? It does take some time to verify disk images and I want to be sure of what I'm actually disabling.

It's probably calculating a checksum of the file to check for corruption.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#17
post #10

Is it really beneficial to disable disk image verification? What does OS X actually verify when it opens a disk image? It does take some time to verify disk images and I want to be sure of what I'm actually disabling.

It's taking a CRC32 of the contents of the image and comparing it to the expected value stored in the image.

I've very occasionally run across corrupted disk images, which is what this catches.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#18
post #12

Earlier quoted context omitted.

Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another. Clearly, you shouldn't be applying the whole file all at once before deciding what it is in there that you need or prefer. Have a look at it - there really is some good stuff in there. This file, and then all the cool tweaks to the Cocoa text engine that you can make, make OS X a tough…

fredsted's point is that it is not that. It's largely one person's personal preferences. I agree there's some good stuff in there, but there's also a lot I wouldn't like. I don't think it's a superset, just a set.

But how else would you describe a superset? I hate the glass dock and have hated it since 10.5 when it was introduced. You might like it and you'll stick with the default behaviour. For me it's a useful tweak. For you, you can live without it. It's not a superset of preferences - it's a superset of tweaks. Some of them you won't like, some of them are quite nice and this is a good place to find them all.

Or did you mean that you know of a whole bunch of other tweaks that should be on the list? If so, add them and send a pull-request.

Re: ~/.osx updated — sensible hacker defaults for OS X Mountain Lion

#19

Earlier quoted context omitted.

Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another. Clearly, you shouldn't be applying the whole file all at once before deciding what it is in there that you need or prefer. Have a look at it - there really is some good stuff in there. This file, and then all the cool tweaks to the Cocoa text engine that you can make, make OS X a tough…

> Well, yes - it is a superset of all the little tweaks that experienced and demanding users have found useful at one time or another. Eh, a lot of it is just some guy's arbitrary preferences, with little or nothing to do with "experienced or demanding users". Stuff like hiding the bookmarks bar in Safari or showing track notifications in the Dock is experience neutral. Other than that, there's a few nice tweaks (lik…

Eh, a lot of it is just some guy's arbitrary preferences, with little or nothing to do with "experienced or demanding users". Stuff like hiding the bookmarks bar in Safari or showing track notifications in the Dock is experience neutral.

Completely agree - but someone has to keep this compendium somewhere, and why not keep it as a piece of working code, rather than as a web page or something? If you end up having to use a lot of different Macs and have to set up new accounts for yourself on a regular basis, what you'd probably do is fork the project here, eliminate the stuff you hate, and then that's your acceptable-mac-environment-maker script.

occasional disastrous idea (killing the executable quarantine).

Out of curiosity, why is this disastrous? I'm not a fan of the idea, but I can imagine how someone might come to hate com.apple.finder.quarantine badly enough to do this? Maybe this particular tweak should be commented out by default, though.

Post reply on HN