1
1
mc/lib
Slava Zanko acbe048486 Ticket #1851: Home config directory [xdg-user-dirs]
Instead of hardcoded (via MC_USERCONF_DIR) path mc mc now used
dynamic directories specified by environment variables:
 * XDG_CONFIG_HOME - dir for config files . By default is ~/.config/mc
 * XDG_DATA_HOME - dir for some data, such as user defuned Syntax file, menu etc By default is ~/.local/share/mc
 * XDG_CACHE_HOME - dir for temp files, such as cooledit.clip etc. By default is ~/.cache/mc

This is mainstream standard already adopted by many projects.

Old settings will be migrated at first time from ~/.mc to these dirs.

See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html for more info.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-20 17:38:27 +02:00
..
filehighlight Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
keybind Moved filemanager-related stuff to src/filemanager directory 2010-11-24 10:51:32 +03:00
mcconfig Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
search Moved charsets.[ch] from src to lib directory 2010-11-24 10:51:31 +03:00
skin Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
strutil Optimization of str_msg_term_size(). 2010-11-24 10:51:30 +03:00
tty Ticket #2457: alt-backspace doesn't work. 2011-01-04 11:45:49 +03:00
vfs Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
widget Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
charsets.c Moved charsets.[ch] from src to lib directory 2010-11-24 10:51:31 +03:00
charsets.h Refactoring: removed unused variable 2010-11-24 10:51:31 +03:00
filehighlight.h Moved filemanager-related stuff to src/filemanager directory 2010-11-24 10:51:32 +03:00
fileloc.h Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
fs.h Moved filemanager-related stuff to src/filemanager directory 2010-11-24 10:51:32 +03:00
glibcompat.c Code indentation in lib directory 2010-11-24 10:27:20 +03:00
glibcompat.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
global.h Fix of uintmax_t variables output. 2010-12-03 10:58:39 +03:00
hook.c Moved hooks from lib/util.[ch] to new files lib/hook.[ch] 2010-11-24 10:27:46 +03:00
hook.h Moved hooks from lib/util.[ch] to new files lib/hook.[ch] 2010-11-24 10:27:46 +03:00
keybind.c added action EditRedo. 2010-12-30 21:23:42 +00:00
keybind.h added action EditRedo. 2010-12-30 21:23:42 +00:00
lock.c Split lib/widget/widget.[ch] and lib/widget/wtools.[ch] files 2010-11-24 10:51:30 +03:00
lock.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
logging.c Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
logging.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
Makefile.am Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch]. 2010-11-24 10:51:31 +03:00
mcconfig.h Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
search.h Clean up some empty lines. 2010-11-24 10:27:46 +03:00
skin.h Ticket #2171: colors for popup menu: 2010-12-02 09:55:59 +03:00
strescape.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
strutil.h Optimization of str_msg_term_size(). 2010-11-24 10:51:30 +03:00
timefmt.c Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch]. 2010-11-24 10:27:47 +03:00
timefmt.h Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch]. 2010-11-24 10:27:47 +03:00
unixcompat.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
util.c Ticket #1851: Home config directory [xdg-user-dirs] 2011-01-20 17:38:27 +02:00
util.h Ticket #2429: overflow of file operation counters. 2010-12-02 09:41:51 +03:00
utilunix.c Moved charsets.[ch] from src to lib directory 2010-11-24 10:51:31 +03:00
widget.h Moved filemanager-related stuff to src/filemanager directory 2010-11-24 10:51:32 +03:00