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

Brandon Allbery allbery.b at gmail.com
Thu May 2 16:05:10 CEST 2013


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/5d8acbd4/attachment.htm>


More information about the xmonad mailing list