LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1593|回复: 4

debian中xterm的配置怎样才能启动后就生效

[复制链接]
发表于 2008-9-30 22:05:40 | 显示全部楼层 |阅读模式
按照网上的方法,xterm的配置在~/.Xresources中
在 ~/.xinitrc中
xrdb ~/.Xresources
可是还是不行,每次我都是手动xrdb ~/.Xresources
发表于 2008-9-30 22:08:33 | 显示全部楼层
现在的内容是什麽?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-9-30 22:14:33 | 显示全部楼层
搞定了,和我刚才locale的问题是一个.
locale设置好了就好了,刚开始我以为是xterm设置的问题.

谢谢了!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-2 19:30:33 | 显示全部楼层
还是有点问题.
配置文件中关于字体颜色的配置生效了,但是关于拷贝复制的配置不能生效,
每次我都是手动xrdb ~/.Xresources后
下面是我的配置文件.Xresources
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*foreground:  white
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
!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: Monaco:antialias=True:pixelsize=15:charwidth=18
!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*xftAntialias: true
xterm.cjkWidth:true

!-- 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
回复 支持 反对

使用道具 举报

发表于 2009-4-23 21:47:12 | 显示全部楼层
我的以前跟LZ差不多,改成~/.Xdefaults就行了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表