Chinaunix首页 | 论坛 | 博客
  • 博客访问: 541164
  • 博文数量: 78
  • 博客积分: 1913
  • 博客等级: 上尉
  • 技术积分: 829
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-14 21:29
文章分类

全部博文(78)

文章存档

2011年(27)

2010年(26)

2009年(20)

2008年(5)

我的朋友

分类: LINUX

2009-11-29 01:12:43

I use to keep contact with my classmates. Tencent provides Linux version, but all the are for 32bit architecture. We can force to install the package ignoring unmatched architecture, then install required 32bit version libraries for . But these steps are not enough after upgrading to 9.04 64bit, because a new Gtk module canberra is added. The new module has no corresponding 32bit library in apt repository. However, this module is not essential. It just adds sound for various events. To make QQ work, we can remove the module.

Download & Install

Download deb package from the official . Now the latest version is . Option --force-architecture is required to install this 32bit package on 64bit system.

$ wget 
$ sudo dpkg --force-architecture -i linuxqq_v1.0.2-beta1_i386.deb

Install 32bit Libraries

for Linux is 32bit application, so it must link 32bit libraries. Fortunately, all the libraries can be installed from apt repository.

$ sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32stdc++6 lib32asound2

Remove Gtk Module

In previous version of , QQ should work now. But in 9.04, QQ complaints that the library canberra ELF is 64bit, which cannot been used in 32bit QQ. Because the Gtk module canberra is new added. This module automatically hooks into all kinds of events inside a Gtk+ program and generate sound events from them. Because it’s not very important for me, I just remove it to make QQ work.

$ sudo apt-get remove --purge libcanberra-gtk-module

After logging out and logging in again, QQ should work now.


原文地址:

有些时候,qq老是会自动关闭,比如我们按alt+s发送信息,不知道是ibus( or scim )的原因还是qq的问题,有人说是新的gtk所引起的问题,按网络上的说法,如下配置一下便可解决此问题:

$sudo gedit /usr/bin/qq

输入如下内容

!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq

一切就ok了。

阅读(2321) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~