How to un-break graphical Java apps under Ratpoison

Many graphical Java apps will hang with a blank grey screen when started under Ratpoison and other non-reparenting window managers.

The workaround for this appalling brokenness is a very simple one, yet it took me three days of frustrated search – so I ought to post it:

  1. Install wmname.
  2. Spoof your window manager’s name string:
    wmname LG3D
  3. Use Java app, which now works.
This entry was written by Stanislav , posted on Tuesday June 15 2010 , filed under Cold Air, NonLoper . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

13 Responses to “How to un-break graphical Java apps under Ratpoison”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">