1DEFAULTS(1)                  GNUstep System Manual                 DEFAULTS(1)
2
3
4

NAME

6       defaults - read or modify GNUstep user defaults
7
8

SYNOPSIS

10       defaults [ action ]
11
12

DESCRIPTION

14       The 'defaults' command lets you to read and modify a user's defaults.
15
16       This program replaces the old NeXTstep style dread, dwrite, and dremove
17       programs.
18
19       If you have access to another user's defaults database, you may include
20       '-u  username'  before  any  other  options to use that user's database
21       rather than your own.
22
23       defaults read [ domain [ key] ]
24
25              read the named default from the specified domain.  If  no  'key'
26              is given - read all defaults from the domain.  If no 'domain' is
27              given - read all defaults from all domains.  A domain is  either
28              an  application  name,  or  "NSGlobalDomain",  for  system level
29              defauts.  (Running programs can access two other domains, "NSAr‐
30              gumentDomain",  for  command  line arguments, "NSRegistrationDo‐
31              main", a second-chance domain in which "defaults  for  defaults"
32              can be registered, and possibly domains for specific locales.)
33
34       defaults readkey key
35
36              read the named default from all domains.
37
38       defaults write domain key value
39
40              write 'value' as default 'key' in the specified domain.  'value'
41              must be a property list in single quotes.
42
43       defaults write domain dictionary
44
45              write 'dictionary' as a replacement for  the  specified  domain.
46              'dictionary' must be a property list in single quotes.
47
48       defaults write
49
50              reads  standard  input  for  defaults  in the format produced by
51              'defaults read' and writes them to the database.
52
53       defaults delete [ domain [ key] ]
54
55              remove the specified default(s) from the domain.  If no 'key' is
56              given - delete the entire domain.
57
58       defaults delete
59
60              read  standard  input  for a series of lines containing pairs of
61              domains and keys for defaults to be deleted.
62
63       defaults domains
64
65              lists the domains in the database (one per line)
66
67       defaults find word
68
69              searches domain names, default names, and default value  strings
70              for those equal to the specified word and lists them on standard
71              output.
72
73       defaults plist
74
75              output some information about property lists
76
77       defaults help
78
79              list options for the defaults command.
80
81

FILES

83       ~/GNUstep/Defaults/.GNUstepDefaults
84              holds defaults for a user
85
86

BUGS

88       None known.
89
90

DIAGNOSTICS

92       Hopefully self-explanatory.
93
94

HISTORY

96       The 'defaults' command appeared in OpenStep and combined the  capabili‐
97       ties of the earlier NeXTstep commands 'dread', 'dwrite', and 'dremove'.
98       The GNUstep version was written in 1998.
99
100       This manual page first appeared in gnustep-base 1.9.2 (March 2004).
101

AUTHORS

103       defaults was written by Richard Frith-Macdonald <rfm@gnu.org>
104
105
106
107GNUstep                          February 2004                     DEFAULTS(1)
Impressum