fcitx can also do clipboard history

in addition to providing input methods for chinese, fcitx can also do some basic clipboard history which i did not know.

in my .xinitrc

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

and then i installed the following on archlinux

fcitx-im
fcitx-googlepinyin
fcitx-configtool

fcitx-im installs a few packages covering gtk and qt.