CustomTkinter
CustomTkinter copied to clipboard
Please change user fonts directory on linux
On linux the user fonts should be in this directory: ~/.local/share/fonts/
instead of ~/fonts/
https://help.gnome.org/admin/system-admin-guide/stable/fonts-user.html.en
file: font_manager.py https://github.com/TomSchimansky/CustomTkinter/blob/ec8cecb5757850d2e1d03062bdca68fd95338677/customtkinter/font_manager.py
I can work on this issue for you.
I appreciate if you can do this
No problem, I'll start working on it soon.
Do you know if this also applies to other desktop environments or just GNOME? Or is this independent of the desktop environment?
So it seems to be working on kali Linux but this is only one test, and that's not enough for me.
What type of linux do you have? @antrrax
@lmwenda Linux Mint 20.3 Cinnamon
@TomSchimansky , @lmwenda see this: https://wiki.archlinux.org/title/Fonts
Manual installation
The recommended way of adding fonts that are not in the repositories of your system is described in #Creating a package. This gives pacman the ability to remove or update them at a later time.
Alternatively, fonts can be installed manually:
For a single user, install fonts to ~/.local/share/fonts/. In many cases this suffices, unless you run graphical applications as other users. In the past ~/.fonts/ was used, but is now deprecated.
In the past ~/.fonts/ was used, but is now deprecated.
Yeah I've just done some research and this is true. I'm currently making some changes and should make a pull request for @TomSchimansky to review soon.
A complement to the previous answer. see the file /etc/fonts/fonts.conf
pdf version, git not permit .conf: fonts.conf.pdf
the following element will be removed in the future:
The first pull request was a mistake so I closed it however I solved it with #353 pull request. I'm still waiting for @TomSchimansky to review
Changed the fonts directory on Linux now with version 4.5.11.