How to get notified when screenshots are taken?

Hi,
I use third-party softwares but like to get notified when screenshots, if any, are taken.
Any hints on how to achieve it?
Thanks,
Riku

Linux 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 14.04.3 LTS

Did you consider writing a wrapper script around the software?

1 Like

Also, try using a clipboard manager. Some support an action to notify when the contents of the clipboard have changed. Some are listed here: 10 Best Clipboard Managers for Linux

1 Like

No, I did not. It's for softwares which are not supposed to take screenshots.

That's an idea. I will dig in this direction.

Thank you both for your answers.

---------- Post updated 05-16-18 at 12:39 PM ---------- Previous update was 05-15-18 at 04:32 PM ----------

Not all screenshots end in the clipboard.

Finally, I ended up installing auditd. Perfect for what I need.