Bug 179935

Summary: user specified notification command does not work
Product: [Unmaintained] kmail Reporter: Mark van Rossum <mark.vanrossum>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kollix, mail
Priority: NOR    
Version: 1.10.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark van Rossum 2009-01-07 19:27:55 UTC
Version:           1.10.3 (using 4.1.3 (KDE 4.1.3), 4.1.3-4.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.9-159_1.cubbi_tuxonice.fc10.i686

I would like to use 
/usr/bin/xrefresh -solid green
is my new mail notification. 

However it does not work.
It complains 
 file:///usr/bin/xrefresh%20-solid%20green: No such file or directory   

While if I put quotes around it reports
 /bin/sh: line 0: fg: no job control  
(!?)

Even making a script "greenflash" does not help it. 
It returns
/bin/sh: file:///home/vrossum/scripts/greenflash: No such file or directory

Worked fine in the old kmail version
Comment 1 George Kiagiadakis 2009-01-10 01:09:28 UTC
You select the command from Settings->configure notifications->Run command ? If so, I think this may not be a kmail bug, but a knotify one....
Comment 2 Mark van Rossum 2009-02-16 17:34:03 UTC
(In reply to comment #1)
> You select the command from Settings->configure notifications->Run command ? 
Yes.

> If so, I think this may not be a kmail bug, but a knotify one....
How to debug knotify?
Comment 3 Martin Koller 2009-08-23 17:56:39 UTC
Works in KDE 4.3
Comment 4 Mark van Rossum 2009-08-23 19:44:34 UTC
Yes, seems to work now.

THanks !