Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Hello, The Theme has a small problem on my terminal #71

Closed
netcan opened this issue Aug 8, 2015 · 12 comments
Closed

Hello, The Theme has a small problem on my terminal #71

netcan opened this issue Aug 8, 2015 · 12 comments

Comments

@netcan
Copy link

netcan commented Aug 8, 2015

screenshot - 2015 08 08 - 11 46 39
the theme is so cool but on my terminal isn't perfect. I install the awesome powerline fonts, and arg POWERLEVEL9K_MODE='awesome-patched'

@dritter
Copy link
Member

dritter commented Aug 8, 2015

Hi @netcan
What terminal emulator do you use?

You seem to have two problems:

  1. your terminal doesn't support 256 colors. Try to set TERM=xterm-256colors, or similar.
  2. your terminal seems to use the wrong font. Have you chosen an awesome-patched font in the settings of your terminal emulator?

@netcan
Copy link
Author

netcan commented Aug 8, 2015

I use the terminal is gnome-terminal,and Built-In schemes is XTerm,in ~/.zshrc,I export TERM="xterm-256color",and POWERLEVEL9K_MODE='awesome-patched' but dosen't work.
The picture show my terminal fontset, is it?
screenshot - 2015 08 08 - 17 59 07

@dritter
Copy link
Member

dritter commented Aug 9, 2015

@netcan Yep. For this theme you need a special font.

If you use awesome-patched, you need a awesome-font.
In all other cases, you need an powerline-font

That should do the trick ;)

@netcan
Copy link
Author

netcan commented Aug 10, 2015

screenshot - 08102015 - 10 04 50 am
But it look like dosen't work...and this is my ~/.zshrc
screenshot - 08102015 - 10 07 47 am

@dritter
Copy link
Member

dritter commented Aug 10, 2015

This is still the wrong font.

To clear things up:
In awesome-patched mode you need either a font that combines the original awesome font, octoicons and a powerline-patched font or a mechanism to use a normal font and fall back to the right one. The awesome-terminal-fonts repository suggests the latter way, but offers in its patching-strategy a already combined font (first way).
If the second way doesn't work for you, just download one of the already patched fonts here.

I assume, you just installed the "awesome-font" from the "fonts" directory, which is just the normal awesome-font and does not include octoicons and powerline..

Let me know, if that worked. :)

@netcan
Copy link
Author

netcan commented Aug 10, 2015

screenshot - 08102015 - 07 05 52 pm
em. It work! I use already patched fonts...Thanks

@dritter
Copy link
Member

dritter commented Aug 10, 2015

Good to hear! You are welcome :)

@dritter
Copy link
Member

dritter commented Aug 10, 2015

Btw. Could you mark this issue as resolved and close it? Thx.

@paulochf
Copy link

Hi! Could someone help me?

I'm having almost the same problem as @netcan's.

term

Then I saw @dritter's comment

In awesome-patched mode you need either a font that combines the original awesome font, octoicons and a powerline-patched font or a mechanism to use a normal font and fall back to the right one. The awesome-terminal-fonts repository suggests the latter way, but offers in its patching-strategy a already combined font (first way).
If the second way doesn't work for you, just download one of the already patched fonts here.

I assume, you just installed the "awesome-font" from the "fonts" directory, which is just the normal awesome-font and does not include octoicons and powerline..

But I didn't figure out how to resolve this issue.

I'm using zsh on gnome-terminal, and the cited fonts from gabrielelana/awesome-terminal-fonts@c24e7e1 (patching-strategy branch) were copied to .fonts but don't appear on font selection.

Thanks!

@dritter
Copy link
Member

dritter commented Aug 19, 2015

Hi @paulochf !

It seems like you mixed two things together.

Either you install awesome-terminal-fonts with fontcache (normal installation). Then you have to copy the fallback-fonts to ~/.fonts.

Or you just install an already patched font (patching-strategy). Then all you have to do, is to download one of the three fonts from here and install it (usually something like doubleclicking it, and clicking at "install font").

@paulochf
Copy link

Hey @dritter!

Ok, so (I guess) I removed the awesome-terminal-fonts and tried the patching-strategy. Downloaded the 3 fonts from your link to ~/.fonts. When double-clicked, it opened the Font Viewer and there's a grey shaded button "Installed".

So, I went to ~/.zshrc and enabled the theme

ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE="awesome-patched"

but then

zsh2

Did I miss anything?

Edit for future reference: I did miss some things.

  1. in ~/.zshrc: added line export TERM=xterm-256color as in this comment
  2. changed gnome-terminal's font: Edit->Profile Preferences->General Tab, chose one of the downloaded fonts.

And voila

zsh3

Thanks! =D

@dritter
Copy link
Member

dritter commented Aug 21, 2015

@paulochf That looks awesome! :) Glad that you figured it out.
I think we need a simpler installation tutorial..

Syphdias pushed a commit to Syphdias/powerlevel9k that referenced this issue May 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants