lsd: Problem with Icons in Konsole
Expected behavior
The icons should show out of the box on installation and completely. Or the font packages should at least be marked as optional dependency.
Actual behavior
I’ve installed lsd on my Manjaro KDE laptop. At first I only got empty boxes instead of icons. After reading a bit I found I could get some icons by installing ttf-font-awesome
and all of them by installing ttf-nerd-fonts-symbols
.
Though those icons look cropped in Konsole, and don’t show at all in tty (which shows variously sized filled boxes instead).
I’ve also talked about this issue in the manjaro forum: https://forum.manjaro.org/t/replacement-for-ls-lsd-ls-deluxe-icons-problems/74887
And I’ve aso reported the issue with Konsole here: https://bugs.kde.org/show_bug.cgi?id=404128
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 33 (3 by maintainers)
It’s fixed in Konsole v19.03.80: https://phabricator.kde.org/R319:ed6d8b702fd590d83d3b1db25bf2d1245b1cae33
You can backport this patch if you want https://phabricator.kde.org/file/data/3tu5ac4qtnfxofcrbbmr/PHID-FILE-ut2qllmgagq25jvwdmgn/D18784.diff
my problem was fixed after cloning the nerd-fonts repo and running
install.sh
. It’s huge, it takes ages, but it solved the problem. May be solvable by patching whatever font lsd uses for its icons but I needed the entire thing for something else anyway.Yakuake also seems to be truncating the lsd icons like Konsole does…
You’re right that’s a great file manager, and so was Thunar. I remember those from when I was a CrunchBang and ArchBang user. I’m going to uninstall the Awesome fonts. Tell you why. Compare the first 2 screenshots that I posted, to the third one. Notice the slightly off triangles at the end of each folder name in the third one ? I have a hunch that that somehow happened because of the Awesome fonts installation (one of the three that I have installed). After that, I’m also uninstalling
lsd
because I just found out that it doesn’t support the--time-style=
option ofls
. I usually specifylong-iso
or evenfull-iso
because I need a year in the date.EDIT: The problem with the slightly off triangles is indeed caused by installing Awesome Terminal Fonts. It has not caused by
lsd
.The problem is that the
ttf-hack
,awesome-terminal-fonts
, andpowerline-fonts
(the triangles) are displayed asitalic
, after installing the Awesome Terminal Fonts. After uninstalling the Awesome Terminal Fonts, the font would still display asitalic
in Konsole and Yakuake. The weird thing is that in Konsole and Yakuake the Hack font is still configured asregular
, although it displays asitalic
. A change fromregular
tobold
, and back toregular
fixed this. I could reproduce all this 3 times in a row.@matthiasbeyer Show the world that you are from the Dark Ages with your thumb down.
Hi, I’ve found this, I don’t know if it is useful: https://bugs.kde.org/show_bug.cgi?id=390650
Edit: some other are reporting this problem: https://github.com/bhilburn/powerlevel9k/issues/727 (with links to more bug report)
Sorry but I don’t have any experience at all in font configuration… I tried some stuff but I didn’t succeed.
I just found some useful links:
I will probably try later but for now I don’t have the time for it, sorry. I you found any solution please keep us informed.
Thanks for all the feedbacks!
For the issue with Konsole I don’t know if we can do anything. It seems to be a bug in Konsole. For the tty I guess the issue is related to the font used by default. Some configuration with the
setfont
command should do the trick.It would be a good idea to document these bugs, I make an issue.