Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons won't load for treemacs #264

Closed
perezd opened this issue Feb 19, 2019 · 9 comments
Closed

Icons won't load for treemacs #264

perezd opened this issue Feb 19, 2019 · 9 comments
Labels
is:faces Pertains to extending/improving support for Emacs or plugin faces

Comments

@perezd
Copy link

perezd commented Feb 19, 2019

Treemacs version:
treemacs-20190104.1527

doom-themes version:
doom-themes-20190214.627

emacs version:
GNU Emacs 25.2.2

Screenshot:
screenshot from 2019-02-18 16-25-41

I did run M-x all-the-icons-install-fonts and it looked like it worked.
Any ideas?

@perezd
Copy link
Author

perezd commented Feb 19, 2019

Looks like the fonts that got downloaded are broken:
image

@perezd
Copy link
Author

perezd commented Feb 19, 2019

Workaround: download them manually here and put them in ~/.local/share/fonts
https://github.com/domtronn/all-the-icons.el/tree/master/fonts

@hlissner
Copy link
Member

This is a known issue with all-the-icons. Sorry to say, until it is resolved, you'll have to install its fonts manually.

@perezd
Copy link
Author

perezd commented Feb 19, 2019

Sounds good, we can leave this here for others as a workaround at least!

@hlissner hlissner pinned this issue Feb 19, 2019
@hlissner hlissner added the is:faces Pertains to extending/improving support for Emacs or plugin faces label Feb 19, 2019
@hlissner
Copy link
Member

This appears to have been resolved upstream, so I'll close this issue. Thanks for bringing it to my attention!

@mandarvaze
Copy link

I have a "related" issue.
I think all-the-icons fonts are installed correctly - cause I get "language" icons elsewhere (e.g. Ivy switch buffers)

But I do not get "nice" icons in treemacs. e.g. I see just 3 types of icons

  1. folder
  2. document (.txt and .md both get same icon)
  3. code - .py as well as .yml get an icon that looks like html/tags icon (It is too small, so I'm not sure. But it is definitely not "python" icon, I see elsewhere)

@mustaqimM
Copy link

@hlissner I now recently switched to using treemacs and also see that the font icons don't show:
image
The icons work everywhere else like the dashboard

@ema2159
Copy link
Contributor

ema2159 commented Apr 5, 2020

@mustaqimM they're loading, but you're using the minimal theme which is the default. You have to enable the colorful theme which assigns different icons for each file type.

@mustaqimM
Copy link

@ema2159 thanks so much, I managed to enable it with:
(setq doom-themes-treemacs-theme "doom-colors")

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
is:faces Pertains to extending/improving support for Emacs or plugin faces
Projects
None yet
Development

No branches or pull requests

5 participants