You are not logged in.

#1 2017-02-22 20:23:01

Swiftie
Member
From: Ukraine
Registered: 2013-04-27
Posts: 22

[SOLVED] URxvt ignoring some Xresources font settings

Hello!
I have a trouble with font settings in URxvt. Trying to use Powerline fallback for Tamsyn font.
But URxvt ignoring font settings in Xresources (old one font settings works perfect).
Also if i start urxvt -fn '-misc-tamsyn-medium-r-normal--13-101-100-100-c-70-iso8859-1,xft:Inconsolata\ for\ Powerline-13:pixelsize=13' or just run urxvt from already running urxvt (without any arguments) it works.
Explain what's wrong. Thanks!

.Xresources

*.font: -misc-tamsyn-medium-r-normal--13-101-100-100-c-70-iso8859-1,xft:Inconsolata\ for\ Powerline-13:pixelsize=13
*.boldFont: -misc-tamsyn-bold-r-normal--13-101-100-100-c-70-iso8859-1,xft:Inconsolata\ for\ Powerline-13:pixelsize=13
*.iconFont: -*-termsyn.icons-medium-r-*-*-12-*-*-*-*-*-*-*

pacman -Q | grep powerline

powerline 2.5.2-1
powerline-common 2.5.2-1
powerline-fonts-git r100.a44abd0-3
python-powerline 2.5.2-1

Last edited by Swiftie (2017-02-23 10:59:53)

Offline

#2 2017-02-23 07:02:59

whitebrice
Member
Registered: 2013-12-20
Posts: 33

Re: [SOLVED] URxvt ignoring some Xresources font settings

Will it work if you move those lines to the top .Xresources? I'm concerned that a syntax error in the file may lead to those lines never getting read.

I would also try removing the backslashes from the inconsolata font descriptor. I'm pretty sure they're at least unnecessary.

Offline

#3 2017-02-23 08:10:14

Swiftie
Member
From: Ukraine
Registered: 2013-04-27
Posts: 22

Re: [SOLVED] URxvt ignoring some Xresources font settings

whitebrice wrote:

Will it work if you move those lines to the top .Xresources? I'm concerned that a syntax error in the file may lead to those lines never getting read.

I would also try removing the backslashes from the inconsolata font descriptor. I'm pretty sure they're at least unnecessary.

Lines already in top of the .Xresources
Removing backslashes given nothing.

Offline

#4 2017-02-23 10:03:26

seth
Member
Registered: 2012-09-03
Posts: 51,223

Re: [SOLVED] URxvt ignoring some Xresources font settings

Also if i start urxvt -fn '-misc-tamsyn-medium-r-normal--13-101-100-100-c-70-iso8859-1,xft:Inconsolata\ for\ Powerline-13:pixelsize=13' or just run urxvt from already running urxvt (without any arguments) it works.

How do you start urxvt otherwise?
Does it work when running urxvt from xterm?
What kind of session is this? How and when is ~/.Xresources merged at sesssion startup?

Online

#5 2017-02-23 10:59:38

Swiftie
Member
From: Ukraine
Registered: 2013-04-27
Posts: 22

Re: [SOLVED] URxvt ignoring some Xresources font settings

Thanks for replies!
But it's my dumb fault (bad idea to tweak the terminal at late night smile ).
My awesome config starts urxvt in client/daemon mode by hotkeys (which i use to start terminal).
So after merging i should be restart a daemon. But i didn't do that.

Offline

Board footer

Powered by FluxBB