You are not logged in.
Hello everybody,
I'm facing a very annoying problem with my Xmonad. I'm developing a Java GUI application and it requires some data to be inserted by JTextField. Unfortunately I can't write anything in it, because the JTextField behaves like if it isn't editable. I then tried the same thing on Fluxbox and everything worked perfectly. Why doesn't XMonad allow me to insert words in the JTextField?
Offline
No, I didn't read this. I'm using jre7-openjdk. I decommented _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh, but the problem is still the same. Do I also have to write "setWMName="LG3D" in my xmonad.hs?
Offline
Try it out. Read the entire section. Note also what it says about XMonad.Hooks.EwmhDesktops.
You may also follow the link to the XMonad wiki page and try their suggestions.
Last edited by JackH79 (2012-06-08 12:19:55)
Offline
that hack was still present in my xmonad.hs and I didn't even know (lol)
myStartupHook = setDefaultCursor xC_left_ptr >> setWMName "LG3D"
Offline
I've found this , that should fix my problem, but I can't write code in Haskell so I can't understand which parts of this code should I copy in my xmonad.hs and where. Can someone let me understand?
Offline
First off: are you sure you need it? Secondly, what you found there in your link is an extension which should come with the xmonad-contrib package. You don't paste that into your xmonad.hs.This should give you an idea of what you need to do.
You should probably read up on XMonad in general though, to figure out how to configure xmonad properly. You don't need to be able to write haskell to do that. I don't myself. But the xmonad.hs is relatively straight forward and if you take some example xmonad.hs's from other users and actually follow through every linie they've got in there, it will become clear quite quickly what you have/can/should do with it.
Offline
fabrydrunk, have you solved your problem yet?
If not, take a look at this thread.
The idea is to downgrade to jdk6 or openjdk6.
Offline
Hi fabrydrunk,
This is a common problem discussed here. There seems to be a patch that solves the problem with jdk7 posted in comment 33. I never used it but it seems it works as said on the latest comments.
Offline