marc
4 years ago
2 changed files with 58 additions and 15 deletions
Unified View
Diff Options
@ -0,0 +1,43 @@ |
|||||
|
# fix whatever env variables are needed to get a reasonable |
||||
|
# XDG-enable system. |
||||
|
# Format: |
||||
|
# KEY=VAUE _or_ KEY DEFAULT="VALUE" |
||||
|
# Second one can contain whitespaces |
||||
|
|
||||
|
#In /etc/pam.d/login add following line if not exists: |
||||
|
# session required pam_env.so user_readenv=1 |
||||
|
|
||||
|
#HOME DEFAULT="/home/@{PAM_USER}" OVERRIDE="@HOME" |
||||
|
SOME_TEST DEFAULT="/home/marc/.config" |
||||
|
# XDG base directories |
||||
|
XDG_CACHE_HOME DEFAULT="@{HOME}/.cache" |
||||
|
XDG_CONFIG_HOME DEFAULT="@{HOME}/.config" |
||||
|
XDG_DATA_HOME DEFAULT="@{HOME}/.local/share" |
||||
|
XDG_DATA_DIRS DEFAULT="/usr/local/share:/usr/local/share" OVERRIDE="${XDG_DATA_DIRS}" |
||||
|
XDG_DATA_DIRS DEFAULT="@{HOME}/.local/share:${XDG_DATA_DIRS}" |
||||
|
XDG_RUNTIME_DIR DEFAULT="@{HOME}/.local/run" |
||||
|
|
||||
|
# Non-standard |
||||
|
XDG_LIB_HOME DEFAULT="@{HOME}/.local/lib" |
||||
|
XDG_LOG_HOME DEFAULT="@{HOME}/.local/log" |
||||
|
|
||||
|
# Fixes for various applications to respect XDG |
||||
|
ZDOTDIR DEFAULT="${XDG_CONFIG_HOME}/zsh" |
||||
|
GTK_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-1.0/gtkrc" |
||||
|
GTK2_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc" |
||||
|
WINEPREFIX DEFAULT="${XDG_DATA_HOME}/wineprefixes/default" |
||||
|
CUDA_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv" |
||||
|
__GL_SHAER_DISK_CACHE_PATH DEFAULT="${XDG_CACHE_PATH}/nv" |
||||
|
GNUPGHOME DEFAULT="${XDG_CACHE_HOME}/gnupg" |
||||
|
NODE_REPL_HISTORY DEFAULT="${XDG_DATA_HOME}/node_repl_history" |
||||
|
NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc" |
||||
|
NPM_CONFIG_PREFIX DEFAULT="${XDG_CACHE_HOME}/npm-packages" |
||||
|
R_LIBS_USER DEFAULT="${XDG_DATA_HOME}/Rpackages" |
||||
|
_JAVA_OPTIONS DEFAULT="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java" |
||||
|
GRADLE_USER_HOME DEFAULT="${XDG_DATA_HOME}/gradle" |
||||
|
PYLINTHOME DEFAULT="${XDG_CACHE_HOME}/pylint" |
||||
|
IDEA_VM_OPTIONS DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.vmoptions" |
||||
|
IDEA_PROPERTIES DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.properties" |
||||
|
#LESSKEY DEFAULT="${XDG_CONFIG_HOME}/less" |
||||
|
LESSHISTFILE DEFAULT="${XDG_DATA_HOME}/lesshist" |
||||
|
FREECIV_DATA_PATH DEFAULT="${XDG_CONFIG_HOME}/freeciv" |