I got a bit confused trying to figure out how to set XDG_CACHE_HOME the best way. With the least side effects.
I ended up creating ~/bin/calibre with the following contents:
Code:
#!/usr/bin/env bash
#Run calibre with XDG_CACHE_HOME set
env XDG_CACHE_HOME=/opt/.cache /opt/calibre/calibre
That way all other apps can continue using the default symlinked path ~/.cache and only calibre use /opt/.cache
And everything works fine again, the way I am used to...
Edit: ... and Kovid has already fixed the bug so that the symlink will work OK in the next release. So my "work-around" won't be needed for long. Fantastic!