转自:http://codespider.is-programmer.com/posts/25247.html
X11相关的配置位于/etc/X11下。
xterm的配置是/etc/X11/app-defaults/XTerm。在XTerm后加入如下配置:
!xterm font and locale
xterm.locale:true
xterm.utf8: true
xterm*utf8Title:true
xterm*fontMenu*fontdefault*Label:Default
xterm*faceName:Consolas:antialias=true:pixelsize=:italic
xterm*faceNameDoublesize:WenQuanYi Micro Hei Mono:pixelsize=:antialias=true:italic
xterm*xftAntialias:true
xterm*cjkWidth:false
xterm*background:black
xterm*foreground:green
xterm*color0: #
xterm*color1: #CC0000
xterm*color2: #4E9A06
xterm*color3: #C4A000
xterm*color4: #3465A4
xterm*color5: #75507B
xterm*color6: #06989A
xterm*color7: #D3D7CF
xterm*color8: #
xterm*color9: #EF2929
xterm*color10: #8AE234
xterm*color11: #FCE94F
xterm*color12: #729FCF
xterm*color13: #AD7FA8
xterm*color14: #34E2E2
xterm*color15: #EEEEEC !解决Alt键不好使
xterm*eightBitInput:false
xterm*altSendsEscape:true