urxvt的配置
rxvt是linux下一个很轻便的终端软件,不过对中文支持不好,urxvt是其的unicode版本,在locale为utf8的系统中直接可以输入中文。下面是我的.Xdefaults文件的配置:
Xft.dpi:96
! Color setting
!URxvt.geometry: 200x53
URxvt.cursorColor:lightyellow
URxvt.foreground:green
URxvt.background:black
! transparent setting
URxvt.inheritPixmap:false
URxvt.tintColor:lightyellow
URxvt.shading:-80
! normal setting
URxvt.termName:rxvt
URxvt.cursorBlink:true
URxvt.saveLines:65535
URxvt.scrollBar_right:true
URxvt.scrollTtyKeypress:true
URxvt.scrollWithBuffer:false
URxvt.font:xft:Bitstream Vera Sans Mono:pixelsize=14:antialias=true,\
xft:song ti:pixelsize=16:antialias=true
! test modify ALT key value
!URxvt.insecure:true
!URxvt.modifier:alt
!URxvt.meta8:true
!XTerm*VT100*metaSendsEscape:true
这里我用的字体是FC5中自带的宋体,你也可以设置为你喜欢用的Simsun
查看系统中的中文字体,用命令 xlsfonts |grep gb
