How to change xterm colors using .Xdefaults file?

alwbtc picture alwbtc · Jul 15, 2012 · Viewed 18.3k times · Source

I have created the following .Xdefaults file in my home directory but xterm still have default colors, what might be wrong here?

*xterm*background: #101010
*xterm*foreground: #d0d0d0
*xterm*cursorColor: #d0d0d0
*xterm*color0: #101010
*xterm*color1: #960050
*xterm*color2: #66aa11
*xterm*color3: #c47f2c
*xterm*color4: #30309b
*xterm*color5: #7e40a5
*xterm*color6: #3579a8
*xterm*color7: #9999aa
*xterm*color8: #303030
*xterm*color9: #ff0090
*xterm*color10: #80ff00
*xterm*color11: #ffba68
*xterm*color12: #5f5fee
*xterm*color13: #bb88dd
*xterm*color14: #4eb4fa
*xterm*color15: #d0d0d0

Answer

Reggie picture Reggie · Jul 15, 2012

Di you try xrdb .Xdefaults before (re-)launching xterm?