Re: [dev] [dwm] Need help about gray windows of Java applications

From: Enan Ajmain <3nan.ajmain_AT_gmail.com>
Date: Tue, 14 May 2019 16:37:57 +0600

Thanks. It worked.

I've added `wmname LG3D` in xinitrc, but it doesn't work for some
reason. But I invoked in manually from bash before launching logisim
and it worked fine. I don't care about xinitrc, because I would have
liked to use this method only for that one application only anyway.

I have checked the page for wmname in suckless.org and found this
method listed there. Would you mind explaining what LG3D is and why
this was chosen as opposed to anything else? And one more thing, if I
invoke `wmname LG3D` from one bash instance, it would not manipulate
the other windows, right? I mean, the other windows I open are not
gonna have wmname property of LG3D, only the logisim window (launched
from the bash instance where `wmname LG3D` was invoked) would get that
property, right?

Thanks again for your help,
Enan Ajmain

On Sun, May 12, 2019 at 7:29 PM Przemek Dragańczuk
<mailing-list_AT_draganczuk.tk> wrote:
>
> In the terminal, as part of your shell's RC file (.bashrc,
> .zshrc etc.) or in .xinitrc. I have it in a startup script that
> is executed from .xinitrc when dwm starts.
> On 12/05/19 06:13, Enan Ajmain wrote:
> > Where do I run `wmname LG3D`?
> >
> > On Sun, May 12, 2019 at 4:41 PM Przemek DragaDczuk
> > <mailing-list_AT_draganczuk.tk> wrote:
> > >
> > > Running `wmname LG3D` should help with that. I've had similar issue and
> > > that fixed it for me.
> > > On 12/05/19 03:09, Enan Ajmain wrote:
> > > > Hi,
> > > >
> > > > I need to use logisim, a tool for designing and simulating logic
> > > > circuits. But the problem is that logisim is built in Java, and due to
> > > > well-known issue in Java it doesn't launch properly in dwm. I just
> > > > installed xfce4 and checked that logisim works perfectly fine with it.
> > > > After moving around in xfce4 for an hour and due to previous usage,
> > > > I'm thinking of switching back to xfce. I wouldn't even think about it
> > > > if it was not so difficult to install xfce from source.
> > > >
> > > > Anyway, I'd like to keep using dwm, but it doesn't lauch the
> > > > previously mentioned tool because it was built in Java. I have tried
> > > > the following solution suggested by ArchWiki, but it doesn't work for
> > > > logisim. If anyone else has any idea, please let me know.
> > > >
> > > > ```
> > > > export _JAVA_AWT_WM_NONREPARENTING=1
> > > > ```
> > > >
> > > > Thanks,
> > > > Enan Ajmain
> > > >
> > >
> > > Sent via Migadu.com, world's easiest email hosting
> > >
> >
>
> Sent via Migadu.com, world's easiest email hosting
>
Received on Tue May 14 2019 - 12:37:57 CEST

This archive was generated by hypermail 2.3.0 : Tue May 14 2019 - 12:48:09 CEST