Bug 442976 - Font Management uses ~/.fonts/ – should use $XDG_DATA_HOME/fonts/ or $HOME/.local/share/fonts/
Summary: Font Management uses ~/.fonts/ – should use $XDG_DATA_HOME/fonts/ or $HOME/....
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: unspecified
Platform: Other FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-26 12:11 UTC by Graham Perrin
Modified: 2024-02-01 16:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2021-09-26 12:11:05 UTC
Comparable to bug 367650 for kfontview … or, is this a duplicate?

<https://forums.freebsd.org/threads/79999/#post-533304> noted that Font Management uses: 

~/.fonts/

Subsequent discussion in IRC drew attention to: 

<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables>

<https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/8c255fb185d5651b57380b0a9443001e8051b29d#baa0db2f57cfa5d87d2cde0c3f53e02db4e19d46_28_29> describes future removal.
Comment 1 Graham Perrin 2021-09-26 12:19:48 UTC
% file $HOME/.fonts/
/home/grahamperrin/.fonts/: directory
% file $HOME/.local/share/
/home/grahamperrin/.local/share/: directory
% file $HOME/.local/share/fonts
/home/grahamperrin/.local/share/fonts: cannot open `/home/grahamperrin/.local/share/fonts' (No such file or directory)
% pkg provides kcm_fontinst
Name    : plasma5-plasma-workspace-5.22.5
Desc    : Plasma5 Plasma workspace
Repo    : FreeBSD
Filename: usr/local/lib/qt5/plugins/kcm_fontinst.so
% 

----

Operating System: FreeBSD 14.0
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 14.0-CURRENT (64-bit)
Graphics Platform: X11
Memory: 15.9 GiB of RAM
Graphics Processor: AMD TURKS
Comment 2 Shawn W Dunn 2024-02-01 16:02:20 UTC
This bug causes issues with flatpak

https://github.com/flatpak/flatpak/issues/5675