Possible workaround is to use incron instead of "Launch Application" feature. Something like this:
$ cat /etc/incron.d/screenshot /multimedia/photo/screenshots/ IN_CREATE /opt/bin/send-screenshot-wrapper.sh $@$#
Only problem with this workaround is environment. incron uses its own environment and commands like notify-send and xsel will not work without proper envitonment adjustments.
Possible workaround is to use incron instead of "Launch Application" feature.
Something like this:
$ cat /etc/incron. d/screenshot photo/screensho ts/ IN_CREATE /opt/bin/ send-screenshot -wrapper. sh $@$#
/multimedia/
Only problem with this workaround is environment. incron uses its own environment and commands like notify-send and xsel will not work without proper envitonment adjustments.