Evince shows PDF documents and needs fonts.
~/.cache symlinked by administrator
Users directory here are split between a "clean" part and a "messy" part. The idea is to care more about the "clean" parts (backup etc) and less about the "messy" parts.
~/.cache is a symlink to the messy part.
Symptom: slow start
This causes evince to start slowly: 20 seconds wait before any window appear. After the window appears, things seem normal.
straceshows that during the first 2 seconds, it tries a lot to access files in
/var/cache/fontconfigthat fail with
- then it spends about 18 seconds enumerating data in
~/.cache/fontconfigis readable and writable by user,
/var/cache/fontconfigdoes not exist.