Linux QQ automatically exits in Ubuntu 9.10

Source: Internet
Author: User
After upgrading to Ubuntu 2009
Qq often exits automatically. I don't know what the problem is. As a result, I used Web QQ for a period of time.

Yesterday we found that it could be processed. Modify/usr/bin/QQ and add an environment variable.
Export gdk_native_windows = true

After modification:
# Cat/usr/bin/QQ
#! /Bin/sh
Export gdk_native_windows = true
CD/usr/share/Tencent/QQ/
./QQ

Appendix: What does gdk_native_windows mean?

Gdk has been rewritten to use 'client-side Windows'. This means that gdk
Maintains its own window hierarchy and only uses X Windows where it is
Necessary or explicitly requested. Some of the benefits of this change are

* Reduced flicker
* The ability to do transformed and animated rendering of Widgets
* Easier embedding of GTK + widgets, e.g. into clutter scene Graphs

Launching an app with gdk_native_windows = 1 Application turns off this
Feature. This is needed if the application manipulates the windows it
Creates using direct x api cils or a mixture of x api and gdk instead
Just going through gdk. When using "client-side windows" all windows
Manipulation by an application must go through gdk. Adobe needs to update
Cannot read to be compatible with this feature.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.