a mysterious struggle
if you can do well with c++ , what else do you want ? — python
Since last night , i have been tweaked Debian GNU/Linux , which just like the cet4 is a nightmare for me . Prior to this , i alwalys used centos , ubuntu, mandriva, pcbsd(unix desktop distrio) and fedora. unlike the desktop distroes such mandriva 2010 and ubuntu , Debian is difficult to some extent . one of the tinny troublesome stuff is the locale and the fcitx (a type of chinese input methods ), it’s absolutely weird and did scare me a lot . i did the confiuguration of locale :
>> vim /etc/locale.gen
and del the # notation and looke like this :
en_US.ISO-8859-1
en_US.ISO-8859-15
en_US.UTF-8
zh_CN.GB2312
zh_CN.GB18030
zh_CN.GBK
zh_CN.UTF-8
zh_HK.BIG5-HKSCS
zh_HK.UTF-8
zh_TW.BIG5
zh_TW.EUC-TW
zh_TW.UTF-8
then
>> /usr/sbin/locale-gen
next is the config of fcitx :
>> apt-get install fcitx
>> vim /etc/X11/Xsession.d/95input
…export LANG=en_US.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=XIM
fcitx
though it works , it doesn’t satisify me to the effect .
and another issue is the dependency of the programs . i once had a try of Debian half year ago . it was it that bothered me so much at that time . and until now .
…