zoukankan      html  css  js  c++  java
  • rxvt-unicode配置

    我的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

    使配置文件生效。

  • 相关阅读:
    黑马程序员JAVA基础Java 集合之Collections 工具类
    黑马程序员JAVA基础Java 集合之Set 接口
    黑马程序员JAVA基础Java 集合之List 集合
    通过回车来完成数据的提交
    BizTalk中多个子记录映射解决办法
    框架的展开与关闭
    一个有用的触发器
    SQL 中分隔字符串的获取
    未保存离开页面要给出提示
    常用的一些javascript小技巧 很实用
  • 原文地址:https://www.cnblogs.com/chjbbs/p/6389987.html
Copyright © 2011-2022 走看看