Changes between Version 40 and Version 41 of InstallNotes


Ignore:
Timestamp:
2010-03-01T00:05:15+01:00 (16 years ago)
Author:
fil
Comment:

Java AWT blank window workaround for xmonad

Legend:

Unmodified
Added
Removed
Modified
  • InstallNotes

    v40 v41  
    4848  as described here: http://kubasik.net/blog/index.php/2006/06/19/java-sun-150-and-xglcompiz-on-ubuntu/
    4949
    50  '''Blank window in non-reparenting window managers''' (i.e. xmonad, awesome)::
     50 '''Blank window on startup'''::
    5151
    52 As mentioned [http://article.gmane.org/gmane.comp.lang.haskell.xmonad/1790 here], Java's AWT code is broken when it comes to non-reparenting window managers, and they don't seem to be in a hurry to fix it (given that that's from 2007).  The above mentioned AWT_TOOLKIT=MToolkit trick works if you're using Sun's (non-free) Java 1.5, but otherwise you'll want to fool java into thinking that your window manager is LG3D, for which they've implemented some sort of fix.
     52In non-reparenting window managers (i.e. xmonad, awesome) you are likely to stumble across [http://article.gmane.org/gmane.comp.lang.haskell.xmonad/1790 this old bug] that's still in Java's AWT code.  The above mentioned AWT_TOOLKIT=MToolkit trick works around this bug if you're using Sun's (non-free) Java 1.5, but otherwise you'll want to fool java into thinking that your window manager is LG3D, for which they've implemented some sort of fix.
    5353
    5454For '''xmonad''', you can get it to lie for you [http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-SetWMName.html thus], as shown [http://github.com/htr/dotfiles/blob/352231b953126cafc234346b9e9a4fe88d500565/xmonad/xmonad.hs here].