You are not logged in.
Hello,
I'm currently running awesome-git, and having trouble with Java Swing applications. The application I am attempting to use is called Freemind. When I attempt to open a menu, combobox, etc using a mouse click, the dialog immediately disappears. Using the keyboard shortcuts (e.g. alt + f) to open the menu, however, seems to work okay.
I found a lot of information about solving various Awesome/Java issues and tried out several different fixes including disguising the window manager name, but so far none have worked. I also tested Freemind in Gnome Shell to make sure it wasn't an application issue and there were no problems there.
System info:
Awesome 3.5 (2012-12-31, AUR: awesome-git)
Freemind 1.0.0 (beta 9, AUR: freemind-unstable )
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)Any suggestions?
Thanks,
Keith
Last edited by hughitt1 (2013-01-03 00:43:43)
Keith
dotfiles
Offline
You said you tried masking the WM name, but didn't mention the exact method. I suggest installing wmname and adding this to the end of rc.lua:
awful.util.spawn_with_shell("wmname LG3D")I haven't used freemind, but this works for me with MATLAB and LibreOffice in awesome 3.5.
Last edited by tdy (2013-01-02 20:46:13)
Offline
I've put wmname LG3D& and then exec awesome and it works that way also in .xinitrc.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
actually this way doesn't work for me, so I'm curious which methods the OP has already tried
Offline
Hi tdy,
Including it at the end of rc.lua works!
So for not explaining things better before (It's been a couple weeks since I tried fixing this). I believe the approaches I tried were:
1) the "old" fix (AWT_TOOLKIT=MToolkit freemind-unstable)
2) and also calling "wmname LG3D" before running freemind -- I checked to make sure the setting took effect (calling wmname without any arguments) and since it returned "LG3D", I assumed that calling it in rc.lua or .xinitrc would not have worked any better. I was wrong ![]()
Thanks for the help!
Keith
Keith
dotfiles
Offline
2) and also calling "wmname LG3D" before running freemind
Just out of curiosity (and future reference), I'm assuming you did this from the shell? Did you then launch freemind from the same shell, or did you use the awesome launcher?
I also tried things like this, and it actually DID work for me when I manually called "wmname LG3D" and then ran matlab from the same shell.
Offline
I tested it again just now and calling "wmname LG3D" and then executing Freemind in the same console *does* work. I thought that that is what I had tested in the past and it had not worked, but I must have been careless and tried launching it from dmenu or something like that.
For reference, I also tried including "wmname LG3D && exec awesome" in my .Xclients file, but that did not work.
Thanks again for the help!
Keith
dotfiles
Offline