This is something I've been struggling with for a couple of years and I thought I had found something but I was plain wrong. So here it is.
By default Xfce stores its data in ~/.config and ~/.cache and I want these directories in ~/.xfce4/(config|cache) instead. So I thought I could set these in /etc/env.d/90xsession:
Code: Select all
XDG_CONFIG_HOME=~/.xfce4/config
XDG_CACHE_HOME=~/.xfce4/cacheCode: Select all
XDG_CONFIG_HOME='~/.xfce4/config'
XDG_CACHE_HOME='~/.xfce4/cache'Code: Select all
ls: no such file or directoryCode: Select all
XDG_CONFIG_HOME=$HOME/.xfce4/config
XDG_CACHE_HOME=$HOME/.xfce4/cacheCode: Select all
XDG_CONFIG_HOME=HOME/.xfce4/config
XDG_CACHE_HOME=HOME/.xfce4/cacheI've yet tried to set these in ~/.bashrc, in /etc/bash/bashrc, ~/.bash_profile... No! way! Xfce xinit script still obsesses on creating these damn directories directly under my HOME directory.
Can anyone tell me where the heck I can put these directives?
Thanks a lot in advance.

