Hello Matthias, For a cleaner approach, just put that command into a shell script.
Lets say kopete_events.sh: #!/bin/bash /usr/bin/wmu 1 `/usr/bin/xwininfo -int -name "Kopete"|egrep "Window\ id:"|cut -d' ' -f4` Assuming that you installed "wmu" in /usr/bin Make kopete_events.sh executable. Then, in Kopete, under "Configure Notifications" you can set "Execute a program" when "An incoming message has been received". Also make sure you "Enable events for active chat windows" in "Settings>Behaviour>Events". Veselin On Tue, Nov 04, 2008 at 11:43:41AM +0100, Matthias Kirschner wrote: > Hi Veselin, > > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-11-04 10:17:51 +0000]: > > > I've set Kopete to execute: > > > > wmu 1 `xwininfo -int -name "Kopete"|egrep "Window\ id:"|cut -d' ' -f4` > > > > upon new messages. > > I am also using kopete under dwm but never did anything with > notifications. > > So you installed wmu [1] and add the above line in kopete notifications. > > Anything else in the dwm config? How are you than notified. > > Thanks, > Matthias > > 1. http://www.redrum.cz/hg/wmu > -- > Deputy German Coordinator, Fellowship Coordinator > Free Software Foundation Europe (FSFE) [] (http://fsfeurope.org) > Join the Fellowship of FSFE! [][][] (http://fsfe.org/join) > Your donation powers our work! || (http://fsfeurope.org/donate)
