Linux equivalent of Windows Registry
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Romantic Lands Beckon
--
Chapters
00:00 Question
00:24 Accepted answer (Score 62)
00:55 Answer 2 (Score 11)
01:33 Answer 3 (Score 7)
01:59 Answer 4 (Score 5)
02:56 Thank you
--
Full question
https://superuser.com/questions/295635/l...
Answer 1 links:
[http://www.faqs.org/docs/artu/]: https://web.archive.org/web/201106131533.../
Answer 3 links:
["dot files"]: http://www.catb.org/jargon/html/D/dot-fi...
[XDG Base Directory]: http://standards.freedesktop.org/basedir...
[Gconf]: http://projects.gnome.org/gconf/
[dconf]: http://live.gnome.org/dconf/
[Xfconf]: http://www.xfce.org/projects/xfconf
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #linux #windowsregistry
#avk47
ACCEPTED ANSWER
Score 65
Linux applications typically store their config in a text-based file specific to the application. Machine specific configs are typically stored in the /etc directory tree. User specific settings are typically in the users' home directory and often in "hidden" files that start with a "." (use 'ls -a' to see them).
ANSWER 2
Score 12
/proc
for kernel related stuff
/etc
for software related stuff
Gnome config can be considered similar to Windows Registry as well.
But since Linux and Windows core philosophies are diametrically different (Linux ~ open and compatible, Windows ~ closed and obstructive), there is no direct parallel.
Edit: for those who disagree, here is a bit of history for you: http://www.faqs.org/docs/artu/ (awesome reading, no matter what your background is)
ANSWER 3
Score 7
System wide settings are located in files in /etc
, per user settings are typically located as hidden files (start w/ a .) in the users home directory. For more information about a specific program see it's man page - man [program name]
.
ANSWER 4
Score 5
Most applications use text-based configuration files (usually each program has its own format, although some use XML or JSON). System-wide configuration is kept under /etc
.
User configuration is usually stored in the user's home directory, in so-called "dot files" (filenames starting with a ".
"; use ls -a
to display them). To avoid "dotfile creep", recently programs have started keeping their configuration in ~/.config/
per XDG Base Directory specification.
Various desktop environments have their own Registry-like APIs: Gconf (deprecated) and dconf/GSettings (new) in GNOME; Xfconf in Xfce.