一些基本细节:
archlinux 3.9.3-1
xmonad 0.11
urxvt 9.18我可以让urxvt手动加载我想要的字体,使用:
urxvt -fn "xft:Ubuntu Mono"但是,我无法通过~/..Xdefaults加载这个字体--下面是我现在拥有的内容:
Xft*dpi: 96
Xft*antialias: true
Xft*rgba: rgb
Xft*hinting: true
Xft*hintstyle: hintslight
URxvt*transparent: true
URxvt*shading: 40
URxvt*saveLines: 12000
URxvt*foreground: White
URxvt*background: Black
URxvt*scrollBar: false
Urxvt*font: xft:Ubuntu Mono
Urxvt*boldFont: xft:Ubuntu Mono除字体外,所有其他urxvt设置都会很好地加载。我尝试过许多不同的组合,比如:xft:Ubuntu Mono:pixelsize=14:style=regular等,但是似乎没有什么效果。
我已经尝试了xrdb -merge ~/.Xdefaults,xrdb -load ~/.Xdefaults,并完全重新启动了X。我也在~/..Xresources中尝试过这些设置,但是urxvt似乎完全忽略了这些设置。我遗漏了什么?
发布于 2013-05-25 20:15:35
使用URxvt而不是Urxvt。这是区分大小写的。
URxvt*font: xft:Ubuntu Mono
URxvt*boldFont: xft:Ubuntu Monohttps://unix.stackexchange.com/questions/77087
复制相似问题