最終更新:2016-12-16 (金) 16:51:26 (2697d)  

XDG Base Directory Specification
Top / XDG Base Directory Specification

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Basics

  • user-specific data files should be written. This directory is defined by the environment variableXDG_DATA_HOME?
    user-specific configuration files should be written. This directory is defined by the environment variableXDG_CONFIG_HOME?
    data files should be searched. This set of directories is defined by the environment variableXDG_DATA_DIRS?
    configuration files should be searched. This set of directories is defined by the environment variableXDG_CONFIG_DIRS?
    user-specific non-essential (cached) data should be written. This directory is defined by the environment variableXDG_CACHE_HOME?
    user-specific runtime files and other file objects should be placed. This directory is defined by the environment variableXDG_RUNTIME_DIR