系统相关
首页 > 系统相关> > linux – 如何使用.Xdefaults文件更改xterm颜色?

linux – 如何使用.Xdefaults文件更改xterm颜色?

作者:互联网

我在我的主目录中创建了以下.Xdefaults文件,但xterm仍然有默认颜色,这里可能有什么问题?

*xterm*background: #101010
*xterm*foreground: #d0d0d0
*xterm*cursorColor: #d0d0d0
*xterm*color0: #101010
*xterm*color1: #960050
*xterm*color2: #66aa11
*xterm*color3: #c47f2c
*xterm*color4: #30309b
*xterm*color5: #7e40a5
*xterm*color6: #3579a8
*xterm*color7: #9999aa
*xterm*color8: #303030
*xterm*color9: #ff0090
*xterm*color10: #80ff00
*xterm*color11: #ffba68
*xterm*color12: #5f5fee
*xterm*color13: #bb88dd
*xterm*color14: #4eb4fa
*xterm*color15: #d0d0d0

解决方法:

你在尝试xrdb .Xdefaults之前(重新)启动xterm?

标签:linux,colors,xterm
来源: https://codeday.me/bug/20190723/1512372.html