This entry introduces general configuration files for programs.
There are two kinds of configurations: user configurations (usually in ~/ and ~/.config) and global configuration (usually in /usr/share). Note that "~/" refers to "/home/YourUserName".
For eaxmple, to back up configuration files of program "amule", simply copy directory "~/.amule" to another place, and copy it back when we want to restore this configuration.
Some programs, such as chromium, put their configurations in "~/.config". So we need to copy directory "~/.config/chromium" instead.
To use default configuration of one program, simply delete its configuration directory. This is useful when some errors in configurations prevent it from starting.
Here are some basic configuration files that are usually hidden when viewed in file manager:
Directories:
Files:
Execute in terminal"
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
If following warnings are generated, then there is no unused configurations.
dpkg: error: --purge needs at least one package name argument
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !