You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.3 KiB

  1. # fix whatever env variables are needed to get a reasonable
  2. # XDG-enable system.
  3. # Format:
  4. # KEY=VAUE _or_ KEY DEFAULT="VALUE"
  5. # Second one can contain whitespaces
  6. #In /etc/pam.d/login add following line if not exists:
  7. # session required pam_env.so user_readenv=1
  8. #HOME DEFAULT="/home/@{PAM_USER}" OVERRIDE="@HOME"
  9. SOME_TEST DEFAULT="/home/marc/.config"
  10. # XDG base directories
  11. XDG_CACHE_HOME DEFAULT="@{HOME}/.cache"
  12. XDG_CONFIG_HOME DEFAULT="@{HOME}/.config"
  13. XDG_DATA_HOME DEFAULT="@{HOME}/.local/share"
  14. XDG_DATA_DIRS DEFAULT="/usr/local/share:/usr/local/share" OVERRIDE="${XDG_DATA_DIRS}"
  15. XDG_DATA_DIRS DEFAULT="@{HOME}/.local/share:${XDG_DATA_DIRS}"
  16. XDG_RUNTIME_DIR DEFAULT="@{HOME}/.local/run"
  17. # Non-standard
  18. XDG_LIB_HOME DEFAULT="@{HOME}/.local/lib"
  19. XDG_LOG_HOME DEFAULT="@{HOME}/.local/log"
  20. # Fixes for various applications to respect XDG
  21. ZDOTDIR DEFAULT="${XDG_CONFIG_HOME}/zsh"
  22. GTK_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-1.0/gtkrc"
  23. GTK2_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc"
  24. WINEPREFIX DEFAULT="${XDG_DATA_HOME}/wineprefixes/default"
  25. CUDA_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv"
  26. __GL_SHAER_DISK_CACHE_PATH DEFAULT="${XDG_CACHE_PATH}/nv"
  27. GNUPGHOME DEFAULT="${XDG_CACHE_HOME}/gnupg"
  28. NODE_REPL_HISTORY DEFAULT="${XDG_DATA_HOME}/node_repl_history"
  29. NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
  30. NPM_CONFIG_PREFIX DEFAULT="${XDG_CACHE_HOME}/npm-packages"
  31. R_LIBS_USER DEFAULT="${XDG_DATA_HOME}/Rpackages"
  32. _JAVA_OPTIONS DEFAULT="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java"
  33. GRADLE_USER_HOME DEFAULT="${XDG_DATA_HOME}/gradle"
  34. PYLINTHOME DEFAULT="${XDG_CACHE_HOME}/pylint"
  35. IDEA_VM_OPTIONS DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.vmoptions"
  36. IDEA_PROPERTIES DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.properties"
  37. #LESSKEY DEFAULT="${XDG_CONFIG_HOME}/less"
  38. LESSHISTFILE DEFAULT="${XDG_DATA_HOME}/lesshist"
  39. FREECIV_DATA_PATH DEFAULT="${XDG_CONFIG_HOME}/freeciv"