defaults command, was Re: Keyboard Layout Fixes
defaults command, was Re: Keyboard Layout Fixes
- Subject: defaults command, was Re: Keyboard Layout Fixes
- From: Ben Byer <email@hidden>
- Date: Mon, 26 Nov 2007 22:53:51 -0800
On Nov 26, 2007, at 12:37 AM, Nathaniel Gray wrote:
On Nov 24, 2007 12:52 AM, Harald Hanche-Olsen <email@hidden>
wrote:
It has long been an irritant to me that there seems to be no
systematic way to discover what one can do with the defaults command
for most applications. I learn them a bit here, a bit there, from
various online fora. Is it supposed to be that way, or have I missed
some important source of such information? Of course one can learn a
bit from defaults read, but I believe that most options that aren't
set from the app's preferences window won't even be present in the
.plist file until you put them there youself, so it doesn't help
much.
You can always run "strings" on the binary and look for likely
suspects. (I'm only half joking...)
I agree, it would be nice if there was some way to query an app for
these things, but it's just one of those things that's never going to
be a priority for engineers at Apple. But hey, I'm just happy they're
there at all. Where would we be without them? The land of
translucent menu bars and reflective docks, that's where! ;^)
Generally speaking, anything that can *only* be set with the defaults
command is a gross hack, which means it will never be documented.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden