[xmonad] Using EwmhDesktops with IntelliJ (or maybe any Java Swing app?)

Brett Hoerner brett at bretthoerner.com
Thu May 2 17:08:45 CEST 2013


Thank you, I had most of those but the trick seems to be making sure you
set your WM to LG3D *after* ewmh does it's thing. At least that seems to
help.

Now I just have to find out how to merge that hack with some other
configuration I wanted (off to Haskell docs). :)


On Thu, May 2, 2013 at 9:05 AM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Thu, May 2, 2013 at 9:54 AM, Brett Hoerner <brett at bretthoerner.com>wrote:
>
>> 1)
>>   myConfig = ewmh defaultConfig [...snip...]
>>   With this, I get normal desktop hints such as opening links will focus
>> my browser, apps like Shutter that take full screen images work, etc.
>> However, if I launch IntelliJ it opens as plain background and never
>> "loads" any of the UI. If I Mod+Shift+C it, the exit dialogue does popup,
>> so it is running and does respond to something.
>>
>> 2)
>>   myConfig = defaultConfig [...snip...]
>>   Without ewmh, I don't get browser focus, Shutter can't take desktop
>> screenshots, but IntelliJ works flawlessly.
>>
>> Does anyone have a fix for this, even a hack? Maybe some way to run ewmh
>> but blacklist IntelliJ "out" of it?
>>
>
> Supporting EWMH for only some programs is like being a little bit
> pregnant. It's global settings, not per window or per application.
>
> That said, you might want to look at
> http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_consoleand in particular
> http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Using_SetWMName_with_EwmhDesktopsto see how to make Java almost behave sanely.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130502/9ac09b3d/attachment.htm>


More information about the xmonad mailing list