[Users] The notification plugin's "command to execute" command is not executed

mahlamytsike at gmail.com mahlamytsike at gmail.com
Wed Dec 14 12:34:31 UTC 2022


Hi !

Can't get it to work.

Entering the command

/usr/bin/pkill -SIGUSR2 -f libmailwatch

or 

/usr/bin/notify-send "Test !"

to

Configuration → Preferences → Mail handling → Receiving → Run command

or

Configuration → Preferences → Plugins → Notification → Command

does not give any result. Copying it to the terminal command line will work.

What I'am doing wrong ?

On Mon, 5 Dec 2022 10:37:42 -0000
Paul <paul at claws-mail.org> wrote:

> On Sun, 4 Dec 2022 19:29:55 +0200
> mahlamytsike at gmail.com wrote: 
> 
> > How can I get this "pkill -SIGUSR2 -f libmailwatch" executed at new
> > mail arrival ? This command works when executed on terminal by
> > regular user. Tried as well command "notify-send 'Test !'". Tried
> > with and without "Only include selected folders". No any effect.  
> 
> You don't need the notification plugin for this.
> 
> Go to /Configuration/Preferences/Mail Handling/Receiving, then use the
> command in the After Receiving New Mail / Run Command frame.
> 
> with regards
> 
> Paul
> 


More information about the Users mailing list