I am using Mcabber for the Facebook chat and it is working well. The problem is that I want to have some sort of notification when someone sends me a message since I don't usually sit and stare into the mcabber window all day.
I have read several guides online on how to perform this but I can't get it to work.
I have this line in ~/.mcabber/mcabberrc
set events_command = ~/.mcabber/eventcmd
and my ~/.mcabber/eventcmd
#!/bin/bash if [ "$2" == IN ]; then notify-send FACEBOOK fi
I have tried to make the eventcmd as simple as possible for testing purposes but this configuration is not working at all. The notify-send command works if I try it in bash.
I don't use mcabber, but some simple troubleshooting steps would be:
1) remove the conditional from the eventcmd script and see if it works
2) call the eventcmd script from the command line and see if it works (you did make it executable, right?)
Last edited by Trilby (2012-07-02 00:17:43)