Package: openjdk-6-jre Version: 6b11-9.1+lenny2 Severity: wishlist Tags: patch
Hello, I discovered the _JAVA_AWT_WM_NONREPARENTING from #508650 by chance. It is very useful, and I am glad to see that a patch was developped to work around this Java bug. However it is hard to find it. I think it is worth being documented in the README.Debian: here is a patch for that. Regards, -- Tanguy Ortolo -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (990, 'stable'), (60, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openjdk-6-jre depends on: ii dpkg 1.15.5.6 Debian package management system ii libasound2 1.0.22-2~bpo50+1 shared library for ALSA applicatio ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libgif4 4.1.6-6 library for GIF images (library) ii libjpeg62 6b-15 The Independent JPEG Group's JPEG ii libpng12-0 1.2.42-1 PNG library - runtime ii libx11-6 2:1.3.2-1 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxi6 2:1.3-2 X11 Input extension library ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension ii openjdk-6-jre-headless 6b11-9.1+lenny2 OpenJDK Java runtime, using Hotspo ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages openjdk-6-jre recommends: pn ttf-arphic-uming <none> (no description available) pn ttf-baekmuk | ttf-unfonts | t <none> (no description available) pn ttf-indic-fonts <none> (no description available) pn ttf-kochi-gothic | ttf-sazana <none> (no description available) pn ttf-kochi-mincho | ttf-sazana <none> (no description available) Versions of packages openjdk-6-jre suggests: pn icedtea-gcjwebplugin <none> (no description available) -- no debconf information
--- README.Debian 2010-03-08 12:47:08.554969742 +0100 +++ README.Debian.old 2010-03-08 12:39:35.565973284 +0100 @@ -43,24 +43,3 @@ -- Matthias Klose <d...@ubuntu.com> Sun, 03 May 2009 13:58:10 +0200 -- Torsten Werner <twer...@debian.org> Wed, 02 Apr 2008 11:46:53 +0200 - - -Note for non-reparenting window manager users ---------------------------------------------- - -If you are using a non-reparenting window manager, such as ratpoison, awesome -or dwm, some Java graphical applications using the AWT toolkit will only -display empty grey windows, as described in but #508650. - -There are two solutions to work around this issue: -1. mask your window manager as one of the non-reparenting ones supported by AWT, - using the wmname <http://tools.suckless.org/wmname> tool from the dwm-tools - package: - $ wmname LG3D -2. set the environment variable _JAVA_AWT_WM_NONREPARENTING: - $ export _JAVA_AWT_WM_NONREPARENTING=true - -You can automate these tasks by writing them to your ~/.xsessionrc: -$ cat >> ~/.xsessionrc <<EOF -export _JAVA_AWT_WM_NONREPARENTING=true -EOF