* Wu, Yue <vano...@gmail.com> [2009-10-08 16:31 +0800]: > How to set bg/fg for xterm so that the color is the exact same with > which for console(the real console, not x terminal)? I find console > has the beautiful font displaying and soft seeing fg/bg effect, don't > know how to set it for xterm to the same. (I have to use x terminal > for Chinese showing.)
Edit or create an '~/.Xresources' with appropriate resource settings (in this case, XTerm*color0 - XTerm*color15). I'd have to dig up the color scheme to match the Linux console, but some searching of the Web should find it. OK, here you go, drawn from GNOME Terminal's preferences. XTerm*color0: rgb:00/00/00 XTerm*color1: rgb:AA/00/00 XTerm*color2: rgb:00/AA/00 XTerm*color3: rgb:AA/55/00 XTerm*color4: rgb:00/00/AA XTerm*color5: rgb:AA/00/AA XTerm*color6: rgb:00/AA/AA XTerm*color7: rgb:AA/AA/AA XTerm*color8: rgb:55/55/55 XTerm*color9: rgb:FF/55/55 XTerm*color10: rgb:55/FF/55 XTerm*color11: rgb:FF/FF/55 XTerm*color12: rgb:55/55/FF XTerm*color13: rgb:FF/55/FF XTerm*color14: rgb:55/FF/FF XTerm*color15: rgb:FF/FF/FF