Hey all, not sure how I managed this, but over the years I somehow managed to configure different paths which are listed in kf5-config. The for instance the cache path should be /home/matt/.cache, but kf5-config lists it in /mnt/data/matt/home/.cache. I’m sure this was intentional at one point but now i’m trying to fix up my partitions.

So my question is - how do I change the paths listed in kf5-config to where it should be on the root partition (/home/matt/…)?. I’ll move the actual data from where it is onto the root partition, I just need to know how to change that paths are configured in kf5-config.

Cheers

kf5-config paths:

cache:
/mnt/data/matt/home/.cache/
config:
/mnt/data/matt/home/.config/:/mnt/data/matt/home/.config/kdedefaults/:/etc/xdg/
data:
/mnt/data/matt/home/.local/share/:/usr/share/:/usr/local/share/
emoticons:
/mnt/data/matt/home/.local/share/emoticons/:/usr/share/emoticons/
exe:
/usr/lib/libexec/:/usr/bin/
html:
/mnt/data/matt/home/.local/share/doc/HTML/:/usr/share/doc/HTML/

etc… etc…

Edit: I just wanted to add that these paths are different from what is listed in qtpaths:

$ qtpaths --paths CacheLocation
/home/matt/.cache/<APPNAME>
$ qtpaths --paths ConfigLocation
/home/matt/.config:/home/matt/.config/kdedefaults:/etc/xdg

Solved:

Turns out that it expands symlinked directories.