以RHL6.9系统为例, 介绍一下xterm的配置。
安装
- 首先安装xterm
1 | yum install xterm |
配置文件:
全局的配置文件是:
- /etc/X11/Xresources
用户配置文件是:
- ~/.Xdefaults
- ~/.Xresources
配置
设置一些配置如下说明:
- *visualBell: BOOLEAN
Changes system beep to make the windows background flicker
- XTerm*saveLines: INTEGER
The number of lines that do not clear the screen after the program exits
- XTerm*background: COLOR
The color of the background
- XTerm*foreground: COLOR
Color of highlighted text
- XTerm*pointerColor: COLOR
Color of the mouse pointer when it’s in front on the xterm window
- XTerm*pointerColorBackground: white
Border color around the mouse pointer
- XTerm*cursorColor: COLOR
Color of cursor
- XTerm*pointerShape: SHAPE
Sets mouse pointer’s appearance when over the xterm window
Options: XTerm, left_ptr, bogosity, …- XTerm*font: FONT
Sets the font
Example: -adobe-courier-medium-r-normal14-140-75-75-m-90load 配置文件
1 | xrdb ~/.Xresources |
- 配置xterm的color schame
1 | XTerm*background: #000000 |