Guest User

rxvt-unicode configuration with chinese font tuning

a guest
May 7th, 2010
841
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ! author: jianingy.yang at gmail dot com
  2. ! Xft Font Settings
  3. Xft.dpi: 96
  4. Xft.rgba: rgb
  5. Xft.hinting: true
  6. ! If BCI enabled, there is no need to use autohint
  7. Xft.autohint: false
  8. Xft.hintstyle: hintmedium
  9. Xft.antialias: true
  10. Xft.rh_prefer_bitmaps: true
  11. Xft.lcdfilter: lcddefault
  12.  
  13. ! URxvt Settings
  14.  
  15. ! 24 for pesudo transparent, 32 for real transparent
  16. URxvt.depth: 32
  17. URxvt.saveLines: 512
  18. URxvt.geometry: 80x24
  19. URxvt.termName: xterm-256color
  20. URxvt.loginShell: true
  21.  
  22.  
  23. ! Transparent
  24. URxvt.transparent: True
  25. ! Uncomment the following comments if you wanna use 24bits pesudo transparent
  26. !URxvt.inheritPixmap: True
  27. !URxvt.shading: 5
  28. !URxvt.tintColor: black
  29. !URxvt.fading: 50
  30.  
  31. ! Scrollbar
  32. URxvt.scrollBar: False
  33. URxvt.scrollBar_right: yes
  34. URxvt.scrollBar_floating: False
  35. URxvt.scrollstyle: Next
  36.  
  37. ! VisualBell
  38. URxvt.visualBell: false
  39.  
  40. ! Commands
  41. !! ---- ctrl+F12 --> clean screen and scroll-bar
  42. URxvt.keysym.Control-F12: command:\033c
  43.  
  44. ! Remote Clipboard
  45. !URxvt.remote-selection.store: ssh remote 'cat >/tmp/clip'
  46. !URxvt.remote-selection.fetch: ssh remote 'cat /tmp/clip'
  47. URxvt.mapAlert: true
  48. URxvt.print-pipe: cat > $(echo urxvt.dump.`date +'%Y%M%d%H%m%S'`)
  49.  
  50. ! Font
  51. URxvt.font:xft:Monaco:size=11:bold,xft:STHeiTi:pixelsize=17
  52. URxvt.boldfont:xft:Monaco:size=11:bold,xft:STHeiTi:pixelsize=17
  53.  
  54. ! Input Method
  55. URxvt.preeditType: Root
  56. URxvt.inputMethod: ibus
  57.  
  58. ! Padding
  59. URxvt.internalBorder:5
  60. URxvt.externalBorder:0
  61.  
  62. ! Extensions
  63. URxvt.perl-lib: /usr/lib/urxvt/perl
  64. URxvt.perl-ext-common: default,matcher
  65. URxvt.matcher.launcher: x-www-browser
  66. URxvt.matcher.button: 1
  67. URxvt.matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@#-=]*[\\w/-]
  68.  
  69. ! Colors
  70. URxvt.cursorColor: green
  71. ! 32-bit true transparent, If you want black background,
  72. ! change this to #000000
  73. URxvt.background: rgba:0000/0000/0000/dddd
  74. URxvt.foreground: #cccccc
  75. URxvt.color0: #000000
  76. URxvt.color1: #aa0000
  77. URxvt.color2: #00aa00
  78. URxvt.color3: #aaaa00
  79. URxvt.color4: #0000aa
  80. URxvt.color5: #aa00aa
  81. URxvt.color6: #00aaaa
  82. URxvt.color7: #aaaaaa
  83. URxvt.color8: #555555
  84. URxvt.color9: #ff5555
  85. URxvt.color10: #55ff55
  86. URxvt.color11: #ffff55
  87. URxvt.color12: #5555ff
  88. URxvt.color13: #ff55ff
  89. URxvt.color14: #55ffff
  90. URxvt.color15: #ffffff
  91.  
  92. ! vim: ts=4 sw=4 et ai
RAW Paste Data