Home » Linux » xterm配置文件
  • 24
  • 10月

xterm配置文件

下面是本人使用的xterm的配置文件:

vi ~/.Xresources, 添加下面的内容

Xft.dpi:96
Xft.hinting:1
Xft.hintstyle:hintmedium
xpdf.title: PDF
XTerm*locale: en_US.utf-8
XTerm*utf8Title: true
XTerm*fontMenu*fontdefault*Label: Default
XTerm*faceName: Luxi Mono
XTerm*faceNameDoublesize: WenQuanYi Zen Hei
XTerm*faceSize: 11
XTerm*faceSize1: 11
XTerm*faceSize2: 11
XTerm*faceSize3: 11
XTerm*faceSize4: 11
XTerm*faceSize5: 11
XTerm*faceSize6: 11
XTerm.cjkWidth:true
XTerm*background: #e2e2e2
XTerm*foreground: black
XTerm*scrollBar: true
XTerm*rightScrollBar: true
XTerm*jumpScroll:  true
XTerm*SaveLines: 1000

!--------------copy and paste-------------------
!mouse selecting to copy, ctrl-v to paste
!Ctrl p to print screen content to file
xterm*VT100.Translations: #override \
Alt <KeyPress> v: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
<BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
Ctrl <KeyPress> p: print() \n

~/.xinitrc里加入下面的语句

xrdb -load ~/.Xresources