Torsten A. schrieb:
Thank you everyone for your answers.

"compiz" and "LG3D_WM" both solved the problem. I tried random names but
nothing particular. Those two did it.

Thank you very much! I appreciate the fast help!

Cheers,
    Torsten

-----Ursprüngliche Nachricht-----
Von: DUFLOT Jean-Luc [mailto:[email protected]]
Gesendet: Montag, 13. April 2009 20:57
Cc: [email protected]
Betreff: Re: Java Apps (thinking rock)

Gregor Best a écrit :
> At Mon, 13 Apr 2009 19:42:36 +0200
> Torsten A. wrote:
>
>> Hi everyone,
>>
>> I'm kind'a new to awesome but I already love it! Though I have a little
>> problem concerning java applications.
>>
>> The man page states one should try to use JRE 1.4 or set an environment
>> variable. I've tried both versions but still I only get a greyish/
whitish
>> window when running thinking rock [1], an application written in Java.
It
>> seems that the window elements are loaded successfully, since I get to
open
>> a dialogbox, though the whole window stays grey/ white.
>>
>> I also tried to use wmname as suggested in [2] and set the window name
to
>> some random name, but, again, no luck.
>>
>> Can someone tell me how to get TR to start properly. Also the app
doesn't
>> start using the whole screen, but only a part of it. I'd prefer tr to
start
>> maximized.
>>
>> Can someone please help me out? Am I doing anything wrong? I use Debian
>> Squeeze and used the awesome deb package (v3.2.1).
>>
>> Thanks for your help!
>>
>> Cheers,
>>     Torsten
>>
>>
>>
>>
>> [1] http://www.trgtd.com.au/
>> [2] http://www.mail-archive.com/[email protected]/msg00244.html
>>
>>
>>
>
> Which names did you try? AFAIR, "compiz" was a sure bet.
>

I had installed freemind, another java application, and it did not start
properly : grey background and little window. I discovered that the deb
package did not install its own openjdk-6-jre dependency... After
installing it, it worked fine. You may verify all dependencies are
installed.

I did not try freemind since the awesome 3.2 upgrade, and I just saw
that freemind does the same thing (grey background and little window). I
try it with KDE, it works perfectly, and going back to awesome, it works
now well...
I hope that helps...

Jean-Luc Duflot

--
To unsubscribe, send mail to [email protected].


I just ran into the problem of grey java applications again. I tried what worked before but this didn't solve the problem this time. Now that I knew what I was looking for, I searched the web and found this site [1] saying:

To get past the problem of java programs showing up as grey squares on your screen when you are using a non-standard window manager, simply prefix the program name or "java -jar ..." with "AWT_TOOLKIT=MToolkit"

AWT_TOOLKIT=MToolkit webscarab

Maybe this can be added to the man page/ the wiki or where ever this is stored.

Cheers,
Torsten

[1] http://codesnippets.joyent.com/posts/show/1499

--
To unsubscribe, send mail to [email protected].

Reply via email to