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.

44 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. XAUTHORITY DEFAULT="${XDG_CONFIG_HOME}/X11/Xauthority"
  22. ZDOTDIR DEFAULT="${XDG_CONFIG_HOME}/zsh"
  23. GTK_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-1.0/gtkrc"
  24. GTK2_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc"
  25. WINEPREFIX DEFAULT="${XDG_DATA_HOME}/wineprefixes/default"
  26. CUDA_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv"
  27. __GL_SHAER_DISK_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv"
  28. GNUPGHOME DEFAULT="${XDG_CACHE_HOME}/gnupg"
  29. NODE_REPL_HISTORY DEFAULT="${XDG_DATA_HOME}/node_repl_history"
  30. NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
  31. NPM_CONFIG_PREFIX DEFAULT="${XDG_CACHE_HOME}/npm-packages"
  32. R_LIBS_USER DEFAULT="${XDG_DATA_HOME}/Rpackages"
  33. _JAVA_OPTIONS DEFAULT="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java"
  34. GRADLE_USER_HOME DEFAULT="${XDG_DATA_HOME}/gradle"
  35. PYLINTHOME DEFAULT="${XDG_CACHE_HOME}/pylint"
  36. IDEA_VM_OPTIONS DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.vmoptions"
  37. IDEA_PROPERTIES DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.properties"
  38. #LESSKEY DEFAULT="${XDG_CONFIG_HOME}/less"
  39. LESSHISTFILE DEFAULT="${XDG_DATA_HOME}/lesshist"
  40. FREECIV_DATA_PATH DEFAULT="${XDG_CONFIG_HOME}/freeciv"