suse 11.4 安装fcitx 4 并解决firefox不能调出中文问题

作者:帅得不敢出门 系统:openSUSE 编辑器:vim 语言:C/C++/Python  群31843264 欢迎前来灌水  转载请保留此信息                             
到google code下载最新的源代码                                                      
http://code.google.com/p/fcitx/downloads/list                                      
解压  进入源码目录然后编译安装                                                     
比如fcitx-4.0.1_all.tar.gz                                                         
tar -xvf fcitx-4.0.1_all.tar.gz                                                    
cd fcitx-4.0.1_all                                                                 
make                                                                               
sudo make install                                                                  
                                                                                   
修改配置                                                                           
vi ~/.bashrc                                                                       
export XMODIFIERS="@im=fctix"                                                      
export XIM="fctix"                                                                 
export XIM_PROGRAM="fctix"                                                         
export GTK_IM_MODULE=XIM                                                           
export QT_IM_MODULE=XIM                                                            
                                                                                   
修改 /etc/sysconfig/language,为: INPUT_METHOD="fcitx                              
FCITX使用的是XIM平台,而OpenSUSE 11.4 如果没有装gtk的XIM模块,会导致FCITX无法使用。
你可以在软件管理器里安装这个包 gtk2-immodule-xim                                   
                                                                                   
设置开机自启动:                                                                   
mkdir ~/.kde4/Autostart                                                            
ln -s /usr/local/bin/fcitx fcitx                                                   
                                                                                   
如果安装了scim 必须得卸掉                                                          
这个你可以打开gedit 然后ctrl+space 看看调出的是哪个输入法,如果不是fcitx           
就把它卸掉     

你可能感兴趣的:(Module,Google,输入法,SuSE,firefox,gtk)