visual studio code – Oh-my-zsh terminal icon fails to show correctly on Ubuntu
After some asking chatGPT I had figured out the issues, it seems installing VSCode through Snap has limitation on the desktop fonts. If anybody faced this issues due to installing vscode through Snap you can fix through the following steps:
- Add additional terminal settings:
"terminal.integrated.rendererType": "canvas",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.gpuAcceleration": "on"
- Copy fonts to system-wide to let Snap VSCode access using terminal:
snap connection code
sudo cp /home/armon/.local/share/fonts/MesloLGS* /usr/local/share/fonts/
sudo cp /home/armon/.local/share/fonts/HackNerdFont* /usr/local/share/fonts/
sudo fc-cache -fv
And the problem should be fixed
Read more here: Source link
