[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java Grey Windows/Blank Windows/Sun are stupid

Quoth Andrew Sackville-West:
> On Thu, Feb 07, 2008 at 04:34:37PM +0100, Александър Л. Димитров wrote:
> > 
> > AWT_TOOLKIT=MToolkit java SomeApp.class
> yeah, its annoying...

A little bit...
> > 
> > This is wrong, doesn't always work and has bad side effects. It's not working in
> > my case anyways.
> > 
> > There was another workaround which I remember having employed several times
> > successfully already - but I don't remember the details and after a frustrating
> > Google search it seems the instructions are nowhere to be found.
> > 
> > It involved sed -i'ing some obscure java-x-lib and removing xinerama extensions
> > and replacing them with something else, like a dummy parameter. But all this
> > relys on accurate information about how to do it and I don't know it. Maybe
> > those are really two unrelated things (one having to do with WM-names, the other
> > with Xinerama extensions being compiled into X libs..) but I think they were at
> > least connected. I have xinerama. I need it.
> > 
> > Does any one of you happen to remember how to resolve this
> > frustration of mine?
> I know it's three days later, but you're best bet is to go to #xmonad.

Yeah, they know that problem, but it seems to be non-trivial to get around it.
There is an XMonad extension that fakes the WM-name and thus makes things work
(can you imagine that? I'm a programmer... my guts *cringe* when I read about a
workaround *this* stupid - that's what you get taught in *every* CS class: don't
blow it up _that_ seriously!! -Environmental Descriptions- are not to be hardcoded!!). 
As it seems, this does cause segfaults for some people, however.

By the way, I've found out about that xinerama-thing. Well, it was something
else entirely, connected to xlib-segfaults when starting java apps. That was a
problem a while ago, they seem to have fixed it, though I remember it being
around for at least half a year...

It seems Sun is letting interns design their X-interface. Though I think interns
should actually perform better.


Attachment: signature.asc
Description: Digital signature

Reply to: