You are not logged in.

#1 2012-07-01 22:58:58

mindglowba7fb830d2cbbed73
Member
Registered: 2011-04-10
Posts: 26

Mcabber notification trouble

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.

Any suggestions?

Offline

#2 2012-07-02 00:17:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Mcabber notification trouble

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)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB