[xmonad] xmonad from gnome-session-2.26

Adam Vogt vogt.adam at gmail.com
Thu Sep 17 19:51:10 EDT 2009


* On Thursday, September 17 2009, rupa wrote:

>I was able to get this working, and the (noticeable) timeout has gone,
>after some help in IRC. The problem was that the rawSystem call was
>blocking. The following did the trick:
...
>            forkIO $ (>> return ()) $ rawSystem "dbus-send"
>["--session","--print-reply=string","--dest=org.gnome.SessionManager","/org/gnome/SessionManager","org.gnome.SessionManager.RegisterClient","string:xmonad","string:"++id]
>            return ()
>        Nothing -> return ()

I've pushed a contrib patch adding this function as
XMonad.Config.Gnome.gnomeRegister


More information about the xmonad mailing list