ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
1.75k stars 158 forks source link

Broken fonts on Alacritty #155

Closed tsuza closed 4 weeks ago

tsuza commented 1 month ago

Describe the bug

Broken symbols ( probably missing symbols ) on Alacritty after installing both Alacritty and the bash config file from linutil. Latest version at the time of writing.

To Reproduce

Steps to reproduce the behavior:

  1. Open linutil
  2. Applications Setup > Alacritty Setup & Bash Prompt Setup
  3. Open alacritty

Expected behavior

It should show the correct symbols, symbols that we can see on Chris' videos. Kitty works just fine though.

Screenshots

2024-08-11_14-47

Additional context

I've read mixed things about this issue. Some people say that nerd fonts, which is used by the config of this script, are not supported on Alacritty. Elsewhere I read that it should work.

Nevertheless, whether the issue is due to Alacritty or not, the script should provide a good user experience, so I think that something could be done. [ Hopefully this is not taken the wrong way, not trying to be mean :P ]

RazoBeckett commented 1 month ago

The issue is that the bash prompt script installs the FiraCode Nerd Font by default, but Alacritty is set to use the MesloLGS Nerd Font. I’ve created a PR that might fix this issue. In the meantime, I suggest either downloading the MesloLGS Nerd Font from the Nerd Fonts Website or installing the FiraCode Nerd Font from the same website and updating the font in your Alacritty config, depending on your preference.

tsuza commented 4 weeks ago

The issue is that the bash prompt script installs the FiraCode Nerd Font by default, but Alacritty is set to use the MesloLGS Nerd Font. I’ve created a PR that might fix this issue. In the meantime, I suggest either downloading the MesloLGS Nerd Font from the Nerd Fonts Website or installing the FiraCode Nerd Font from the same website and updating the font in your Alacritty config, depending on your preference.

Yep, perfect, it works now. Thanks!

RazoBeckett commented 4 weeks ago

@tsuza well as your issue is solved you can close this issue ... thanks!