You are not logged in.

#1 2017-09-21 07:47:12

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

[SOLVED] Having problems setting Urxvt font

Hello, I am having some problems setting up fonts for urxvt, here is my .Xdefaults:

#URxvt.font:	xft:ProFont:size=15
#URxvt.font:	-*-profont-*-*-*-*-12-*-*-*-*-*-*-*
#URxvt.font:	xft:Bitstream VeraSans Mono::size=10
URxvt.termName:	rxvt
URxvt.background: #000000
URxvt.foreground: #cccccc
URxvt.scrollBar: false
URxvt.perl-lib: /usr/lib/urxvt/perl/
URxvt.perl-ext-common: default,matcher

URrxvt.trasparent: true
URxvt.tintColor: white
URxvt.shading: 50


!black
*color0:                  #1B1D1E
*color8:                  #505354
!red
*color1:                  #F92672
*color9:                  #FF5995
!green
*color2:                  #82B414
*color10:                 #B6E354
!yellow
*color3:                  #FD971F
*color11:                 #FEED6C
!blue
*color4:                  #4E82AA
*color12:                 #0C73C2
!magenta
*color5:                  #8C54FE
*color13:                 #9E6FFE
!cyan
*color6:                  #465457
*color14:                 #899CA1
!white
*color7:                  #CCCCC6
*color15:                 #F8F8F2

URxvt.font: xft:ProFont:pixelsize:15
URxvt.italicFont: xft:ProFont:pixelsize:15
#URxvt.letterSpace: 0
URxvt.boldFont: xft:ProFont:pixelsize:15

There are some weird things, however: Bold text IS working, regular text is not, and both are declared in the same way.
Also, when I use urxvtconfig from AUR, it generates an .Xdefaults file that declares the font in the same exact way that I am doing it and it does work. There is not much difference between that generated file and mine, other than the colors.

Last edited by YamiFrankc (2017-09-22 07:04:42)


Thanks and greetings.

Offline

#2 2017-09-21 07:49:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Having problems setting Urxvt font

`#` is not a comment in Xresources, `!` is...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-21 08:26:07

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

Re: [SOLVED] Having problems setting Urxvt font

jasonwryan wrote:

`#` is not a comment in Xresources, `!` is...

Welp.... that was it, I commented them properly and now it works.
I just assumed that # commented because vim colored them as a comment(same as !)
Thanks!


Thanks and greetings.

Offline

#4 2017-09-21 08:26:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Having problems setting Urxvt font

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB