gokcehan / lf

Terminal file manager
MIT License
7.76k stars 332 forks source link

lf icons won't work #804

Closed kars0n777 closed 1 year ago

kars0n777 commented 2 years ago

this happens on st and alacritty i use the jetbrains mono nerd font theme icons were working before then an update made the icons a letter instead what the icons look like

the icons work with exa which shows icons on my terminal as well, but lf seems to be not using them.

my config is located here

LinArcX commented 2 years ago

I have the same issue.

Even i tried to copy icons.example into:

  1. ~/.config/lf
  2. /etc/lf/

But still can't see the icons.

ItsRogueRen commented 2 years ago

I have the same issue.

Even i tried to copy icons.example into:

1. `~/.config/lf`

2. `/etc/lf/`

But still can't see the icons.

Just tried this myself on Pop!_OS 21.10 w/ KDE Plasma and had the same result. I do have NerdFont installed (Shure Tech Mono Nerd Font Complete Mono.ttf)

Player01osu commented 2 years ago

Had the same issue, copied icons into env variable LF_ICONS and worked again.

using zsh, alacritty, and jetbrains mono nerd

ItsRogueRen commented 2 years ago

found a solution, which is that icons.example needed to be renamed to just icons

halshar commented 2 years ago

found a solution, which is that icons.example needed to be renamed to just icons

I copied the colors and icons files into my lf directory and have set icons to true, still I just see [] instead of icons, am I doing something wrong? Have not tried the LF_ICONS envrionment variable method as that has been removed from the wiki and currently there is no guide on how to enable the icons.

mroavi commented 2 years ago

The file should be named icons and it should be located inside one of these directories:

OS system-wide user-specific
Unix /etc/lf/ ~/.config/lf/
Windows C:\ProgramData\lf\ C:\Users\\<user>\AppData\Local\lf\

Remember to add set icons to your lfrc config file.

mahmoudajawad commented 2 years ago

@mroavi, I think this is not intuitive to everyone, so, I used your data to add this section to the installation tutorial: https://github.com/gokcehan/lf/wiki/Tutorial#colors-and-icons

halshar commented 2 years ago

aahh, the reason why icons feature was not working was because I was using r26 version and icons support was added in r27 release.

joelim-work commented 1 year ago

Judging from the direction of the comments here, I think this is no longer an issue - will close. Please reopen if further discussion is required.