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.

48 lines
2.5 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. #deactivated for now
  17. #might cause trouble with mpd / systemctl --user
  18. XDG_RUNTIME_DIR DEFAULT="@{HOME}/.local/run"
  19. # Non-standard
  20. XDG_LIB_HOME DEFAULT="@{HOME}/.local/lib"
  21. XDG_LOG_HOME DEFAULT="@{HOME}/.local/log"
  22. # Fixes for various applications to respect XDG
  23. XAUTHORITY DEFAULT="${XDG_CONFIG_HOME}/X11/Xauthority"
  24. ERRFILE DEFAULT="${XDG_CACHE_HOME}/X11/xsession-errors"
  25. ZDOTDIR DEFAULT="${XDG_CONFIG_HOME}/zsh"
  26. GTK_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-1.0/gtkrc"
  27. GTK2_RC_FILES DEFAULT="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc"
  28. WINEPREFIX DEFAULT="${XDG_DATA_HOME}/wineprefixes/default"
  29. CUDA_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv"
  30. __GL_SHAER_DISK_CACHE_PATH DEFAULT="${XDG_CACHE_HOME}/nv"
  31. GNUPGHOME DEFAULT="${XDG_CACHE_HOME}/gnupg"
  32. NODE_REPL_HISTORY DEFAULT="${XDG_DATA_HOME}/node_repl_history"
  33. NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
  34. NPM_CONFIG_PREFIX DEFAULT="${XDG_CACHE_HOME}/npm-packages"
  35. R_LIBS_USER DEFAULT="${XDG_DATA_HOME}/Rpackages"
  36. _JAVA_OPTIONS DEFAULT="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java"
  37. GRADLE_USER_HOME DEFAULT="${XDG_DATA_HOME}/gradle"
  38. PYLINTHOME DEFAULT="${XDG_CACHE_HOME}/pylint"
  39. IDEA_VM_OPTIONS DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.vmoptions"
  40. IDEA_PROPERTIES DEFAULT="${XDG_CONFIG_HOME}/intellij-idea/idea.properties"
  41. #LESSKEY DEFAULT="${XDG_CONFIG_HOME}/less"
  42. LESSHISTFILE DEFAULT="${XDG_DATA_HOME}/lesshist"
  43. FREECIV_DATA_PATH DEFAULT="${XDG_CONFIG_HOME}/freeciv"
  44. WEECHAT_HOME DEFAULT="${XDG_CONFIG_HOME}/weechat"