URXVT

作者: zmlcc | 来源:发表于2016-06-16 23:44 被阅读0次

    配置文件

    生成简明的配置文件

    urxvt --help 2>&1| sed -n '/:  /s/^ */! URxvt*/gp'
    

    生成有详细说明的配置文件 [1]

    man -Pcat urxvt | sed -n '/th: b/,/^B/p'|sed '$d'|sed '/^ \{7\}[a-z]/s/^ */^/g' | sed -e :a -e 'N;s/\n/@@/g;ta;P;D' | sed 's,\^\([^@]\+\)@*[\t ]*\([^\^]\+\),! \2\n! URxvt*\1\n\n,g' | sed 's,@@\(  \+\),\n\1,g' | sed 's,@*$,,g' | sed '/^[^!]/d' | tr -d "'\`"
    

    示例配置文件 .Xresource / .Xdefaults

    ! URxvt*termName:                       string
    ! URxvt*geometry:                       geometry
    ! URxvt*chdir:                          string
    ! URxvt*reverseVideo:                   boolean
    ! URxvt*loginShell:                     boolean
    ! URxvt*multiClickTime:                 number
    ! URxvt*jumpScroll:                     boolean
    ! URxvt*skipScroll:                     boolean
    ! URxvt*pastableTabs:                   boolean
    URxvt*scrollstyle:              rxvt
    URxvt*scrollBar:                false
    ! URxvt*scrollBar_right:                boolean
    ! URxvt*scrollBar_floating:             boolean
    ! URxvt*scrollBar_align:                mode
    ! URxvt*thickness:                      number
    URxvt*scrollTtyOutput:          true
    URxvt*scrollTtyKeypress:        true
    URxvt*scrollWithBuffer:         false
    ! URxvt*inheritPixmap:                  boolean
    URxvt*transparent:              true
    ! URxvt*tintColor:                      color
    URxvt*shading:                  15
    ! URxvt*blurRadius:                     HxV
    ! URxvt*fading:                         number
    ! URxvt*fadeColor:                      color
    ! URxvt*utmpInhibit:                    boolean
    URxvt*urgentOnBell:             false
    URxvt*visualBell:               false
    ! URxvt*mapAlert:                       boolean
    ! URxvt*meta8:                          boolean
    ! URxvt*mouseWheelScrollPage:           boolean
    ! URxvt*tripleclickwords:               boolean
    ! URxvt*insecure:                       boolean
    ! URxvt*cursorUnderline:                boolean
    ! URxvt*cursorBlink:                    boolean
    ! URxvt*pointerBlank:                   boolean
    URxvt*background:               [92]#000000
    URxvt*foreground:               #73A13C
    URxvt*color0:        #000000
    URxvt*color1:        #CC0000
    URxvt*color2:        #4E9A06
    URxvt*color3:        #C4A000
    URxvt*color4:        #3465A4
    URxvt*color5:        #75507B
    URxvt*color6:        #06989A
    URxvt*color7:        #D3D7CF
    URxvt*color8:        #709080
    URxvt*color9:        #EF2929
    URxvt*color10:        #8AE234
    URxvt*color11:        #FCE94F
    URxvt*color12:        #729FCF
    URxvt*color13:        #AD7FA8
    URxvt*color14:        #34E2E2
    URxvt*color15:        #EEEEEC
    ! URxvt*colorBD:                        color
    ! URxvt*colorIT:                        color
    ! URxvt*colorUL:                        color
    ! URxvt*colorRV:                        color
    ! URxvt*underlineColor:                 color
    ! URxvt*scrollColor:                    color
    ! URxvt*troughColor:                    color
    ! URxvt*highlightColor:                 color
    ! URxvt*highlightTextColor:             color
    ! URxvt*cursorColor:                    color
    ! URxvt*cursorColor2:                   color
    ! URxvt*pointerColor:                   color
    ! URxvt*pointerColor2:                  color
    ! URxvt*borderColor:                    color
    ! URxvt*iconFile:                       file
    Xft.dpi:                        96
    Xft.antialias:                  true
    Xft.lcdfilter:                  lcddefault
    Xft.rgba:                       rgb
    Xft.hinting:                    true
    Xft.hintstyle:                  hintslight
    Xft.autohint:                   false
    URxvt*font: xft:WenQuanYi Zen Hei Mono:size=14
    ! URxvt*boldFont:                       fontname
    ! URxvt*italicFont:                     fontname
    ! URxvt*boldItalicFont:                 fontname
    ! URxvt*intensityStyles:                boolean
    ! URxvt*inputMethod:                    name
    ! URxvt*preeditType:                    style
    ! URxvt*imLocale:                       string
    ! URxvt*imFont:                         fontname
    ! URxvt*title:                          string
    ! URxvt*iconName:                       string
    ! URxvt*saveLines:                      number
    ! URxvt*buffered:                       boolean
    URxvt*depth:                    32
    ! URxvt*visual:                         number
    ! URxvt*transient-for:                  windowid
    ! URxvt*override-redirect:              boolean
    ! URxvt*hold:                           boolean
    ! URxvt*externalBorder:                 number
    ! URxvt*internalBorder:                 number
    ! URxvt*borderLess:                     boolean
    URxvt*lineSpace:                0
    URxvt*letterSpace:              -2
    ! URxvt*skipBuiltinGlyphs:              boolean
    ! URxvt*pointerBlankDelay:              number
    ! URxvt*backspacekey:                   string
    ! URxvt*deletekey:                      string
    ! URxvt*print-pipe:                     string
    ! URxvt*modifier:                       modifier
    ! URxvt*cutchars:                       string
    ! URxvt*answerbackString:               string
    ! URxvt*secondaryScreen:                boolean
    ! URxvt*secondaryScroll:                boolean
    ! URxvt*perl-lib:                       string
    ! URxvt*perl-eval:                      perl-eval
    URxvt*perl-ext-common:              
    URxvt*perl-ext:                       
    URxvt*iso14755:                 false
    URxvt*iso14755_52:              false
    ! URxvt*xrm:                            string
    ! URxvt*keysym.sym:                     keysym
    URxvt.keysym.Home: \033[1~
    URxvt.keysym.End: \033[4~
    URxvt.keysym.KP_Home: \033[1~
    URxvt.keysym.KP_End:  \033[4~
    ! URxvt*background.border:              boolean
    ! URxvt*background.expr:                string
    ! URxvt*background.interval:            seconds
    ! URxvt*bell-command:                   string
    ! URxvt*kuake.hotkey:                   string
    ! URxvt*matcher.button:                 string
    ! URxvt*matcher.launcher:               string
    ! URxvt*matcher.launcher.*:             string
    ! URxvt*matcher.pattern.*:              string
    ! URxvt*matcher.rend.*:                 string
    ! URxvt*remote-clipboard.fetch:         string
    ! URxvt*remote-clipboard.store:         string
    ! URxvt*searchable-scrollback:          string
    ! URxvt*selection-autotransform.*:      string
    ! URxvt*selection-pastebin.cmd:         string
    ! URxvt*selection-pastebin.url:         string
    ! URxvt*selection.pattern-0:            string
    ! URxvt*tab-bg:                         colour
    ! URxvt*tab-fg:                         colour
    ! URxvt*tabbar-bg:                      colour
    ! URxvt*tabbar-fg:                      colour
    ! URxvt*url-launcher:                   string
    

    DAEMON模式

    daemon

    urxvtd -q -f -o
    

    client

    urxvtc
    

    其他

    关闭错误提示音

    xset b off
    

    显示X11事件 (依赖xorg-xev)

    xev
    

    显示X11窗口属性 (依赖xorg-xprop)

    xprop
    

    获取分辨率 (依赖xorg-xwininfo)

    xwininfo -root
    

    1. http://www.askapache.com/linux/rxvt-xresources.html#rxvt_Resources_descriptions

    相关文章

      网友评论

          本文标题:URXVT

          本文链接:https://www.haomeiwen.com/subject/lrmmdttx.html