software-installation – Installing SOGOU Pinyin

chinesefcitxinput-methodlanguage-supportsoftware installation

SOGOU (搜狗) is a popular Chinese input software. For Ubuntu 14.04, they worked with the team of Ubuntu Kylin to create a linux version of their software.

It's based on FCITX input software, which is developed by the FCITX TEAM on launchpad.

I installed it on my laptop with Ubuntu 14.04 without any problem, and it works GREAT!

enter image description here

But, I have a netbook at home, with Lubuntu 14.04 installed on it. And I want to enjoy SOGOU on it as well.

  • I added the PPA of FCITX TEAM : deb http://ppa.launchpad.net/fcitx-team/dailybuild-fcitx-master/ubuntu trusty main
  • I then ran apt-get update && install fcitx
  • I downloaded the SOGOU software from http://pinyin.sogou.com/linux/, and installed it (OK)
  • Restart, I choose FCITX as my input method, start it from commandline $fcitx (as it doesn't start automatically).

I'm now using FCITX, BUT SOGOU doesn't work. When selected, it's like using the regular keyboard (no chinese character).

I read this : https://wiki.archlinux.org/index.php/Fcitx_(简体中文)‎ and added this to .xprofile

 export GTK_IM_MODULE=fcitx
 export QT_IM_MODULE=fcitx
 export XMODIFIERS="@im=fcitx"

But with no help. So do you have any idea on HOW to make SOGOU PINYIN (搜狗拼音) work on Lubuntu 14.04 (LXDE)?

On the left Ubuntu 14.04, on the right LUBUNTU 14.04 (fcitx app indicator)
enter image description hereenter image description here

If I run $fcitx-qimpanel then it seems to improve on LUBUNTU, but I still cannot choose the SOGOU entry from the menu :

enter image description here

When I select the SOGOU entry in the menu, NOTHING happen. It's when I click on the fcitx icon that the message appears in the terminal.

gumeiren@gumeiren-N128:~$ fcitx (I first need to run fcitx, otherwise fcitx-qimpanel has no effect)
gumeiren@gumeiren-N128:~$ fcitx-qimpanel
gumeiren@gumeiren-N128:~$ MainController::init() 
QMetaObject::connectSlotsByName: No matching signal for on_checkBox_tab3_FontSize_toggled(bool)
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 152 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 148 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 152 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 152 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 152 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 154 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 152 missing '='
"1.0.0.0011" 
"系统词频: 20110527" 
"组词数据: 20110307" 
"20101217" 
"编译时间: Apr 17 2014 07:25:54" 
void SystemTrayMenu::init() 
gumeiren@gumeiren-N128:~$ (WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='
(WARN-1798 /build/buildd/fcitx-4.2.8.3+1907+201403101923~ubuntu14.04.1/src/lib/fcitx-config/fcitx-config.c:922) Invalid Entry: line 150 missing '='

Best Answer

As advised by the FCITX team on Launchpad:

  • I removed the PPA (deb http://ppa.launchpad.net/fcitx-team/dailybuild-fcitx-master/ubuntu trusty main)
  • I uninstalled fcitx apt-get remove fcitx && apt-get autoremove && apt-get update
  • I restarted
  • I reinstalled sogou_pinyin from http://pinyin.sogou.com/linux/ dpkg -i sogou_pinyin_linux_1.0.0.0011_i386.deb with many dependencies errors in the terminal.
  • I ran apt-get install -f to solve the dependencies errors.
  • And in a terminal as a regular user fcitx and after fcitx-qimpanel

And BAM! It works. So I should not have added the PPA I guess!

Related Question