View Single Post
Old 10-05-2019, 05:52 AM   #4
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
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!


Last edited by Adoby; 10-05-2019 at 06:02 AM.
Adoby is offline   Reply With Quote