QQ protocol support on linux is extremely poor, especially after Tencent (the
company running QQ central servers and developing the official program) has
decided there should not be any other competing software also on the linux
side. The official client is very crappy and outdated though, crashing every
now and then.
Pidgin/Empathy/Kopete support via telepathy framework has first been blocked
via QQ clients version check. The workaround of changing it to QQ2008 started
to be sanctioned last year with the complete ban of the QQ account by Tencent.
WebQQ, once reachable at
http://web.qq.com, has been recently shut down for alleged
widespread misuse. The windows client does not work at all using WINE
compatibility layer (emulator). The only remaining client is the official
linuxQQ client, downloadable at
http://im.qq.com/qq/linux/, is stuck at version 1.0 beta1 and is
now pretty obsolete being dated january 2009. This results in extremely
frequent crashes on Ubuntu linux Lucid 10.04 and Ubuntu linux Maverick 10.10 as
well as other recent distributions. Fortunately, a friend of mine has helped me
locating an effective workaround that dramatically decreases the number of
crashes per session. Basically this workaround consists in exporting a GTK
variable in order to force the use of such a toolkit for drawing linuxQQ
windows. Open the linuxQQ launcher shell script:
gksu gedit /usr/bin/qq
the file content should look as follows:
#!/bin/sh
cd /usr/share/tencent/qq/
./qq
what you have to do is adding the following line before invoking QQ's binary:
export GDK_NATIVE_WINDOWS=true
Thus, after fixing the file it should look this way:
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq
Save, quit, start QQ and have fun typing ??? ???????????????????????? some
reference: http://hi.baidu.com/laishch/blog/item/c4a99c3c94cdd9e155e72319.html
http://jiangkan2jay.javaeye.com/blog/669203