xterm配置文档

记录一下xterm配置,文件:~/.Xdefaults

 

!look and feel
xterm.termName: xterm-256color
xterm.geometry: 80x36
xterm*scrollBar: false
xterm*rightScrollBar: true
xterm*loginshell: true
xterm*cursorBlink: true
xterm*background:  black
xterm*foreground:  gray
xterm.borderLess: true
xterm.cursorBlink: true
xterm*colorUL: yellow
xterm*colorBD: white

!fix alt key input
xterm*eightBitInput: false
xterm*altSendsEscape: true

!print color and bold/underline attributes
xterm*printAttributes: 2
xterm*printerCommand: cat > ~/xtermdump

!mouse selecting to copy, ctrl-v to paste
XTerm*VT100.Translations: #override \
    Ctrl Shift  V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
    : select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
    Ctrl  P: print() \n\
    Ctrl Shift  C: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n


!font and locale
xterm*locale: true
xterm.utf8:     true
xterm*utf8Title: true
xterm*fontMenu*fontdefault*Label: Default
!xterm*faceName: Monaco:antialias=True:pixelsize=15
!xterm*faceName: monofur:antialias=True:pixelsize=20
!xter*boldFont: DejaVu Sans Mono:style=Bold:pixelsize=15
!xterm*faceNameDoublesize: wenquanyi bitmap song:pixelsize=16:antialias=True
XTerm.vt100.faceName: DejaVu Sans Mono:antialias=True:pixelsize=15

XTerm.vt100.faceNameDoublesize:WenQuanYi Zen Hei Mono:antialias=True:pixelsize=15
xterm*xftAntialias: true
xterm*cjkWidth:false            !<-----谢谢xeoc指正 

!-- Tango color scheme
*xterm*color0: #2e3436
*xterm*color1: #cc0000
*xterm*color2: #4e9a06
*xterm*color3: #c4a000
*xterm*color4: #3465a4
*xterm*color5: #75507b
*xterm*color6: #0b939b
*xterm*color7: #d3d7cf
*xterm*color8: #555753
*xterm*color9: #ef2929
*xterm*color10: #8ae234
*xterm*color11: #fce94f
*xterm*color12: #729fcf
*xterm*color13: #ad7fa8
*xterm*color14: #00f5e9
*xterm*color15: #eeeeec

最后运行xrdb ~/.Xdefaults就行了

上网找到后自己稍微改了下,感谢作者:http://forum.ubuntu.org.cn/viewtopic.php?t=143221

你可能感兴趣的:(linux)