Open zd-dalibor opened 6 years ago
Yes, apt package does not work, I clone this repository and install by install.sh
works.
Debian 9.4 same problem (and same solution)
Same.
18.04 LTS, neither option works.
Same, running install.sh also does not fix font on shell with ohmyzsh, any ideas ?
you should set the shell font to droid sans mono dotted for powerline regular @dalibor983 @Darkbish
Try to use that in your terminal:
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts
Weird, for me it seems to work with gnome-terminal, but not with Terminator. Installing from repo as mentioned above fixes it for me.
Just in case:
./install.sh
from the repoFiraMono Regular
, changed to FiraMono for powerline
.Maybe, it doesn't have the permission.
try this:
install font, then add permission;
chmod -R 777 ~/.local/share/fonts
The Debian fonts-powerline
package is not expected to work this way. That fonts-powerline
package contains only the "Powerline Symbols" font, which is a small font containing only the special Powerline symbol characters, and no normal characters (like "A", "B", "C", etc.). On its own, the Powerline Symbols font is only useful in applications which support "font fallback", where you can specify multiple fonts, and if the application doesn't find a glyph for a particular character in the first font, it goes and looks in the second font, and so on. Lots of apps don't support this.
What y'all want are the "Powerline-patched fonts", which are a collection of various open-source fonts which have had the plain Powerline Symbols font merged in to them, so that you can use them in applications which support only a single font selection.
Maybe someone should send in a request to Debian for a fonts-powerline-patched
package, that contains the powerline-patched fonts in this repo? Could make life easier for users.
The Debian
fonts-powerline
package is not expected to work this way. Thatfonts-powerline
package contains only the "Powerline Symbols" font, which is a small font containing only the special Powerline symbol characters, and no normal characters (like "A", "B", "C", etc.). On its own, the Powerline Symbols font is only useful in applications which support "font fallback", where you can specify multiple fonts, and if the application doesn't find a glyph for a particular character in the first font, it goes and looks in the second font, and so on. Lots of apps don't support this.What y'all want are the "Powerline-patched fonts", which are a collection of various open-source fonts which have had the plain Powerline Symbols font merged in to them, so that you can use them in applications which support only a single font selection.
Maybe someone should send in a request to Debian for a
fonts-powerline-patched
package, that contains the powerline-patched fonts in this repo? Could make life easier for users.
This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta
Just in case:
- clone this repo
- run
./install.sh
from the repo- add the files 10 & 50 to fontconfig/conf.d/ directory Note: fc-cache -vf in Ubuntu Disco checks in ~/.fontconfig/conf.d, it could be ~/.config/fontconfig/conf.d/ otherwise
- Now open your terminal emulation application and go to preferences->profile and change the font to the patched font. For example: Mine was
FiraMono Regular
, changed toFiraMono for powerline
.- Save and the exit preferences, you should see the new font now
I did have to change the fonts, no other ways were working because it was simply using a different font. Both for Terminator and gnome-terminal.
This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta
I had the same issue with VSCode on Ubuntu, which led me to the thread. You can add PowerlineSymbols as a fallback font to the terminal simply by adding it to the "terminal.integrated.fontFamily" setting (ex: my_font, PowerlineSymbols
). However, I found the symbols to be slightly misaligned to my font (DejaVu Sans Mono), so I ended up using the patched version anyway.
This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta
I had the same issue with VSCode on Ubuntu, which led me to the thread. You can add PowerlineSymbols as a fallback font to the terminal simply by adding it to the "terminal.integrated.fontFamily" setting (ex:
my_font, PowerlineSymbols
). However, I found the symbols to be slightly misaligned to my font (DejaVu Sans Mono), so I ended up using the patched version anyway.
Same issue on Ubuntu 20.04
I create powerline folder in /usr/share/fonts/ en Reset font cache and all is work !
$ git clone https://github.com/powerline/fonts.git
$ sudo mkdir /usr/share/fonts/powerline
$ sudo cp -r ~/fonts/* /usr/share/fonts
$ fc-cache -f /usr/share/fonts
Exit all terminals and launch one
With the ./install.sh the script install fonts in /.local/share/fonts but didn't work
With Pop!_OS 21.10
I create powerline folder in /usr/share/fonts/ en Reset font cache and all is work !
$ git clone https://github.com/powerline/fonts.git $ sudo mkdir /usr/share/fonts/powerline $ sudo cp -r ~/fonts/* /usr/share/fonts $ fc-cache -f /usr/share/fonts
Exit all terminals and launch one
With the ./install.sh the script install fonts in /.local/share/fonts but didn't work
Thanks a lot! Working now ;)
I do not see any of this fonts after installing it with
I tried this also fontconfig suggestion but without success.