ubuntu中文输入法

来源:互联网 发布:淘宝店被占用了怎么办 编辑:程序博客网 时间:2024/04/27 23:46
==========================================================================================================================
终于解决了ubuntu输入法的问题

sudo apt-get remove ibus   

sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update

"安装搜狗、谷歌、五笔等输入法,最重要的是五笔拼音输入法

sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sogoupinyin
sudo apt-get install fcitx-table-all
im-switch -s fcitx -z default

    

==========================================================================================================================
用sudo 启动gvim无法使用中文输入法
$sudo gvim
(gvim:6489): IBUS-WARNING **: The owner of /home/.config/ibus/bus is not root!

chmod u w /etc/sudoers
sudo vim /etc/sudoers
"找到如一行
root ALL=(ALL) ALL
"添加一行
yourusername ALL=(ALL) ALL
chmod u-w /etc/sudoers

0 0
原创粉丝点击