我的urxvt配置文件如下

前缀可改为rxvt然后可以使用rxvt命令启动

~/.Xresources

! urxvt color set
URxvt.multichar_encoding:utf-8
URxvt.background:black
URxvt.foreground:green

URxvt.colorBD:yellow
URxvt.colorUL:green
URxvt.cursorColor:red3
URxvt.color0:black
URxvt.color1:red3
URxvt.color2:springgreen
URxvt.color3:wheat3
URxvt.color4:navy
URxvt.color5:magenta4
URxvt.color6:steelblue1
URxvt.color7:gray85
URxvt.color8:gray10
URxvt.color9:orangered2
URxvt.color10:chartreuse3
URxvt.color11:lightgoldenrod2
URxvt.color12:skyblue1
URxvt.color13:pink1
URxvt.color14:lightblue1

! scroll set
URxvt.scrollBar:True
URxvt.scrollBar_right:True
URxvt.scrollBar_floating:True
URxvt.scrollstyle:plain
URxvt.scrollWithBuffer:false
URxvt.saveLines:5000

! font set
URxvt.font:xft:Bitstream Vera Sans Mono-12,xft:Microsoft Yahei:pixelsize=16
URxvt.boldFont:xft:Bitstream Vera Sans Mono-12:Bold,xft:Microsoft Yahei:pixelsize=16:Bold

! Input Method set
URxvt.inputMethod:SCIM
!URxvt.imLocale:zh_CN.utf8
URxvt.imFont:Microsoft Yahei
URxvt.preeditType: Root

! window geometry set
URxvt.geometry: 90x25+180+200
URxvt.title:Rxvt

! bg transparent set
URxvt.inheritPixmap: true
URxvt.tintCddolor: white
URxvt.shading: 80

! Tab set
URxvt.perl-ext-common: default,tabbed
URxvt.tabbed.tab-fg: 12
URxvt.tabbed.tab-bg: 0
URxvt.tabbed.tabbar-fg: 4

Rxvt.menu:/etc/X11/rxvt.menu
Rxvt.preeditType:Root
Rxvt.transparency:255

在gentoo中出现如下问题:
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.

x有两套字体机制.xvt-unicode的编译选项:
USE="perl -afterimage -iso14755 -truetype"

原来是没有编译truetype字体支持!Bitstream Vera Sans Mono字体是使用xft机制的!此机制就是使用truetype字体的基本!

重新编译rxvt-unicode:
# USE="truetype" emerge rxvt-unicode

问题解决

xrdb -merge $HOME/.Xresources

使配置文件生效。

最新文章

  1. Nginx+Keepalived(带Nginx监控脚本)
  2. DbInitializer.cs初始化过程中context.entityName.Add()遇到的类型不匹配错误
  3. Positive-definite matrix
  4. [工具类]泛型集合转换为DataTable
  5. C#面向对象的方法写数组的功能
  6. hibernate基础(1)
  7. LEK-Introduction-Installation-Usage-new
  8. XPath相关笔记
  9. 第二次项目冲刺(Beta阶段)5.19
  10. SpringMvc+JavaConfig+Idea 搭建项目
  11. SpringBoot application.yml logback.xml,多环境配置,支持 java -jar --spring.profiles.active
  12. 第四次OO总结
  13. boost asio 学习(七) 网络基础 连接器和接收器(TCP示例)
  14. css3 transition属性实现3d动画效果
  15. Bitmap Byte[] 互转
  16. js版MD5 (Message-Digest Algorithm)加密算法
  17. svn -- svn权限控制
  18. Spark Shuffle(ExternalSorter)
  19. 【EF】EntityFramework 更新数据库字段的三种方法
  20. JedisPool

热门文章

  1. 解析本内置Linux目录结构
  2. datagrid在MVC中的运用10-勾选
  3. IE中Ext的comboBox跑到页面左上角
  4. CMMI5级——原因分析及解决方案(Causal Analysis and Resolution)
  5. 编码原则:必须使用的 TODO
  6. 如何利用javascript获取表单中select下拉列表中所选中项的值value
  7. [翻译] ADPopupView 触摸弹出视窗
  8. Android之Volley使用
  9. LeetCode: Implement strStr() [027]
  10. mac下virtualbox安装win7系统