在ubuntu里搞定中文输入法竟然花费了近一天的时间。其实如果是把语言设置为中文的话也没那么多麻烦。只是我个人偏好英语的界面(再说 ubuntu的中文界面下字体很难看),问题就出在这里了。只要切换到英语的界面,scim就不管用了。在网上看到了解决办法:
先用这句来安装im-switch和scim
sudo apt-get install im-switch scim
然后用下面两句来进行设置:
sudo im-switch -s scim -z all_ALL
im-switch -s scim -z all_ALL
结果我的问题就出在这里了,其实有错误提示,但我一直没有看到,提示内容是:
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/scim’.
没 注意这里的提示我还到处找别的原因,又试着装了fcitx,接着卸了又装,装了又卸,还手动修改/usr/lib/gtk-2.0/2.10.0 /immodule-files.d/libgtk2.0-0.immodules,都不起作用。直到看到错误提示,才想起,原来是要update- alternatives。用下面这句:
update-alternatives –install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/scim 30
完了之后再用上面那两句来设置,没有错误提示了,重启就OK了。
看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx ppt.cc/fKlBax
Total Pageviews
5,612,222
Wednesday, 7 December 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment