mistakenelf / fm

A terminal based file manager
MIT License
564 stars 29 forks source link

Icons not showing on Windows WSL #105

Closed vandanrohatgi closed 1 year ago

vandanrohatgi commented 1 year ago

Terminal: Windows Terminal Version: 1.16.10261.0 WSL: Ubuntu 18.04 LTS Windows: 10 Installation method: Go install

Icons do not appear in WSL environment.

image

mistakenelf commented 1 year ago

Do you have a nerd font installed?

vandanrohatgi commented 1 year ago

I didn't before but I just installed the Go Mono font. Still not getting the icons.

mistakenelf commented 1 year ago

Try installing a font from here https://www.nerdfonts.com/font-downloads

vandanrohatgi commented 1 year ago

Yep that's where I installed it from!

mistakenelf commented 1 year ago

hmm, not sure why they wouldnt be showing. I unfortunately dont have access to a windows machine to diagnose

vandanrohatgi commented 1 year ago

No worries. It's just icons. Everything else is working fine. Please let me know If I can help with debugging using my windows environment. Feel free to close the issue.

mistakenelf commented 1 year ago

I’ll leave it open for now and see if I can’t get a hold of a windows machine sometime

vandanrohatgi commented 1 year ago

Update: I figured out the issue. Pretty stupid. I was installing nerd fonts in the WSL Linux environment. Instead I had to install them in the system wide windows and them configure them as my default font in Windows terminal.

  1. Just download the font of your choice
  2. Extract
  3. Multi select all the extracted files
  4. Right click and then "install for all users"
  5. Go to settings in windows terminal
  6. Click on "Defaults" under profiles.
  7. Additional settings -> Appearance
  8. Select installed font in font face setting.
  9. Restart terminal
mistakenelf commented 1 year ago

Awesome, glad you got it working!