You are not logged in.

#1 2015-04-16 17:58:41

woodape
Member
Registered: 2015-03-25
Posts: 159

[SOLVED] Some colored text in urxvt displaying oddly

Some colored text does not display correctly in the terminal - but not all. Here's a screenshot:

http://i.imgur.com/xrzCR16l.png

As you can see, the directory names displayed in blue and the executable files displayed in green (not sure why .vimrc is executable..) are all funky looking. However, my username and the regular file names are all displaying correctly. Also all the colored text in VIm in the terminal looks fine as well:

Vim Colors

I've read through the Font Config Wiki - Applications Without Fontconfig Support but none of the configs suggested:

Xft.autohint: 0
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

in my .Xresources file change this behavior. Here is my full .Xresources file without the above settings, its not very long:

! special
*.foreground:   #e9ebee
!#93a1a1
*.background:   #002b36
*.cursorColor:  #93a1a1

! black
*.color0:       #002b36
*.color8:       #657b83

! red
*.color1:       #dc322f
*.color9:       #dc322f

! green
*.color2:       #859900
*.color10:      #859900

! yellow
*.color3:       #b58900
*.color11:      #b58900

! blue
*.color4:       #268bd2
*.color12:      #268bd2

! magenta
*.color5:       #6c71c4
*.color13:      #6c71c4

! cyan
*.color6:       #2aa198
*.color14:      #2aa198

! white
*.color7:       #93a1a1
*.color15:      #fdf6e3

URxvt*.transparent: true
URxvt.shading: 100
!URxvt.font: xft:DejaVu Sans Mono:pixelsize==14:antialias=false

urxvt*font: xft:DejaVu Sans Mono:style=Book:antialias=false:size=9, \
            xft:WenQuanYi Bitmap Song:size=8, \
            xft:FreeSerif:style=Regular, \
            xft:unifont:style=Medium:antialias=false

urxvt.scrollBar: false

I would have thought that it has something to do with the colors being defined incorrectly, but the ".vimrc" file is using the same color as my username, and my username is behaving correctly. I'm at a loss and attempting to google "Font Problems in urxvt" gets topics where the the font is incorrect throughout the whole terminal, not just in particular places. Anyone know how to correct this?



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by woodape (2015-04-16 18:36:08)

Offline

#2 2015-04-16 18:17:09

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

Re: [SOLVED] Some colored text in urxvt displaying oddly

Bold is not displaying correctly...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-04-16 18:21:07

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,748
Website

Re: [SOLVED] Some colored text in urxvt displaying oddly

Try defining your bold font explicitly:

URxvt.boldFont: blah

Offline

#4 2015-04-16 18:35:25

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: [SOLVED] Some colored text in urxvt displaying oddly

Thanks HOS, that did the trick!

Offline

Board footer

Powered by FluxBB