You are not logged in.

#1 2015-12-08 19:38:49

Lax Lexis
Member
Registered: 2013-09-30
Posts: 91

Font setting in urxvt, dmenu, i3status or i3 window titles

Hello my friends,

my questions are about font setting in X especially for urxvt, dmenu and i3status or i3 window titles.
There is a lot I do not understand. For all examples I use the terminus-font.

1)
At first the font setting of urxvt which we can define in the .Xresources. It can be done with urxvt*font: ... or URxvt.font: .... I do not know what is recommended.

I tried to use

…
URxvt.font: -*-terminus-medium-r-normal--16-*-*-*-*-*-*-*
…

and it works.

2)
At second the font setting of i3status and the i3 window titles which we can define in the .config/i3/config.
I tried to use

...
font pango: Terminus 16px
...

and it works.

3)
At third and last the font setting of dmenu which we can also define in the .config/i3/config. But this is a little bit strange or just buggy?

I tried a lot commands but only

…
bindsym $mod+d exec dmenu_run -fn 'terminus-font:normal:pixelsize=16'
…

works. That is weird because the same command, I mean dmenu_run -fn 'terminus-font:normal:pixelsize=18', does not work in the terminal.
In the terminal the command

dmenu_run -fn 'terminus-font, 16px'

works but however not as line in the .config/i3/config. And there is another problem.
The font size of dmenu, run with dmenu_run -fn 'terminus-font, 16px', seems to be bigger then the font size of dmenu, run with the line dmenu_run -fn 'terminus-font:normal:pixelsize=16' in the .config/i3/config. Why?

And my last question. Why is there no uniformity? Permanent another command for setting the font and its size.
Thanks for answers!

Friendly regards

Offline

#2 2015-12-08 20:25:37

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Font setting in urxvt, dmenu, i3status or i3 window titles

Use the xlfd for all configuration files.

I think terminus has both bitmapped and xft variants and they look almost identical.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB