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.
46 lines
2.4 KiB
46 lines
2.4 KiB
# 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}"
|
|
#deactivated for now
|
|
#might cause trouble with mpd / systemctl --user
|
|
#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
|
|
XAUTHORITY DEFAULT="${XDG_CONFIG_HOME}/X11/Xauthority"
|
|
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_HOME}/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"
|