Fedroa 14 安装JasperServer 4.0.1


#yum install libpk-gtk-module.so
#yum install libcanberra-gtk-module.so
#yum install libgnomebreakpad.so

#yum install im-ibus.so

今天把我的一个Linux系统重启了一下,想输入中文,却发现中文输入法打不开,应该是SCIM没启动,于是

# scim -d

启动之,却发现报错如下:

Linux信息代码  收藏代码
  1. [root@sheng ~]# scim -d  
  2. Smart Common Input Method 1.4 . 4   
  3.   
  4. Launching a SCIM process with x11...  
  5. Loading socket Config module ...  
  6. Creating backend ...  
  7. Loading x11 FrontEnd module ...  
  8. Failed to load x11 FrontEnd module.  
  9. Failed to launch SCIM.  
  10. [root@sheng ~]#   

很自然地上网去搜一下“Failed to load x11 FrontEnd module.”,发现有很多人遇到这个问题,但没找到有效的解决办法。用

# ps -ef | grep scim

看了一下,发现有四个scim相关的进程在运行:

Linux信息代码  收藏代码
  1. [root@sheng ~]# ps -ef | grep scim  
  2. root      4706       1    0   13 : 59  ?         00 : 00 : 00  /usr/lib/scim- 1.0 /scim-launcher -d -c simple -e all -f socket --no-stay  
  3. root      4710       1    0   13 : 59  ?         00 : 00 : 00  /usr/lib/scim- 1.0 /scim-helper-manager  
  4. root      4711       1    0   13 : 59  ?         00 : 00 : 01  /usr/lib/scim- 1.0 /scim-panel-gtk --display : 0.0  -c socket -d --no-stay  
  5. root      4713       1    0   13 : 59  ?         00 : 00 : 00  /usr/lib/scim- 1.0 /scim-launcher -d -c socket -e socket -f x11  
  6. root      4779       1    0   14 : 01  ?         00 : 00 : 00  scim-bridge  
  7. root      5349    5275    0   14 : 10  pts/ 2      00 : 00 : 00  grep scim  

于是把这四个进程全部杀掉,然后再重启scim:

Linux信息代码  收藏代码
  1. [root@sheng ~]# scim -d  
  2. Smart Common Input Method 1.4 . 4   
  3.   
  4. Launching a SCIM daemon with Socket FrontEnd...  
  5. Loading simple Config module ...  
  6. Creating backend ...  
  7. Reading pinyin phrase lib failed  
  8. Loading socket FrontEnd module ...  
  9. Starting SCIM as daemon ...  
  10. Launching a SCIM process with x11...  
  11. Loading socket Config module ...  
  12. Creating backend ...  
  13. Loading x11 FrontEnd module ...  
  14. GTK Panel of SCIM 1.4 . 4   
  15.   
  16. Starting SCIM as daemon ...  
  17. SCIM has been successfully launched.  
  18. [root@sheng ~]#   

 启动正常了,原来刚开始启动不了是因为SCIM已经启动了,才报那个错。可是为什么无法调出输入法呢?打开SCIM配置界面一看,原来我为了在我的WinXP上的XServer上使用SCIM时,避免打开输入法的快捷方式与WinXP的的快捷方式冲突,把启动快捷键改成了 “Shift+Ctrl+Z”,难怪无法调出输入法。

相关内容

    暂无相关文章