Hello, The XDG Base Directory Specification [1]. Aims at solving two issues: 1) User's home directory is currently filled with hidden files. 2) Application settings, cache and data files are not separated. Fontconfig does not currently respect this standard. - Fontconfig's cache should be moved to $XDG_CACHE_HOME/fontconfig, instead of ~/.fontconfig - Fontconfig's config should be pulled from $XDG_CONFIG_HOME/fontconfig/..., instead of ~/.fonts.conf and ~/.fonts.conf.d - Default font locations should (probably) be moved to $XDG_DATA_HOME/fontconfig Proposed implementation: - first step is to add support for environment variables in FcConfigFilename (src/fcstr.c) (e.g. $XDG_CONFIG_HOME/fontconfig) - next each file where "~" is referenced should be changed to XDG_* [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
What is the current status of XDG Basedir support in fonctconfig? I'm especially interested in getting ~/.fontconfig/ moved to $XDG_CACHE_HOME/fontconfig.
Created attachment 45197 [details] [review] Use xdg basedir spec
*** This bug has been marked as a duplicate of bug 20411 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.