歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu ibus 輸入法之Skype不能輸入中文

Ubuntu ibus 輸入法之Skype不能輸入中文

日期:2017/2/28 15:34:04   编辑:Linux教程

安裝了Ubuntu 11.10後,發現在Skype中怎麼都打不出來中文了。之前一直都沒有理會,今天順手給解決了。

同樣,方案來自網絡。

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

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

3. 修改/etc/X11/xinit/xinput.d/default

內容如下:

#
# This configuration provides default IM setting (user edittable)
# See im-switch(8) and /usr/share/doc/im-switch/README.Debian .


#
# Define IM for traditional X application with XIM
#
# XIM server name used for XMODIFIERS="@im=$XIM"
# XIM program /path/filename
# XIM program command line arguments
#
# These were traditional setting before uim and scim for CJK languages
# Language LC_CTYPE XIM server XMODIFIERS Start key
# Japanese ja_JP* kinput2 "@im=kinput2" Shift-Space
# Korean ko_KR* ami "@im=Ami" Shift-Space
# Chinese(T) zh_TW.Big5 xcin "@im=xcin-zh_TW.big5" Ctrl-Space
# Chinese(S) zh_CN.GB2312 xcin "@im=xcin-zh_CN.GB2312" Ctrl-Space
#
XIM=ibus
XIM_PROGRAM=/usr/bin/ibus-daemon
XIM_ARGS="--xim"
XIM_PROGRAM_XTRA=
# Set following variable to non-zero string if program set itself as deamon
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=
#
# Define GTK and QT IM module
# They may or may not be using xim as the IM.
#
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus


#
# Define lists of packages neded for above IM to function
#
DEPENDS="ibus,ibus-gtk,ibus-qt4"


#
# Define X start up hook script to update IM environment
#

最後重啟,萬事OK。

注:如果需要,可以令裝個其他的輸入法===> apt-get install ibus-table-wubi ibus-sunpinyin

個人感覺還挺好用的

Copyright © Linux教程網 All Rights Reserved