• 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

    使配置文件生效。

  • 相关阅读:
    [leetcode] Rotate Image
    [leetcode] Jump Game II
    [leetcode] Permutations II
    [leetcode] Permutations
    [leetcode] Wildcard Matching
    [leetcode] Multiply Strings
    [leetcode] Trapping Rain Water
    [leetcode] First Missing Positive
    [leetcode] Combination Sum II
    [leetcode] Combination Sum
  • 原文地址:https://www.cnblogs.com/chjbbs/p/6389987.html
Copyright © 2020-2023  润新知