0

I'm configuring the look of xterm modifying the .Xresources but I'm having some trouble changing the colors. I tried with

XTerm*vt100.background:           #000000
XTerm*vt100.foreground:           #666699

XTerm*vt100.color0:               #333366
XTerm*vt100.color8:               #333399

XTerm*vt100.color1:               #6666CC
XTerm*vt100.color9:               #9999FF

XTerm*vt100.color2:               #0099CC
XTerm*vt100.color10:              #00CCFF

XTerm*vt100.color3:               #3366CC
XTerm*vt100.color11:              #6699FF

XTerm*vt100.color4:               #006699
XTerm*vt100.color12:              #0099CC

XTerm*vt100.color5:               #0066FF
XTerm*vt100.color13:              #0099FF

XTerm*vt100.color6:               #669999
XTerm*vt100.color14:              #66CCCC

XTerm*vt100.color7:               #99CCCC
XTerm*vt100.color15:              #CCFFFF

it seems to be recognizing only the background and foreground colors.

After that I found the following theme:

 *background: rgb:00/00/00
 *foreground: rgb:ff/ff/ff
 *color0:     rgb:00/00/00
 *color1:     rgb:d3/62/65
 *color2:     rgb:ae/ce/91
 *color3:     rgb:e7/e1/8c
 *color4:     rgb:7a/7a/b0
 *color5:     rgb:96/3c/59
 *color6:     rgb:41/81/79
 *color7:     rgb:be/be/be
 *color8:     rgb:66/66/66
 *color9:     rgb:ef/81/71
 *color10:    rgb:e5/f7/79
 *color11:    rgb:ff/f7/96
 *color12:    rgb:41/86/be
 *color13:    rgb:ef/9e/be
 *color14:    rgb:71/be/be
 *color15:    rgb:ff/ff/ff

but again it only recognized the background and foreground colors (black and white).

So my question is: What could be wrong and how can I fix it?


EDIT: Maybe is useful that I post the output of xrdb -query:

XTerm*termName: xterm-256color
XTerm*vt100.background: #000000
XTerm*vt100.color0: #333366
XTerm*vt100.color1: #6666CC
XTerm*vt100.color10:    #00CCFF
XTerm*vt100.color11:    #6699FF
XTerm*vt100.color12:    #0099CC
XTerm*vt100.color13:    #0099FF
XTerm*vt100.color14:    #66CCCC
XTerm*vt100.color15:    #CCFFFF
XTerm*vt100.color2: #0099CC
XTerm*vt100.color3: #3366CC
XTerm*vt100.color4: #006699
XTerm*vt100.color5: #0066FF
XTerm*vt100.color6: #669999
XTerm*vt100.color7: #99CCCC
XTerm*vt100.color8: #333399
XTerm*vt100.color9: #9999FF
XTerm*vt100.colorMode:  true
XTerm*vt100.faceName:   Liberation Mono
XTerm*vt100.faceSize:   12
XTerm*vt100.foreground: #666699
XTerm*vt100.geometry:   100x24+0+0
XTerm*vt100.on2Clicks:  line
XTerm*vt100.rightScrollBar: true
XTerm*vt100.saveLines:  2000
Xft.dpi:    96
Xft.antialias:  1
Xft.hintstyle:  hintfull
Xft.rgba:   none
Xcursor.theme:  
Xcursor.size:   0
Xcursor.theme_core: 1
  • Are you running xrdb to load the new resources? E.g. xrdb -m .Xresourxes to merge the changed values into the resource db. – casey Jan 1 '14 at 4:09
  • Yes, every time I make a change to .Xresources. – Chirs Erickson Jan 1 '14 at 4:11
  • Is your term set up to support 256 colours? – jasonwryan Jan 1 '14 at 4:27
  • How can I check that? – Chirs Erickson Jan 1 '14 at 4:30
  • Maybe there's a setting for xterm.vt100.color0 or some such that takes precedence. What does appres XTerm xterm show? – Gilles Jan 1 '14 at 4:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.