What is the Linux equivalent of Windows Registry? If there is no equivalent or similar structure in Linux, how are the things that are done by the Windows Registry handled in Linux?
|
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). |
|||||||||||||||
|
|
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) |
|||||||||||||||||||||
|
|
System wide settings are located in files in |
|||
|
|
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 User configuration is usually stored in the user's home directory, in so-called "dot files" (filenames starting with a " Various desktop environments have their own Registry-like APIs: Gconf (deprecated) and dconf/GSettings (new) in GNOME; Xfconf in Xfce. |
|||
|
|
|
It's split on Linux. There is not one single place. For programs run by users, it's usually in $HOME/.someprogramrc if it's a file, or $HOME/.somedirname if complicated enough to warrant a subdirectory. KDE apps all find subareas of $HOME/.kde I believe, usually not generating their own dir. The common action for listing directories is to treat files starting with For programs run by the system, it's usually a file someplace in For the kernel, it's in Most system configs are in |
|||
|
|
|
There is no Registry in linux. But you should take a look at gconf-editor and dconf-editor ... and also hidden files/folders inside your home directory (with names starting with dot), mostly plain (TXT) files containing some configuration for a specific program. |
|||
|
|