[arch-general] xmonad and java environment
Hi all, I've installed openproj from AUR and met the following issue: the program runs, but the main GUI window is blank (no buttons, menus - nothing), although the dialog windows appear normal. I don't have much experience with java, and tried both jre and openjdk6 - with the same result. Then I tried to run openproj without any window manager, and it worked! I noticed that openjdk6 warns: when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/openjdk6.sh So the setting of that env. variable indeed helps with openjdk6, but not with jre. Any advices? Thanks, Sergey
On Fri, Sep 25, 2009 at 04:34:57PM -0600, Sergey Manucharian wrote:
Hi all,
I've installed openproj from AUR and met the following issue: the program runs, but the main GUI window is blank (no buttons, menus - nothing), although the dialog windows appear normal. I don't have much experience with java, and tried both jre and openjdk6 - with the same result. Then I tried to run openproj without any window manager, and it worked! I noticed that openjdk6 warns: when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/openjdk6.sh So the setting of that env. variable indeed helps with openjdk6, but not with jre.
Any advices?
Use openjdk6 or make XMonad lie about its identity: http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problem... Am I the only one who thinks hardcoding a list of WMs is abhorrent design?
On Sat, 26 Sep 2009 00:46:25 +0200 Henning Garus <henning.garus@googlemail.com> wrote:
... Use openjdk6 or make XMonad lie about its identity:
http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problem... ...
Thank you, Henning and Pascal, for the pointing the right direction! Cheers, Sergey
On Sat, 26 Sep 2009 00:46:25 +0200 Henning Garus <henning.garus@googlemail.com> wrote:
On Fri, Sep 25, 2009 at 04:34:57PM -0600, Sergey Manucharian wrote:
Hi all,
I've installed openproj from AUR and met the following issue: the program runs, but the main GUI window is blank (no buttons, menus - nothing), although the dialog windows appear normal. I don't have much experience with java, and tried both jre and openjdk6 - with the same result. Then I tried to run openproj without any window manager, and it worked! I noticed that openjdk6 warns: when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/openjdk6.sh So the setting of that env. variable indeed helps with openjdk6, but not with jre.
Any advices?
Use openjdk6 or make XMonad lie about its identity:
http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problem...
Am I the only one who thinks hardcoding a list of WMs is abhorrent design?
You're the only one who thinks he's the only one :P
Le Fri, 25 Sep 2009 16:34:57 -0600 Sergey Manucharian <sergeym@rmico.com> a écrit:
Hi all,
I've installed openproj from AUR and met the following issue: the program runs, but the main GUI window is blank (no buttons, menus - nothing), although the dialog windows appear normal. I don't have much experience with java, and tried both jre and openjdk6 - with the same result. Then I tried to run openproj without any window manager, and it worked! I noticed that openjdk6 warns: when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/openjdk6.sh So the setting of that env. variable indeed helps with openjdk6, but not with jre.
Any advices?
Thanks, Sergey
Setting up a startup hook with startupHook = setWMName "LG3D" should help, see http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problem...
participants (4)
-
Bojan Matic
-
Henning Garus
-
pascal
-
Sergey Manucharian