[Xmonad] KDE_NET_SYSTEM_TRAY_WINDOWS root window property

Spencer Janssen sjanssen at cse.unl.edu
Thu Nov 1 05:58:03 EDT 2007

On Thursday 01 November 2007 01:17:25 Roman Dubtsov wrote:
> Hi,
> I'm writing a standalone tray app (stalonetray) and recently I got an
> e-mail from the user asking why stalonetray does not support KDE icons
> under Xmonad WM.
> After grepping through the sources I have found that Xmonad does not
> keep list of KDE icons in KDE_NET_SYSTEM_TRAY_WINDOWS root window
> property as expected by stalonetray. As a fallback method (in case
> this property does not exist), stalonetray tries to react on MapNotify
> events from root window to track KDE icons. However, under Xmonad,
> stalonetray never receives such notifies.
> So, I have two questions:
> 1. I have no Haskel experience, so could someone clarify: is it
> possible to change Configure.hs so that KDE icons list is kept in
> KDE_NET_SYSTEM_TRAY_WINDOWS root window property?

Yes, this seems possible.  We have a thing called 'manageHook' that is
executed for every new window.  We just need an interested user/hacker to
write the code :).

> 2. Why does not my app receive MapNotifies from root window? Is there
> a error at my end?

I'm not sure what might be going wrong.  Due to its minimalism, xmonad does
things quite differently from most mainstream window managers.  Do you have a
list of window managers that support this fallback method (ion3, wmii, or dwm

Spencer Janssen

More information about the Xmonad mailing list