DEFAULTS(1)
โจ NAME โจ
okay so bestie, gather round ๐ โ defaults โ read or modify GNUstep user defaults. that's it, that's the vibe. you read 'em, you write 'em, you delete 'em, you're the main character of your own preference database ๐
๐ธ SYNOPSIS ๐ธ
defaults [ action ]
like, that's the whole shape of it. one action, go off ๐
๐ฆ DESCRIPTION ๐ฆ
so the tea is: the defaults command lets you read and modify a user's defaults. simple as. iconic behavior honestly โจ
real talk though โ this program is a glow-up. it replaces the old NeXTstep style dread, dwrite, and dremove programs. we don't do that anymore, we're evolved ๐ง
also!! if you have access to another user's defaults database, you can put -u username before any other options to use their database instead of your own. sharing is caring bestie ๐ซถ
defaults read [ domain [ key] ]
read the named default from the specified domain. ๐
- no
keygiven? you get all the defaults from that domain. - no
domaingiven? you get all the defaults from all the domains. the whole buffet ๐
a domain is either an application name, or "NSGlobalDomain", for system level defauts.
(and psst โ running programs can also reach two other domains: "NSArgumentDomain", for command line arguments, and "NSRegistrationDomain", a little second-chance domain where "defaults for defaults" can be registered. plus possibly domains for specific locales. iykyk ๐)
defaults readkey key
read the named default from all domains. all of them. no cap ๐
defaults write domain key value
write value as default key in the specified domain. heads up though โ value must be a property list in single quotes. no exceptions, that's the rule โญ
defaults write domain dictionary
write dictionary as a replacement for the specified domain. and yes โ dictionary must be a property list in single quotes too. it's giving "full rewrite" energy ๐ฅ
defaults write
reads standard input for defaults in the format produced by defaults read and writes them to the database. piping behavior fr fr ๐ธ
defaults delete [ domain [ key] ]
remove the specified default(s) from the domain. ๐๏ธ
no key given? then it deletes the entire domain. scorched earth. periodt ๐
defaults delete
read standard input for a series of lines containing pairs of domains and keys for defaults to be deleted. batch deletion bestie, very efficient ๐
defaults domains
lists the domains in the database (one per line) ๐
defaults find word
searches domain names, default names, and default value strings for those equal to the specified word and lists them on standard output. ๐
defaults plist
output some information about property lists. cute little info dump ๐
defaults help
list options for the defaults command. when in doubt, ask for help bestie ๐
๐ FILES ๐
~/GNUstep/Defaults/.GNUstepDefaultsโ holds defaults for a user. that's where your whole personality lives ๐ โจ
๐ BUGS ๐
None known.
literally flawless. not me being suspicious though ๐
๐ DIAGNOSTICS ๐
Hopefully self-explanatory.
(we believe in you ๐ซถ)
๐ HISTORY ๐
the defaults command appeared in OpenStep and combined the capabilities of the earlier NeXTstep commands dread, dwrite, and dremove. glow-up of the century tbh โจ
the GNUstep version was written in 1998. vintage but thriving ๐ฆ
and this manual page first appeared in gnustep-base 1.9.2 (March 2004). a classic, an icon, a legend ๐
๐ AUTHORS ๐
defaults was written by Richard Frith-Macdonald <rfm@gnu.org> โ thank you king, we owe you everything ๐ซถ๐ธ
so yeah bestie, that's the page! from the GNUstep System Manual, dated February 2004, filed under DEFAULTS(1). go forth and configure responsibly ๐
โจ
๐ฆ where this page comes from
- arch rolling: gnustep-base 1.31.1-3 ยท GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only
- debian bookworm: gnustep-base-runtime 1.28.1+really1.28.0-5 ยท LGPL-2.1-or-later
- debian trixie: gnustep-base-common 1.31.1-3 ยท LGPL-2.1-or-later
- epel 9: gnustep-base 1.28.0-3.el9 ยท GPLv3+ and LGPLv2+
- fedora 43: gnustep-base 1.31.0-7.fc43 ยท GPL-3.0-or-later AND LGPL-2.0-or-later
- fedora 44: gnustep-base 1.31.0-8.fc44 ยท GPL-3.0-or-later AND LGPL-2.0-or-later
- nixos 26.05: gnustep-base 1.29.0
- nixpkgs unstable: gnustep-base 1.29.0
- opensuse-leap 16.0: gnustep-base 1.31.1-160000.2.2 ยท GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: gnustep-base 1.31.1-160000.2.2 ยท GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: gnustep-base 1.31.1-160000.2.2 ยท GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: gnustep-base 1.31.1-160000.2.2 ยท GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: gnustep-base-runtime 1.28.0-4build1 ยท LGPL-2.1-or-later
- ubuntu noble: gnustep-base-runtime 1.29.0-7ubuntu4 ยท LGPL-2.1-or-later
- ubuntu questing: gnustep-base-common 1.31.1-4ubuntu1
- ubuntu resolute: gnustep-base-common 1.31.1-4ubuntu2 ยท LGPL-2.1-or-later
- ubuntu stonking: gnustep-base-common 1.31.1-4ubuntu2 ยท LGPL-2.1-or-later
- Copyright (C) 2005 Free Software Foundation, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms