Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.osx: value options reference? #257

Closed
kevinSuttle opened this issue Sep 19, 2013 · 8 comments
Closed

.osx: value options reference? #257

kevinSuttle opened this issue Sep 19, 2013 · 8 comments

Comments

@kevinSuttle
Copy link

Is therer an exhaustive reference of the value options for OSX?

defaults
launchctl
systemsetup 
pmset
nvram
scutil
usr/libexec/PlistBuddy  

Do you just look up the man pages?

And for even for items like:

find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete

How do you go about finding out these are even possible, let alone the things you can do with them? I know a lot comes from community contributions and Googling, but I'm just wondering if you have any references or research methods. Thanks Mat!

@kevinSuttle
Copy link
Author

I should add that it's nice that some of the .osx entries have a list of possible values, but it's not consistent. I'm honestly not sure if they should be separated since there would probably be so many, or if they should be made consistent and live inline. I lean heavily towards the former option. Maybe a DEFAULT_VALUES.md?

@kevinSuttle
Copy link
Author

man systemsetup is pretty comprehensive, but man defaults says that it was last updated a DECADE ago (at least the copyright). It's not useful at all really.

man launchctl is decent, but it doesn't give possible values per sé, more like options/flags.

man pmset really thorough.

man nvram is OK. Not much to it (I don't think there's much to mention).

man scutil is also OK, but it goes over my head honestly.

usr/libexec/PlistBuddy seems a bit shrouded in mystery.

@marcoslhc
Copy link

It would be nice to have a reference of the values for each [domain] [property] in defaults write there must be some listing @mathiasbynens use as a reference

@mathiasbynens
Copy link
Owner

Relevant: #5 (comment)

@marcoslhc:

[…] there must be some listing @mathiasbynens use as a reference

Sadly, http://mths.be/osx is the reference. It’s compiled from various sources (the most important ones are credited in the README): Twitter, blog posts, etc., but most of it was found by figuring out the key/value pairs for each setting manually.

@kevinSuttle
Copy link
Author

Interesting. Well, I think I speak for all of us when I say 'thanks for compiling all this and making it available.' Open source at its finest.

@kevinSuttle
Copy link
Author

Stumbled onto this, which may be of tremendous help. Interested to hear what you think.

https://github.com/kevinSuttle/OSXDefaults/blob/master/README.md

@kevinSuttle
Copy link
Author

Even better, I made a reference:

https://github.com/kevinSuttle/OSXDefaults/blob/master/REFERENCE.md

@marcoslhc
Copy link

Neat! Thanks! Might be good if it's included ib the main repository


Sent from Mailbox for iPhone

On Fri, Dec 6, 2013 at 3:05 PM, Kevin Suttle notifications@github.com
wrote:

Even better, I made a reference:

https://github.com/kevinSuttle/OSXDefaults/blob/master/REFERENCE.md

Reply to this email directly or view it on GitHub:
#257 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants