> I have checked for hidden files and there are .uuid files in some of
> the directories, but not the ones that are being modified.  Perhaps
> the absence of .uuid files is the cause of the directory modification.
> I will try to make them for the cyrillic encodings/large misc and util
> directories.
Well the missing UUID files appear to be the problem.  According to
user kochinc on this thread
https://forums.kali.org/showthread.php?42495-xfsettingsd(xfce4-settings)-cause-the-pc-freeze-every-two-or-three-seconds
fontconfig deletes .uuid files in the directories it scans when it
can't find any fonts in that directory.  There is a patch for this at
https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/5f12f564f8748deaa603adb7a4b8f616b6390ad4
.  I have applied it on my system and the login/out process no longer
causes the empty font directories time stamps to be modified (due to
the deletion of the uuid files).  I'm attaching a patch in case others
want to change their system so fontconfig doesn't delete the .uuid
files from empty font directories.

Thanks Bruce for your help.

Chris
--- src/fcdir.c.orig	2018-07-18 23:14:39.000000000 -0400
+++ src/fcdir.c	2020-01-20 15:00:10.949495735 -0500
@@ -421,13 +421,6 @@
     /* Not using existing cache file, construct new cache */
     if (!cache)
 	cache = FcDirCacheScan (dir, config);
-    if (cache)
-    {
-	FcFontSet *fs = FcCacheSet (cache);
-
-	if (cache->dirs_count == 0 && (!fs || fs->nfont == 0))
-	    FcDirCacheDeleteUUID (dir, config);
-    }
 
     return cache;
 }
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to