Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[已解决]关于urxvt配置文件的问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
kimux
n00b
n00b


Joined: 25 Mar 2013
Posts: 17

PostPosted: Mon Mar 25, 2013 6:56 am    Post subject: [已解决]关于urxvt配置文件的问题 Reply with quote

我在.config/openbox/autostart 文件中这么写的
Code:
urxvtd -o -f -q &


在.xinitrc中加上
Code:
xrdb ~/.Xresources


urxvt的USE
Code:
USE=256-color alt-font-width fading-colors focused-urgency font-styles mousewheel perl pixbuf wcwidth xft -vanilla


但是startx后,用openbox的菜单无法启动urxvtc ...没有任何反应,如果把xrdb ~/.Xresources注释掉,就可以启动,但是样子很难看..

我想应该是我的配置文件写的有问题... 我又找不出来...请大家帮我看看

这是我的.Xresources文件
Code:

!-*-{Xft settings
Xft.dpi:      96
Xft.antialias:   True
Xft.hinting:   Full
Xft.rgba:       rgb
!-*-}

!-*-{字体设置
URxvt.font:xft:monaco:pixelsize=10,xft:LiHei Pro:pixelsize=10
URxvt.boldFont:xft:monaco:bold:pixelsize=10,xft:LiHei Pro:bold:pixelsize=10
URxvt.italicFont:xft:monaco:pixelsize=10,xft:LiHei Pro:pixelsize=10
URxvt.boldItalicFont:xft:monaco:bold:pixelsize=10,xft:LiHei Pro:bold:pixelsize=10
!-*-}
!-*-{Disable the scrollbar
URxvt.scrollBar: false
!-*-}
!-*-{默认设置
URxvt.termName:       rxvt-unicode-256color
URxvt.depth:          32
URxvt.buffered:         True
URxvt.geometry:         80x40+10+10
URxvt.scrollBar:      False
URxvt.saveLines:      1024
URxvt.borderLess:       True
URxvt.cursorBlink:       True
URxvt.perl-ext-common:    default,matcher
URxvt.transparent:       True
URxvt.shading:          75
URxvt.preeditType:       OverTheSpot
!URxvt.inputMethod:      fcitx   
!URxvt.urlLauncher:    chromium
!URxvt.iconFile:
!-*-}

!-*-{颜色设置
!URxvt.background:    rgba:0000/0000/0000/aaaa
!URxvt.foreground:    rgba:ffff/ffff/ffff/aaaa
URxvt.foreground:     rgba:0000/0000/0000/dddd
URxvt.background:     rgb:10/10/10
URxvt.fading:       25
URxvt.fadeColor:   #A9A9A9
URxvt.tintColor:    #D9D7D1
URxvt.borderColor:    #CCCCCC

!!black
URxvt.color0:      #676767
URxvt.color8:       #757575
!!red
URxvt.color1:       #EA6868
URxvt.color9:       #FF7272
!!green
URxvt.color2:       #AFE600
URxvt.color10:      #AFE600
!!yellow
URxvt.color3:       #E8AE5B
URxvt.color11:      #FFA75D
!!blue
URxvt.color4:       #71C5F4
URxvt.color12:      #67CDE9
!!magenta
URxvt.color5:       #E2BAF1
URxvt.color13:      #ECAEE9
!!cyan
URxvt.color6:       #21F1EA
URxvt.color14:      #36FFFC
!!white
URxvt.color7:       #F1F1F1
URxvt.color15:      #FFFFFF
!-*-}


Last edited by kimux on Tue Mar 26, 2013 1:09 am; edited 2 times in total
Back to top
View user's profile Send private message
kimux
n00b
n00b


Joined: 25 Mar 2013
Posts: 17

PostPosted: Tue Mar 26, 2013 1:08 am    Post subject: Reply with quote

...自己搞定了

太粗心了... 多打了一个空格

Code:
xft:LiHei Pro:pixelsize=10
修改为
Code:
xft:LiHeiPro:pixelsize=10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum