LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 791|回复: 0

安装fcitx或scim后urxvt启动变慢(已解决)

[复制链接]
发表于 2010-3-22 09:36:45 | 显示全部楼层 |阅读模式
这几天刚在gento系统里装了fcitx,发现装了后urxvt启动速度由原来的不到0.5秒增加到了2秒左右,几乎和firefox的启动速度一样。换了scim后也是这样。
  1. miqiur@miahiu ~ $ cat .xinitrc
  2. export LANG=zh_CN.UTF-8
  3. #export XMODIFIERS="@im=fcitx"
  4. #export XIM=fcitx
  5. #export XIM_PROGRAM=fcitx
  6. export XMODIFIERS=@im=SCIM
  7. export GTK_IM_MODULE="scim"
  8. export QT_IM_MODULE="scim"
  9. scim -d
  10. xrdb ~/.Xresources
  11. sh ~/.fehbg &
  12. exec xmonad
复制代码

  1. miqiur@miahiu ~ $ equery uses rxvt-unicode
  2. [ Searching for packages matching rxvt-unicode... ]
  3. [ Colour Code : set unset ]
  4. [ Legend : Left column  (U) - USE flags from make.conf              ]
  5. [        : Right column (I) - USE flags packages was installed with ]
  6. [ Found these USE variables for x11-terms/rxvt-unicode-9.07 ]
  7. U I
  8. - - afterimage  : Enable support for media-libs/libafterimage
  9. - - iso14755    : Enable ISO-14755 support
  10. + + perl        : Adds support/bindings for the Perl language
  11. + + truetype    : Adds support for FreeType and/or FreeType2 fonts
  12. - - vanilla     : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically
  13. + + wcwidth     : Enable wide char width support
  14. + + xterm-color : Enable xterm 256 color support
复制代码

没装Gnome/kde/xfce之类的桌面环境,窗口管理器用的是xmonad。请问这是rxvt-unicode的问题还是输入法的问题?我在Debian/testing下同样的环境没有这样的问题。

---------------------------------------------------------------------------------------------------
在~/.Xresources文件里加上这一句就可以了
  1. URxvt.preeditType: Root
复制代码

google发现的,不过不知道原理,man里没说明。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表