ubuntu 9.10下linux qq 自动退出的问题
2009-12-16 15:56
513 查看
升级到ubuntu 2009以后, linux
qq经常会自动退出,不清楚什么问题,导致我用了一段时间的web qq昨天发现是可以处理的,修改/usr/bin/qq,添加一个环境变量
export GDK_NATIVE_WINDOWS=true修改后:
#cat /usr/bin/qq
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq附:GDK_NATIVE_WINDOWS是什么意思?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 graphsLaunching 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 calls or a mixture of X API and GDK instead of
just going through GDK. When using "client-side windows" all window
manipulation by an application must go through GDK. Adobe needs to update
Acroread to be compatible with this feature.
qq经常会自动退出,不清楚什么问题,导致我用了一段时间的web qq昨天发现是可以处理的,修改/usr/bin/qq,添加一个环境变量
export GDK_NATIVE_WINDOWS=true修改后:
#cat /usr/bin/qq
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq附:GDK_NATIVE_WINDOWS是什么意思?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 graphsLaunching 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 calls or a mixture of X API and GDK instead of
just going through GDK. When using "client-side windows" all window
manipulation by an application must go through GDK. Adobe needs to update
Acroread to be compatible with this feature.
相关文章推荐
- ubuntu 9.10下linux qq 自动退出的问题
- ubuntu 9.10下linux qq自动退出解决办法
- QQ For Linux在Ubuntu 9.10下经常自动退出的解决方法
- 在Ubuntu 9.10下使用QQ自动退出
- QT中|Qt::Tool类型窗口自动退出消息循环问题解决
- sqlserver 2005安装到受支持的文件自动退出问题
- 解决eclipse异常退出后再次启动时自动退出的问题
- docker容器自动退出的问题
- Ubuntu安装和启动时显示器自动关闭(花屏)问题的解决方法
- putty自动登录ubuntu的方法及个别问题说明
- (转)解决Ubuntu自动挂载U盘/SD Card变成只读问题
- docker run java官方镜像默认自动退出的问题解决办法
- readFully(byte[] b)是自适应解决读取流中多少字节问题的(当然由参数byte个数决定),有则读满,流结尾时则自动退出阻塞,详细见JDK帮助
- 倍福TwinCAT(贝福Beckhoff)常见问题(FAQ)-有时候项目会无法编译,重新生成就自动卡死或者自动退出怎么办
- Ubuntu 11.04 启动 VMware 报错/自动退出解决方法
- Ubuntu 9.10下 Eclipse 新建Java工程按扭无反应问题
- ubuntu16.04---解决插入U盘或者移动硬盘后自动弹出文件窗口的问题(取消弹出窗口)
- 奇怪的Ubuntu的自动改小写的问题
- Virtualbox虚拟机Ubuntu共享文件夹自动挂载及容易造成emergency mode问题
- Ubuntu 12.10更新后登录桌面自动退出解决方案