Figure 1: Installation instructions for Ubuntu 14.04 LTS.
But there are some posts here, here, here of people having trouble getting Sougou Pinyin to install properly that way.
For a lot of people the fix seems to be to remove the daily build or nightly build ppa, remove fcitx, and re-install fcitx via Ubuntu's standard repositories (see the links above). People tend to be getting this famous "Invalid Entry: line 150 missing '='" error.
Under my fresh installation of Ubuntu 14.04 LTS, the above solutions didn't work. Instead, in order to get Sougou Pinyin working I had to do quite the opposite. I had to do the following steps:
- Remove the fcitx which came from Ubuntu's standard repositories.
- Install the nightly build ppa (sudo apt-add-repository ppa:fcitx-team/nightly)
- apt-get update.
- Install fcitx again (this time it will come from the nightly build repository).
- From the command line: sudo dpkg -i sogoupinyin_1.2.0.0056_amd64.deb
- Add the following 4 lines to your ~/.xprofile (I had to create one, because one didn't exist):export XMODIFIERS=@im=fcitxexport
QT4_IM_MODULE=fcitexport
QT_IM_MODULE=fcitxexport
GTK_IM_MODULE=fcitx - Then finally reboot, and everything is working!
Figure 2: Sogou Pinyin in action on Ubuntu 14.04.
-------------------------------------------------
fcitx version: 4.2.8.5
kernel version: 3.16.0-45-generic
sougou pinyin version: sogoupinyin_1.2.0.0056_amd64
No comments:
Post a Comment