Article 55YKR How can I monitor changes in a screen (virtual desktop)?

How can I monitor changes in a screen (virtual desktop)?

by
lucmove
from LinuxQuestions.org on (#55YKR)
I need to keep a tight watch on a certain application and detect specific changes in its screen while I'm usually busy doing something else.

So I thought about regularly capturing screenshots of it, comparing them and detecting changes then running a command. I think I have read something somewhere about software that compares images and detects changes for use in camera surveillance. So I need to find such software, but also overcome two obstacles:

1) I am running Linux and I have the target window open on virtual desktop 2 while I work on virtual desktop 1. This is on Openbox. I don't know how to capture a screenshot on one specific virtual desktop.

2) Changes happen in two parts of the screen. One of them must be monitored while the other is noise and must be ignored. I don't know how to approach that problem, although I do have a clue: using ImageMagick to crop the images and cut the unwanted part out.

Can someone please share ideas so I can achieve this?

TIAlatest?d=yIl2AUoC8zA latest?i=xqYGLRofsvo:CT1VZtrh2pg:F7zBnMy latest?i=xqYGLRofsvo:CT1VZtrh2pg:V_sGLiP latest?d=qj6IDK7rITs latest?i=xqYGLRofsvo:CT1VZtrh2pg:gIN9vFwxqYGLRofsvo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments