Doh! I'm really starting to like using the Awesome window manager, but I've just now realized that jEdit doesn't work with it. I read some solutions involving this:
This workaround makes it happen:
export AWT_TOOLKIT=MToolkitAlas, that's crashing the JRE for me:
# A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fa29802f63f, pid=1622, tid=140336298363216 # # JRE version: 6.0_14-b08 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 ) # Problematic frame: # C [libc.so.6+0x3063f] catgets+0x1f # # An error report file with more information is saved as: # /home/user/hs_err_pid1622.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug.
This workaround makes it happen:
apt-get install ia32-sun-java6-binand then I put this in /usr/bin/jedit:
export JAVA_HOME=/usr/lib/jvm/ia32-java-6-sun/jre/ export AWT_TOOLKIT=MToolkit
There is an easier and more robust solution: use wmname. See my post: http://brunovernay.blogspot.com/2009/07/java-gui-application-in-awesome-window.html and the Awesome site: http://awesome.naquadah.org/wiki/Problems_with_Java
Bruno, you are a lifesaver! Thank you for posting this workaround on my blog:
http://www.informedcoding.com/blog/2009/07/awesome-wm-java-guis.html
The ia32 / MToolkit workaround was still a little buggy on my AMD64 system. Yours is working like a charm. Thanks again.
Unfortunately, I'm still having problems with the search and replace dialog. It opens and runs fine, but when I close it, Awesome still thinks its open.
Its quite strange actually. I've turned on titlebars for it, and when I close the search and replace dialog, the titlebar remains. Doh! I'm not even able to click the X to close it.
I've had to revert back to the ia32 libs and MToolkit solution. That works fine with the search and replace dialog.