You are not logged in.

#1 2013-02-20 14:49:09

fradeve
Member
Registered: 2013-01-24
Posts: 9

xterm + tmux-powerline, anyone?

Hi guys,
I've recently switched from Konsole to xterm and, hey, it's really lightweight! I'm trying to port all the Konsole settings to xterm, but I've been blocked by weird powerline fonts.

I've installed ttf-inconsolata-dz-powerline package to get a powerline-patched font for Powerline.

My .Xresources

! ### font ###
! ############

XTerm*faceName: xft:Inconsolata-dz for Powerline:pixelsize=11.5

! ### color ###
! #############
! Solarized color scheme for the X Window System
! http://ethanschoonover.com/solarized

! Common

#define S_yellow        #b58900
#define S_orange        #cb4b16
#define S_red           #dc322f
#define S_magenta       #d33682
#define S_violet        #6c71c4
#define S_blue          #268bd2
#define S_cyan          #2aa198
#define S_green         #859900
...

the font is loaded in xterm, but arrow elements in tmux-powerline are really odd; that said, I've had to disable patched fonts in my tmux-powerline theme, but I'm not satisfied with that. Has anyone managed to get it working?

Thank you

Offline

#2 2013-04-12 05:37:49

ZiXon
Member
Registered: 2005-04-01
Posts: 7

Re: xterm + tmux-powerline, anyone?

I have the exact problem.
I installed:
yaourt -S python-powerline-git
yaourt -S otf-source-code-pro-powerline-git

And trying both Inconsolata and Source code pro fonts don't show up any of the special glyphs in powerline.
Both fonts do work in gvim but I would like to use it in vim-cli.

Did you ever manage to fix this?

Offline

#3 2013-04-12 08:00:57

fradeve
Member
Registered: 2013-01-24
Posts: 9

Re: xterm + tmux-powerline, anyone?

Sadly, no, I returned to Konsole

Offline

#4 2013-04-12 08:59:55

ZiXon
Member
Registered: 2005-04-01
Posts: 7

Re: xterm + tmux-powerline, anyone?

I finally got it working in Xterm. You need to start it with:

uxterm   #  X  terminal  emulator  for  Unicode  (UTF-8) environments

In combination with these .Xresource settings it works great:

UXTerm*faceName: Source Code Pro for Powerline
UXTerm*faceSize: 12

Hopefully you can dump the bloated shell now. smile
I tried many different shells all with different results:
uxterm - everything works
xterm - font works without glyphs
urxvt - font works without glyphs and messes up my cursor in vim sad
termit - font works with glyphs, doesn't take my color config
termite - font works with glyphs, I had to create my own color config
sakura - font works with glyphs, there is no good color palette

I actually ended up using kermite because it works great now that I have my colors in.

Offline

Board footer

Powered by FluxBB