Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use dwm Windows Manager, everything is fine (1mb ram ;) but when I run netbeans it load but with a grey and empty interface. (it works fine in Unity or E17 )

Any Idea ?

I have found out this http://netbeans.org/bugzilla/show_bug.cgi?id=86253 but the solutions proposed doesn't work for me

share|improve this question
    
Did you mean 1 GB of RAM? – Sly Oct 2 '12 at 5:23
    
I mean dwm consumes 1mb of ram – Francesco Oct 3 '12 at 5:42
    
Ah. Got'cha. I thought you meant altogether for your system. – Sly Oct 3 '12 at 11:05
up vote 4 down vote accepted

Perhaps your issue is the same as this xmonad issue?

http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console

The Java gui toolkit has a hardcoded list of so-called "non-reparenting" window managers. xmonad is not on this list (nor are many of the newer window managers). Attempts to run Java applications may result in `grey blobs' where windows should be, as the Java gui code gets confused.

A solution is to export _JAVA_AWT_WM_NONREPARENTING=1.

Edit: According to https://wiki.archlinux.org/index.php/Dwm#Fixing_misbehaving_Java_applications, you can also use "wmname LG3D" to hack the window manager's name.

share|improve this answer
    
thank you: this fixed the issue wmname LG3D – Francesco Sep 28 '12 at 14:34
    
Thanks, and I was about to think the window manager I'm working on is broken. – weltensturm Sep 21 '15 at 18:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .