|
|
发表于 2009-5-10 22:49:28
|
显示全部楼层
配置参考:http://forum.ubuntu.org.cn/viewtopic.php?t=143221
配置文件.Xresources
英文等宽字体用dejavu 12px,中文文泉驿正黑12px
如果用scim输入法可以把xterm*inputMethod: ibus改过来- !font and locale
- xterm*locale: true
- xterm.utf8: true
- xterm*utf8Title: true
- xterm*fontMenu*fontdefault*Label: Default
- xterm*faceName:DejaVu Sans Mono:antialias=True:pixelsize=12
- !xterm*faceName: monofur:antialias=True:pixelsize=12
- xter*boldFont: Bitstream Vera Sans Mono:style=Bold:pixelsize=12
- xterm*faceNameDoublesize:WenQuanYi Zen Hei:antialias=True:pixelsize=12
- xterm*xftAntialias: true
- xterm.cjkWidth:true
- XTerm*preeditType: Root
- xterm*inputMethod: ibus
复制代码 完整如下- !look and feel
- xterm.termName: xterm-256color
- xterm.geometry: 80×36
- xterm*scrollBar: true
- xterm*rightScrollBar: true
- xterm*loginshell: true
- xterm*cursorBlink: true
- xterm*background:black
- xterm*foreground:white
- xterm.borderLess: true
- xterm.cursorBlink: true
- xterm*colorUL: yellow
- xterm*colorBD: white
- !fix alt key input
- xterm*eightBitInput: true
- xterm*altSendsEscape: true
- !mouse selecting to copy, ctrl-v to paste
- !Ctrl p to print screen content to file
- XTerm*VT100.Translations: #override \
- Ctrl <KeyPress> V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
- <BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
- Ctrl <KeyPress> P: print() \n
- !font and locale
- xterm*locale: true
- xterm.utf8: true
- xterm*utf8Title: true
- xterm*fontMenu*fontdefault*Label: Default
- xterm*faceName:DejaVu Sans Mono:antialias=True:pixelsize=12
- !xterm*faceName: monofur:antialias=True:pixelsize=12
- xter*boldFont: Bitstream Vera Sans Mono:style=Bold:pixelsize=12
- xterm*faceNameDoublesize:WenQuanYi Zen Hei:antialias=True:pixelsize=12
- xterm*xftAntialias: true
- xterm.cjkWidth:true
- XTerm*preeditType: Root
- !-- inputmethod
- xterm*inputMethod: ibus
复制代码 |
|