-
Notifications
You must be signed in to change notification settings - Fork 332
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
[BUG] Question Marks trying to enable icons #1159
Comments
@madrigal1 There is no such thing as Do you have nerd fonts installed? |
Ah a lot of new lf users come from popular youtubers which use the old commands and outdated syntax like the use icons true and using env variables to set the colors and icons thanks for clearing that up |
@gokcehan any idea as to what i am missing ? |
none of the above combinations work |
lfrc file :
|
@madrigal1 You are right, you also need Your latest screenshots do not seem to have |
There seems to be more than one issue here:
I think this would be easier to diagnose if you are able to reproduce from scratch, could you please try the following?
I have never seen question marks as icons before - normally I would associate that with the terminal not being able to find or load the font, but that doesn't seem to be the case here. Also you wouldn't happen to be using a dotfile configuration manager and your config files just simply aren't synced? |
Thanks @joelim-work for the response. i am using the arch linux pkg : let me know if i can provide any additional info |
OK so it looks like the As for the question marks issue, I have some more questions:
|
Thanks for the response @joelim-work:
Does this indicate the issue is in parsing the icons file ? |
So the hexdump looks right to me (UTF-8), shouldn't be a file encoding issue. Judging from the evidence so far, the default icons do seem to work for you, and also setting |
Thanks for the response @joelim-work : looks like lf cannot render the icon ? |
Yeah I think your issue has nothing to do with displaying file icons in Otherwise if you do want to go down the rabbit hole and have lots of spare time to play around with Go, there are further things you can try, such as building this project from source and inserting |
Thanks @joelim-work. lf is blazing fast compared to ranger and i will continue to use it. it is a bummer not to have the icons. if you do think of a solution later on do post in the thread as it may help me and future users who may have similar issues. :-) |
@madrigal1 @joelim-work Maybe this could be an encoding issue? Can you type |
Hey @gokcehan thanks for the response:
Any suggestions? |
@madrigal1 Maybe you need to run |
If you're using Manjaro, then that is based of Arch Linux and I think you can just follow the instructions. The file you define I'm not too familiar with locale settings myself, but I'm quite sure the internet has plenty of information for you to look up. |
UPDATE: I'm pretty sure this is a locale issue, I was able to reproduce all this on my own computer by running LC_ALL=C lf This StackExchange answer is a pretty good read, and once you configure your locale settings properly, running |
@joelim-work Thanks for the help. I have now added some of these instructions as a "troubleshoot" to the new colors and icons wiki page. Feel free to change them accordingly. I don't expect any more replies to this issue so I'm closing it. |
Discussed in #1158
Originally posted by madrigal1 March 15, 2023
icons file is the icons.example
set icons true is added in lfrc
The text was updated successfully, but these errors were encountered: