Change location of user cache in KDE 5

Kevin Krammer krammer at
Thu Jul 7 17:10:27 BST 2016

On Thursday, 2016-07-07, 14:06:55, Christoph Pleger wrote:
> Hello,
> Kevin Krammer wrote:
> >> Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
> >> XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
> >> /var/tmp/kdecache-${HOME} had been created.
> > 
> > And setting KDEVARTMP doesn't work either?
> Oops. Yes, it does, Surprised, because I read here
> that KDEVARTMP does not change
> the location of the kdecache directory anymore. So, I did not even try
> before now.

You might have a mix of Qt4 based and Qt5 based KDE programs and one of the 
Qt4 based ones creates the dir according to the variable of that stack.

Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list