Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04 installation does not work #281

Open
zd-dalibor opened this issue Apr 29, 2018 · 17 comments
Open

Ubuntu 18.04 installation does not work #281

zd-dalibor opened this issue Apr 29, 2018 · 17 comments

Comments

@zd-dalibor
Copy link

I do not see any of this fonts after installing it with

sudo apt-get install fonts-powerline
sudo fc-cache -f -v

I tried this also fontconfig suggestion but without success.

@Darkbish
Copy link

Darkbish commented May 7, 2018

Yes, apt package does not work, I clone this repository and install by install.sh works.

@likarum
Copy link

likarum commented Jun 21, 2018

Debian 9.4 same problem (and same solution)

@SConaway
Copy link

Same.

@pandasauce
Copy link

18.04 LTS, neither option works.

@cieplik206
Copy link

Same, running install.sh also does not fix font on shell with ohmyzsh, any ideas ?

@sternapeg
Copy link

you should set the shell font to droid sans mono dotted for powerline regular @dalibor983 @Darkbish

@lazincastro
Copy link

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

https://github.com/powerline/fonts

@aiguofer
Copy link

Weird, for me it seems to work with gnome-terminal, but not with Terminator. Installing from repo as mentioned above fixes it for me.

@toxicmender
Copy link

Just in case:

  1. clone this repo
  2. run ./install.sh from the repo
  3. 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
  4. 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 to FiraMono for powerline.
  5. Save and the exit preferences, you should see the new font now

@Jooeeee
Copy link

Jooeeee commented Nov 13, 2019

Maybe, it doesn't have the permission.
try this:
install font, then add permission;
chmod -R 777 ~/.local/share/fonts

@apjanke
Copy link

apjanke commented Jan 2, 2020

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.

@leijerry888
Copy link

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.

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

@entrptaher
Copy link

Just in case:

  1. clone this repo
  2. run ./install.sh from the repo
  3. 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
  4. 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 to FiraMono for powerline.
  5. 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.

@the-lambda-way
Copy link

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.

@Mithrandir2k18
Copy link

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

@LinkPhoenix
Copy link

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

@NTD815
Copy link

NTD815 commented Jan 4, 2024

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests