4

I am using this tmux configuration. It works fine, except the powerline symbols are not rendered. I have installed the correct fonts, and am using them in the terminal. From the docs:

I installed Powerline and/or (patched) fonts but can't see Powerline symbols.

First, you don't need to install Powerline. You only need fonts patched with Powerline symbols or the standalone PowerlineSymbols.otf font. Then make sure your ~/.tmux.conf.local copy uses the right code points for tmux_conf_theme_left_separator_XXX values.

I checked the config file and tried rendering the symbols, and they all work fine. unicode rendering properly

And viewing ~/.tmux.conf.local shows that these unicode characters are consistent:

.tmux.conf.local output

So I have installed the right fonts, am using the right fonts in my terminal, can render the right glyphs (when using Python). But it doesn't display in the powerline.

What can I try to do to make the symbols render correctly?

I am using Ubuntu 20.04.2 LTS, the default terminal, and tmux.

Null Salad
  • 765
  • 2
  • 16
  • 31

2 Answers2

21

I had trouble with this too while using the ariline in vim and I found an answer that worked for me. Forgot the original source so cant link it.

Use tmux -u

Sm74
  • 211
  • 2
  • 4
  • 1
    `-u`: Write UTF-8 output to the terminal even if the first environment variable of LC_ALL, LC_CTYPE, or LANG that is set does not contain "UTF-8" or "UTF8". – Michal Svorc Feb 05 '23 at 09:11
0

enter image description here

change the settings in your ~/.tmux.conf.local as shown to enable using powerline fonts basically the below code tries to turn on powerline font as seperator while the above four lines doesn't use it