[xmonad] Can't get Urgency Hook to work
henri.ducrocq at gmail.com
Fri Feb 13 19:08:26 EST 2009
Oh, I didn't realise the hook was only used for windows on different
workspaces... It does work perfectly indeed, thanks!
I just used it to invoke a python script showing a native Gnome notification
with a "Go to window" button, next I'll try porting that script to Haskell.
2009/2/13 Jeremy O'Brien <obrien654j at gmail.com>
> On Wed, Feb 11, 2009 at 02:13:09AM +0000, Henri Ducrocq wrote:
> > Here is the relevant bit from my xmonad.hs:
> > main = xmonad
> > $ withUrgencyHook dzenUrgencyHook
> > $ gnomeConfig
> > When I echo a bell character from xterm, the corresponding button in my
> > "task bar" flashes, however nothing else happens. dzen2 seems to be
> > ok, and I see nothing in .xsession-errors.
> > I read all of the doc for UrgencyHook, played with SpawnUrgencyHook as
> > I can't see what I'm doing wrong...
> > Could it be that the task bar catches the event and prevents it from
> > dispatched to xmonad?
> > Or what?
> When you echo the bell, are you making sure that you are not on the same
> workspace as the terminal you are belling from? To test, do a
> sleep 2; echo -e '\a'
> ,then immediately switch workspaces. Does it work then?
> Jeremy O'Brien aka neutral_insomniac
> GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc<http://pohl.ececs.uc.edu/%7Ejeremy/jeremy.asc>
> Linux euclid 2.6.28-ARCH #1 Zilog(R) Z80
> processor 4MHz GNU/Linux
> xmonad mailing list
> xmonad at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xmonad