Re: [xmonad] startupHook setWMName and ewmhDesktops

Spencer, First of all, as one could guess, you were right.
, startupHook = ewmhDesktopsStartup >> setWMName "LG3D" does work. I've confirmed it by running the following: ID=`xprop -root _NET_SUPPORTING_WM_CHECK|grep -o '0x\w*$'` xprop -id $ID _NET_WM_NAME|grep -o 'x\w\w'|while read v; do echo -ne "\\$v"; done; echo
I was fooled by the java app I was testing that doesn't work even with LG3D workaround. But ALL other java apps I've tested today work with this startup hook (and I'm testing many this time). The buggy app is a java web start at miglayout.com. If you want run it go to the site or:
javaws http://www.migcalendar.com/miglayout/swingcallbackdemoapp.jnlp The tricky thing was that it worked most of the time with setWMName alone, but not when with ewmh. Today I could not get a consistent behavior with it.
Anyway, I've attached my entire xmonad.hs as requested.
My xmonad is darcs lasted (pulled today), ghc 6.10.4
And I use it with Xfce 4.6.1 on Arch 2.6.31 i686.
Sorry for not doing extensive testing before complaining.
Henrique G. Abreu
On Fri, Oct 30, 2009 at 02:28, Spencer Janssen
On Fri, Oct 30, 2009 at 01:23:13AM -0200, Henrique G. Abreu wrote:
Sorry for not being clear at the first time.
If I use startupHook like this: , startupHook = setWMName "LG3D" Java apps work normally, but if I set it like proposed: , startupHook = ewmhDesktopsStartup >> setWMName "LG3D" and attempt to run java apps, I get the "grey blobs" instead of app window, just as if not using setWMName workaround.
Henrique G. Abreu
I'd like to see your entire xmonad.hs.
participants (1)
-
Henrique G. Abreu