I am using Fedora and installed fontawesome via
sudo dnf install fontawesome fonts
. Later because it didn't work I also additionally installed the font manually via downloading the zip from the Github page and following these instructions .
When I copy a icon, e.g. the Firefox Icon via "Copy Glyph" from this Website and then I paste it into my Vim or Emacs, not the Firefox logo ist pasted, but instead a checkmark appears. The same happens, when I insert it with the unicode insertion e.g. ctr+v u+e007
.
The same principle also happens with other icons: another unicode character which is not the icon appears. E.g. instead of for the Signal Messenger Icon , a cup with a straw appears. The output of file -bi
on the file is text/plain; charset=utf-8
so the encoding is utf-8.
How can I paste it correctly?
For context: I am trying to configure the i3 bar to use icons, but since I am unable to paste them into the configuration file, this doesn't work. I searched for similar questions, but all the questions regarding the fontawesome font icons were about displaying them correctly, not pasting them correctly. I nevertheless tried some of the solutions, which didn't work.
Asked by Sinthoras
(23 rep)
Apr 2, 2024, 05:51 PM
Last activity: Apr 4, 2024, 03:50 PM
Last activity: Apr 4, 2024, 03:50 PM