当前位置: > Ubuntu >

ubuntu下Skype不能输入中文解决

时间:2015-05-01 22:41来源:www.it.net.cn 作者:IT网

1.安装ibus

$sudo apt-get install ibus ibus-qt4 ibus-gtk

 

2.编辑配置

$sudo vim /etc/X11/xinit/xinput.d/default

  1. #
  2. # This configuration provides default IM setting (user edittable)
  3. # See im-switch(8) and /usr/share/doc/im-switch/README.Debian .
  4.  
  5. #
  6. # Define IM for traditional X application with XIM
  7. #
  8. # XIM server name used for XMODIFIERS="@im=$XIM"
  9. # XIM program /path/filename
  10. # XIM program command line arguments
  11. #
  12. # These were traditional setting before uim and scim for CJK languages
  13. # Language LC_CTYPE XIM server XMODIFIERS Start key
  14. # Japanese ja_JP* kinput2 "@im=kinput2" Shift-Space
  15. # Korean ko_KR* ami "@im=Ami" Shift-Space
  16. # Chinese(T) zh_TW.Big5 xcin "@im=xcin-zh_TW.big5" Ctrl-Space
  17. # Chinese(S) zh_CN.GB2312 xcin "@im=xcin-zh_CN.GB2312" Ctrl-Space
  18. #
  19. XIM=ibus
  20. XIM_PROGRAM=/usr/bin/ibus-daemon
  21. XIM_ARGS="--xim"
  22. XIM_PROGRAM_XTRA=
  23. # Set following variable to non-zero string if program set itself as deamon
  24. XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=
  25. #
  26. # Define GTK and QT IM module
  27. # They may or may not be using xim as the IM.
  28. #
  29. GTK_IM_MODULE=ibus
  30. QT_IM_MODULE=ibus
  31.  
  32. #
  33. # Define lists of packages neded for above IM to function
  34. #
  35. DEPENDS="ibus, ibus-gtk, ibus-qt4"
  36.  
  37. #
  38. # Define X start up hook script to update IM environment
  39. #


3.重启skype


ps:如果需要,可以令装个其他的输入法(apt-get install ibus-table-wubi ibus-sunpinyin)。


(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容