well, I usually do something alike, though just by changing the environment variable: HOME=$HOME/tmp myprogram. Symlinking the .Xauthority file (if using X) works quite well.
I actually always run that way most applications that do not fully adhere to the XDG base dir specification.
I actually always run that way most applications that do not fully adhere to the XDG base dir specification.