paul@paul-desktop:~/scripts$ cat ins-ibus-wnwb.sh
#!/bin/sh
set -e
cd /tmp
wget -cv http://downloads.sourceforge.net/project/wnwb/linux-wnwb2-ibus.tar.gz
tar xzfv linux-wnwb2-ibus.tar.gz
cd linux-wnwb
sudo cp xgwnwb.svg /usr/share/ibus-table/icons
sudo cp Xgwnwb.db /usr/share/ibus-table/tables
## restart ibus daemon and add sogou coloud input method to ibus
ibus-daemon -rxd