Hi, The patch works here but doesn't play well with xmonad log monitor applet for gnome-panel (http://uhsure.com/xmonad-log-applet.html). anyone got the same problem? My xmonad log monitor just always shows 'waiting xmonad ..' after xmonad startup. Thanks, Jan On Fri, Sep 18, 2009 at 7:51 AM, Adam Vogt <vogt.adam@gmail.com> wrote:
* 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 _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Fly on wheels.