LinuxSir.cn,穿越时空的Linuxsir!

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

装了12.1后Firefox切换变慢

[复制链接]
发表于 2008-5-4 11:36:22 | 显示全部楼层 |阅读模式
切换到/出火狐都有明显的lag. 零点几秒到一点几秒不等。不知为什么。版本是mozilla-firefox-2.0.0.14-i686-1.tgz。看到X在那一瞬间CPU使用率上升很多。用的是KDE.
发表于 2008-5-4 12:23:30 | 显示全部楼层
用xfce吧,我也是用12.1,感觉不错~~~~~
回复 支持 反对

使用道具 举报

发表于 2008-5-4 17:44:35 | 显示全部楼层
测试版的时候,好像firefox跟scim就有冲突了!现在的12.1,如果用户语言环境是zh_CN,如zh_CN.gb2312,firefox直接无法启动!删除所有的scim包后就正常了!网上搜索,也有人有这个问题,修改firefox源文件,在里面加一行就可以正常启动了,具体加什么忘记了!不知道大家是否也有这个问题?
回复 支持 反对

使用道具 举报

发表于 2008-5-4 18:18:47 | 显示全部楼层
I meet the problem too. I change the lang from zh_CN to en_US. the firefox and thunderbird run correct.
回复 支持 反对

使用道具 举报

发表于 2008-5-4 18:23:58 | 显示全部楼层
check this
  1. http://blog.linuxeden.com/?uid-56353-action-viewspace-itemid-5878
复制代码
this can fix the problem of the firefox and scim
回复 支持 反对

使用道具 举报

发表于 2008-5-4 18:39:28 | 显示全部楼层
现在可以用中文输入法了。
回复 支持 反对

使用道具 举报

发表于 2008-5-4 21:57:17 | 显示全部楼层
Post by leidan;1845648
测试版的时候,好像firefox跟scim就有冲突了!现在的12.1,如果用户语言环境是zh_CN,如zh_CN.gb2312,firefox直接无法启动!删除所有的scim包后就正常了!网上搜索,也有人有这个问题,修改firefox源文件,在里面加一行就可以正常启动了,具体加什么忘记了!不知道大家是否也有这个问题?



这是由于scim没有正确的初始化造成的。默认scim初始化的脚本没有执行权限(不知道算不算是个小bug)。修改firefox启动脚本是治标不治本的。thunderbird也会遇到这个问题。

解决方法:

  1. #chomd +x /etc/profile.d/scim.sh
  2. #chomd +x /etc/profile.d/scim.csh
复制代码


我是这样解决这个问题的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-4 22:53:57 | 显示全部楼层
改了权限。我原来就有scim了,改了后没什么区别,切换还是慢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-4 22:59:59 | 显示全部楼层
Post by billpeng;1845504
用xfce吧,我也是用12.1,感觉不错~~~~~


刚试了下xfce。一样慢。
回复 支持 反对

使用道具 举报

发表于 2008-5-4 23:37:53 | 显示全部楼层

dogking兄说得对,刚刚在CHANGES_AND_HINTS.TXT里看见这段,建议大家仔细看看 ;-)


  1. Input methods for complex characters (CJK, which is shorthand for Chinese,
  2.   Japanese, Korean) and other non-latin character sets have been added. These
  3.   input methods use the SCIM (Smart Common Input Method) platform.
  4.   The environment variables for SCIM support are set in /etc/profile.d/scim.sh
  5.   The requirements for getting SCIM input methods to work in your X session
  6.   are as follows:
  7.   (1) Use a UTF-8 locale. Look in /etc/profile.d/lang.sh for setting your
  8.       language to (for instance) en_US.UTF-8. As a word of warning: maybe you
  9.       should leave root with a non-UTF-8 locale because you don't want root's
  10.       commands to be misinterpreted. You can add the following line to your
  11.       ~/.profile file to enable UTF-8 just for yourself:
  12.         export LANG=en_US.UTF-8
  13.   (2) Make the scim profile scripts executable. These will setup your
  14.       environment correctly for the use of scim with X applications. Run:
  15.         chmod +x /etc/profile.d/scim.*
  16.   (3) Start the scim daemon as soon as your X session starts. The scim daemon
  17.       must be active before any of your X applications. In KDE, you can add a
  18.       shell script to the ~/.kde/Autostart folder that runs the command
  19.       "scim -d". In XFCE you can add "scim -d" to the Autostarted Applications.
  20.       If you boot your computer in runlevel 4 (the graphical XDM/KDM login)
  21.       you can simply add the line "scim -d" to your ~/.xprofile file.
  22.       This gives you a Desktop Environment independent way of starting scim.
  23.   When scim is running, you will see a small keyboard icon in your system tray.
  24.   Right-click it to enter SCIM Setup. In 'Global Setup' select your keyboard
  25.   layout, and you are ready to start entering just about any language
  26.   characters you wish! Press the magical key combo <Control><Space>
  27.   in order to activate or deactivate SCIM input. The SCIM taskbar in the
  28.   desktop's corner allows you to select a language. As you type, SCIM will show
  29.   an overview of applicable character glyphs (if you are inputting complex
  30.   characters like Japanese).
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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