所以发生了一些很奇怪的事情。我一直在使用urxvt,我需要256种颜色支持,所以我安装了urxvt256c。但是,urxvt256c不听.Xresources,它保持默认设置。我的.Xresources看起来是这样的:
! urxvt*background:#20202E
urxvt*background: #2D3233
urxvt*foreground: #f0f0f0
urxvt*cursorColor: #f0f0f0
urxvt.scrollBar: false
urxvt.internalBorder: 6
urxvt.geometry: 91x22
!BLK
urxvt*color0: #495052
urxvt*color8: #495052
!RED
urxvt*color1: #D2738A
urxvt*color9: #D2738A
!GRN
urxvt*color2: #C1B492
urxvt*color10: #C1B492
!YEL
urxvt*color3: #819E7C
urxvt*color11: #819E7C
!BLE
urxvt*color4: #A78B92
urxvt*color12: #A78B92
!MAG
urxvt*color5: #8B99B5
urxvt*color13: #8B99B5
!CYN
urxvt*color6: #D2738A
urxvt*color14: #D2738A
!WHT
urxvt*color7: #DCDCDC
urxvt*color15: #DCDCDC
!urxvt*borderLess: true
urxvt*font: xft:Monospace:bold:pixelsize=11.5
urxvt*boldFont: xft:Monospace:pixelsize=11.5
urxvt.letterSpace:-1
Xft.dpi:96
Xft.antialias:1
Xft.hinting:1
Xft.hintstyle:hintslight
Xft.autohint: false
Xft.rgba:rgb
Xft.lcdfilter:lcddefault
! clickable urls
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1有办法让urxvt256c继承.Xresources吗?
发布于 2014-11-23 21:07:37
.Xresources中的配置不会立即影响urxvt。任何新实例都需要重新加载这些设置才能应用它们。您可以使用xrdb这样做:
xrdb -load ~/.Xresources发布于 2014-11-23 22:38:18
将urxvt更改为urxvt256c修复了它!
https://unix.stackexchange.com/questions/169584
复制相似问题