Chinaunix首页 | 论坛 | 博客
  • 博客访问: 335395
  • 博文数量: 104
  • 博客积分: 2815
  • 博客等级: 少校
  • 技术积分: 595
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-06 16:32
文章分类

全部博文(104)

文章存档

2013年(1)

2012年(2)

2011年(21)

2010年(80)

我的朋友

分类: LINUX

2011-08-17 15:50:01

Some java application do not get focus or have strange behaviours under no standard Window Managers like Awesome.


Impersonate Another Window Manager

You may use the to make the JVM believe you are running a different window manager. This utility is available in the suckless-tools package in Debian (and Ubuntu); .

$ wmname LG3D

This works, because the JVM contains a hard-coded list of known non-re-parenting window managers. For maximum irony, many users prefer to impersonate “LG3D,” the non-re-parenting window manager .


转自:



阅读(819) | 评论(0) | 转发(0) |
0

上一篇:Ant简介

下一篇:Swing不丑系列:JComboBox

给主人留下些什么吧!~~